Posts

Showing posts from April, 2015

Create CentOS 6 Local package and Group package Repository

Image
Create CentOS 6 Local package and Group package Repository. Prerequisites: > CentOS 6 .iso file or DVD. > Installed CentOS 6.5 / 6.6 x86_64 server with minimum 40 GB free disk space on / partition. > Make sure Internet is enabled on Linux server to download and install few packages. Steps to create Local package repository:  > Copy CentOS 6.5 .iso file in Linux Centos 6 x86_64 server on / partition. > Mount CentOS 6.5 .iso file ( CentOS-6.5-x86_64-bin-DVD1.iso ) to /mnt directory Command: # mount -t iso9660 -o loop /CentOS-6.5-x86_64-bin-DVD1.iso /mnt  > Install HTTP service on Linux server. Command: # yum install httpd > Start HTTP service . Command: # service httpd restart > Create Directory centos65 in /var/www/html/  Command: # mkdir /var/www/html/centos65 >  Go to /mnt/Packages directory Command: # cd /mnt/Packages > Copy all the files from Packages directory to /var/www/html/centos65/ directory. Comman