Quote:
Originally Posted by arun5002
server side
cd /etc/yum.repos.d
mv C* /tmp
cat > create.repo
[rhel-server]
name=redhat
baseurl=ftp://10.200.xx.xx/pub/server ---- put ur server side ipaddress
enabled=1
gpgcheck=0
mount /dev/cdrom /mnt
mkdir -p /var/pub/server
cd /mnt/Centos
cp -rfv * /var/pub/server
wait for it to finished it off
move all repositoryrpm to /var/pub/server
cd /var/pub/server
rpm -ivh create.repo --install these package
rpm -ivh vsftpd ---install these package
createrepo -g /var/pub/server
start vsftpd service
service vsftpd restart
chkconfig vsftpd on
client side
cd /etc/yum.repos.d
touch create.repo
vi create.repo
[rhel-server]
name=redhat
baseurl=ftp://10.200.xx.xx/pub/server MENTION UR SERVER IP HERE
enabled=1
gpgcheck=0
|
Thank you for your kind response.
But I am not in a SERVER-CLIENT environment.
I am using RHEL6 Server Edition on my Home PC.. for learning RHCSA...
I installed RHEL6 Server on my Desktop PC.. I don't have RHN subscription..
I used ISOtoUSB for installation from USB Drive...
After Installation I was unable to run commands like
"yum install gnome"
It says like "package not available....
Also I am not able to "Add/Remove programs" from the graphical utility...
It says like "No Group List"
After googling... I done the following steps carefully...
mkdir /yumrepo
copied RHEL 6 DVD contents to /yumrepo/rhel6
createrepo /yumrepo/rhel6/Packages
createrepo -g xxxxxxxxxxxxxxxx-comps-rhel6-server.xml /yumrepo/rhel6/Packages
created a repository file under /etc/yum.repos.d/
[rhel6_64]
name=Red Hat Enterprise Linux
failovermethod=priority
baseurl=file:///yumrepo/rhel6/Packages
enabled=1
metadata_expire=0d
gpgcheck=0
But still yum install and "Add/Remove programs" not working...
But in my classroom lab... those things work...
But in my home PC.. .all I get it errorrrrrrrrrrr