Wednesday, September 12, 2012

How to create a repo file and also make it as ftp,nfs,http server


How to create a repo file and also make it as ftp,nfs,http server

how to create a repository file then click here
after creating a repo file
then download the packages of vsftpd,nfs,httpd
#yum install vsftpd
#yum install nfs
#yum install httpd
after this go to
#vim /etc/exports
/var/ftp/pub *(ro,sync)
:wq!
Then asigin a static ip to your system from here
#system-config-network






























Then save
#cd /var/www/html
#ln -s ../../var/ftp/pub/
here we will create a link file for pub and html
here after this start all the services
#service nfs restart
#service vsftpd restart
#service httpd restart
then go to the browser and type your ip
like this
here you can see all the dump of rhel dvd in the browser
then go to browser and type
here you can see all the dump of the dvd in the browser


No comments:

Post a Comment