I am new to Linux and this is my first post in the forum. I have practiced the yum commands like install, update, etc. Now I am trying to set up a yum repository on my CentOS 6.3 x86_64.
I am following the link:
I created /var/www/html/centos/6/os/x86_64 and /var/www/html/centos/6/update/x86_64/
Copied the rpms to /var/www/html/centos/6/os/x86_64
Ran createrepo /var/www/html/centos/6/os/x86_64 and got the gz files created inside /var/www/html/centos/6/os/x86_64
The next step I am supposed to do is rsync. Different sites give different url for this command:
/usr/bin/rsync -iavrt rsync://mirrors.kernel.org/centos/5.2/updates/i386/
/usr/bin/rsync -avrt rsync://ftp.riken.jp/centos/4/updates/i386 --exclude=debug/
What URL should I use for rsync?
Also, How to make sure that I am now using the local repository or Cent OS repository.
I typed #yum repolist but couldn't make out much from that.
Please pardon me if I had asked silly questions, but please do reply.