This video explains about the basic DNS configuration in Red Hat Enterprise Linux 6.
Monday, January 30, 2012
DNS works good in Red Hat Enterprise Linux 6
This video explains about the basic DNS configuration in Red Hat Enterprise Linux 6.
Posted by PNA Prasanna at 4:10 AM 0 comments
Labels: RHEL6
Saturday, January 21, 2012
YUM Server Configuration in RHEL 6 (Yellow Dog Updater Modified) FTP Method
Server side configuration:
Step 1:
Install createrepo.rpm from the DVD for creating repository.
#rpm -ivh createrepo.rpm (Install the dependencies first, if any [eg:deltarpm, python-deltarpm])
#rpm -ivh vsftpd.rpm (for FTP server)
Step 2:
Copy all rpms form the DVD and past over the hard disk share them up in NFS.
#createrepo /path-to-rpms
eg:#createrepo /var/ftp/pub
It will take several minutes that depends upon the number of rpms that you have copied from the DVD specified and the configuration of yourmachine.
Step 3:
#service vsftpd restart
Touch the following file with the contents specified.
#vim /etc/yum.repos.d/somename.repo
[base]
name=friendly name
baseurl=ftp://192.168.0.254/pub/ (Give the ipaddress of the YUM server)
enabled=1
gpgcheck=0
Step 4:
Use the yum server in the same machine because server is the first client of the same service most of the times the following command is used for install gcc compiler
#yum install gcc
Client side configuration:
Touch the following file with the contents specified.
#vim /etc/yum.repos.d/somename.repo
[base]
name=friendly name
baseurl=ftp://192.168.0.254/pub/ (Give the ipaddress of the YUM server)
enabled=1
gpgcheck=0
#yum install gcc (just for an example)
Posted by PNA Prasanna at 3:40 AM 1 comments
Labels: Linux Articles, RHEL6
Friday, January 20, 2012
Mounting an iso file in Linux (Fedora, Redhat)
#mkdir /rhel6 (creating a mount point – an empty directory)
#mount –t iso9660 –o loop rhel6.iso /rhel6 (actual mounting
is taken place)
#cd /rhel6 (change to the directory)
#ls (listing down the iso content)
Posted by PNA Prasanna at 3:07 AM 0 comments
Labels: Linux Articles, RHEL6, RHEL6.1
Subscribe to:
Posts (Atom)