How to setup the local repository of yum utility
mkdir /myrep
cp -iv /dvd/**/package /myrep
rm -rf /etc/yum.repos.d/
vim /etc/yum.repos.d/myown.repo
[mine]
name=mine
baseurl=file:///myrepo
gpgchec=0
vi /etc/yum.conf
gpgcheck=0 is a must here
cd /myrepo
rpm -ivh deltarpm-
rpm -ivh python-delatrpm-
rpm -ivh createrepo-
cp /dvd/(/disc/**/*/*server.xml /root/Desktop
createrepo -vg /root/Desktop/*-server.xml
yum install portmap nfs-utilities
rpm -q portmap nfs nfs-utils
chkconfig nfs on
chkconfig --list nfs
mkdir /nfs-share
nano /etc/exports
/nfs-share *(ro,sync)
exportfs -a
service nfs start
nano /etc/sysconfig/nfs
locked_tcpport=
locked_udpport=
mounted_port=
stated_port=
system-config-securitylevel
showmount -e
log on to another server and mkdir /public-nfs
mount -t nfs nfsserver:/nfs-share /public-nfs/