Does the CentOS DVD contains all available packages?
Hi all,
My CentOS server isn't connected to the internet, so I'd like to set up a local yum repository by copying all the packages from the CentOS DVD. But does the CentOS DVD contains all the currently available packages? I.e. when i execute Code:
yum install mysql mysql-server Thank you! |
The DVD's mostly contain all the common packages.
As you're trying to install mysql, it may have the packages. |
This shows how https://code.google.com/p/iredmail/w...Yum_Repository
|
The 2-DVD set includes all the basic stuff and mysql is on the first disk. Edit
/etc/yum.repos.d/CentOS-Media.repo and set enabled=1 to use it. |
As per my link above, that's 'enabled=1', honest :)
|
yes you can make your own repository via ftp services and you can install this package also...
first mount your cd #mount /dev/cdrom /mnt #cd /mnt/CentOS #rpm -ivh createrepo* #rpm -ivh vsftpd* #service vsftpd restart #chkconfig vsftpd on then copy all packages to your ftp defaults location #cp -rv /mnt/CentOS /var/ftp/pub/ then go to the packages location #cd /var/ftp/pub/CentOS/ type command to create repository database #createrepo . then configure yum.repo file vim /etc/yum.repos.d/yum.repo [yum] name=yumserver baseurl=ftp://"type your server ip"/pub/CentOS enabled=1 gpgcheck=0 |
This is my step-by-step instructions for creating local repo from my notes. hope its helpful.
Code:
First. Install necessary packages (ftp server and createrepo) vsftpd: vsftpd*.rpm createrepo: deltarpm*.rpm python-deltarpm*.rpm createrepo*.rpm |
A couple of points.
1. The CentOS live disk does not contain (as far as I know) server software. The website states that it's for setting up a workstation, rescue, or starting a net install. 2. If you have the full version of CentOS (2 DVD set), you don't need to create repo data as suggested in posts 6 and 7. It's already done for you when you install. |
All times are GMT -5. The time now is 11:55 AM. |