SlideShare a Scribd company logo
1 of 3
PXE-BOOT Server configuration in RHEL-5 :----
System requirement: -----
- Yum server
- Tftp server
- DNS server
- Kickstart server
- Nfs server
- Network server
1:-- yum server configuration: ---
Copy cd content to /var/ftp/pub
#mount /dev/sr0 /media
#cd /media
#cp –ivr * /var/ftp/pub
Here we are using ftp protocol for yum server
Now install createrepo package.
rpm -ivh /var/ftp/pub/Server/createrepo-0.4.11-3.el5.noarch.rpm
Now we need to create yum repository.
#createrepo -g /var/ftp/pub/Server/repodata/comps-rhel5-server-core.xml /var/ftp/pub/Server/
#createrepo -g /var/ftp/pub/VT/repodata/comps-rhel5-vt.xml /var/ftp/pub/VT/
#createrepo -g /var/ftp/pub/Cluster/repodata/comps-rhel5-cluster.xml /var/ftp/pub/Cluster
#createrepo -g /var/ftp/pub/ClusterStorage/repodata/comps-rhel5-cluster-st.xml
/var/ftp/pub/ClusterStorage/
Now need to create a file:---
#vi /etc/yum.repos.d/rhel-debuginfo.repo and add below: -----
[rhel-Server]
name=Red Hat Enterprise Linux Server$releasever - $basearch - Debug
baseurl=ftp://192.168.157.20/pub/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
#################################################################
[rhel-VT]
name=Red Hat Enterprise Linux VT$releasever - $basearch - Debug
baseurl=ftp://192.168.157.20/pub/VT
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
################################################################
[rhel-Cluster]
name=Red Hat Enterprise Linux Cluster$releasever - $basearch - Debug
baseurl=ftp://192.168.157.20/pub/Cluster
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
################################################################
[rhel-ClusterStorage]
name=Red Hat Enterprise Linux ClusterStorage$releasever - $basearch - Debug
baseurl=ftp://192.168.157.20/pub/ClusterStorage
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
###############################################################
Now start vsftpd service.
#/etc/init.d/vsftpd restart
#/etc/init.d/vsftpd on
Now need flush & rebuild the yum cache.
#yum clean all
#yum cache rebuild
2:-- Configure TFTP server:----

More Related Content

What's hot

Configuration of Smtp Server On CentOS 8
Configuration of Smtp Server On CentOS 8Configuration of Smtp Server On CentOS 8
Configuration of Smtp Server On CentOS 8Kaan Aslandağ
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccnarobertoxe
 
How to install r1 soft
    How to install  r1 soft    How to install  r1 soft
How to install r1 softIdeastack
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmailAryman Gautam
 
Lecture 20 presentation
Lecture 20 presentationLecture 20 presentation
Lecture 20 presentationAsif
 
Raspberry PI iGate with TNC Direwolf Soundmodem
Raspberry PI iGate with TNC Direwolf SoundmodemRaspberry PI iGate with TNC Direwolf Soundmodem
Raspberry PI iGate with TNC Direwolf SoundmodemAURELIO PY5BK
 
Chapter 05 - Ios
Chapter 05 - IosChapter 05 - Ios
Chapter 05 - Iosphanleson
 
How to use mmdvm host wif main board
How to use mmdvm host wif main boardHow to use mmdvm host wif main board
How to use mmdvm host wif main boardAURELIO PY5BK
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package managementAcácio Oliveira
 
How to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and upHow to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and upRouter Switch
 
NFS is an excellent way of sharing files between linux and other unix systems
NFS is an excellent way of sharing files between linux and other unix systemsNFS is an excellent way of sharing files between linux and other unix systems
NFS is an excellent way of sharing files between linux and other unix systemsAshish Mamgain
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/LinuxAhmed Mekkawy
 

What's hot (20)

Configuration of Smtp Server On CentOS 8
Configuration of Smtp Server On CentOS 8Configuration of Smtp Server On CentOS 8
Configuration of Smtp Server On CentOS 8
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
How to install r1 soft
    How to install  r1 soft    How to install  r1 soft
How to install r1 soft
 
SquirrelMail for webmail
SquirrelMail for webmailSquirrelMail for webmail
SquirrelMail for webmail
 
Lecture 20 presentation
Lecture 20 presentationLecture 20 presentation
Lecture 20 presentation
 
Raspberry PI iGate with TNC Direwolf Soundmodem
Raspberry PI iGate with TNC Direwolf SoundmodemRaspberry PI iGate with TNC Direwolf Soundmodem
Raspberry PI iGate with TNC Direwolf Soundmodem
 
Chapter 05 - Ios
Chapter 05 - IosChapter 05 - Ios
Chapter 05 - Ios
 
How to use mmdvm host wif main board
How to use mmdvm host wif main boardHow to use mmdvm host wif main board
How to use mmdvm host wif main board
 
Server readme
Server readmeServer readme
Server readme
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
Samba
SambaSamba
Samba
 
Pfsense%20%20note
Pfsense%20%20notePfsense%20%20note
Pfsense%20%20note
 
Kickstart
KickstartKickstart
Kickstart
 
How to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and upHow to replace Cisco 2960 Switch and up
How to replace Cisco 2960 Switch and up
 
NFS is an excellent way of sharing files between linux and other unix systems
NFS is an excellent way of sharing files between linux and other unix systemsNFS is an excellent way of sharing files between linux and other unix systems
NFS is an excellent way of sharing files between linux and other unix systems
 
Networking in Gnu/Linux
Networking in Gnu/LinuxNetworking in Gnu/Linux
Networking in Gnu/Linux
 
Yum (Linux)
Yum (Linux) Yum (Linux)
Yum (Linux)
 
Ftpádas
FtpádasFtpádas
Ftpádas
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 

Similar to Pxe boot configuration in rhel5

Yum server ( FTP Server )
Yum server ( FTP Server ) Yum server ( FTP Server )
Yum server ( FTP Server ) MOHSIN HASAN
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stackRootGate
 
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...JohnWilson47710
 
RPM (Red Hat Package Manager)
RPM (Red Hat Package Manager)RPM (Red Hat Package Manager)
RPM (Red Hat Package Manager)skalaivanibutp
 
install PHP7 on CentOS7 by Ansible
install PHP7 on CentOS7 by Ansibleinstall PHP7 on CentOS7 by Ansible
install PHP7 on CentOS7 by AnsibleDQNEO
 
2.5 use rpm and yum package management
2.5 use rpm and yum package management2.5 use rpm and yum package management
2.5 use rpm and yum package managementAcácio Oliveira
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package managementAcácio Oliveira
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package managementAcácio Oliveira
 
[MathWorks] Versioning Infrastructure
[MathWorks] Versioning Infrastructure[MathWorks] Versioning Infrastructure
[MathWorks] Versioning InfrastructurePerforce
 
Howto: Install openQRM 5.1 on Debian Wheezy
Howto: Install openQRM 5.1 on Debian WheezyHowto: Install openQRM 5.1 on Debian Wheezy
Howto: Install openQRM 5.1 on Debian WheezyopenQRM Enterprise GmbH
 
Bundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPMBundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPMAlexander Shopov
 
Installing Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu InstanceInstalling Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu Instancekamarul kawnayeen
 
Graphing Nagios services with pnp4nagios
Graphing Nagios services with pnp4nagiosGraphing Nagios services with pnp4nagios
Graphing Nagios services with pnp4nagiosjasonholtzapple
 
Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Kanwar Batra
 
Perl in RPM-Land
Perl in RPM-LandPerl in RPM-Land
Perl in RPM-LandDave Cross
 

Similar to Pxe boot configuration in rhel5 (20)

Centos config
Centos configCentos config
Centos config
 
Yum server ( FTP Server )
Yum server ( FTP Server ) Yum server ( FTP Server )
Yum server ( FTP Server )
 
Ftp server
Ftp serverFtp server
Ftp server
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
PHP selber bauen
PHP selber bauenPHP selber bauen
PHP selber bauen
 
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...
 
RPM (Red Hat Package Manager)
RPM (Red Hat Package Manager)RPM (Red Hat Package Manager)
RPM (Red Hat Package Manager)
 
install PHP7 on CentOS7 by Ansible
install PHP7 on CentOS7 by Ansibleinstall PHP7 on CentOS7 by Ansible
install PHP7 on CentOS7 by Ansible
 
Perl
PerlPerl
Perl
 
2.5 use rpm and yum package management
2.5 use rpm and yum package management2.5 use rpm and yum package management
2.5 use rpm and yum package management
 
Slim Server Practical
Slim Server PracticalSlim Server Practical
Slim Server Practical
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
[MathWorks] Versioning Infrastructure
[MathWorks] Versioning Infrastructure[MathWorks] Versioning Infrastructure
[MathWorks] Versioning Infrastructure
 
Howto: Install openQRM 5.1 on Debian Wheezy
Howto: Install openQRM 5.1 on Debian WheezyHowto: Install openQRM 5.1 on Debian Wheezy
Howto: Install openQRM 5.1 on Debian Wheezy
 
Bundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPMBundling Packages and Deploying Applications with RPM
Bundling Packages and Deploying Applications with RPM
 
Installing Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu InstanceInstalling Lamp Stack on Ubuntu Instance
Installing Lamp Stack on Ubuntu Instance
 
Graphing Nagios services with pnp4nagios
Graphing Nagios services with pnp4nagiosGraphing Nagios services with pnp4nagios
Graphing Nagios services with pnp4nagios
 
Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case Foreman and Puppet Master Install process - Customer Used Case
Foreman and Puppet Master Install process - Customer Used Case
 
Perl in RPM-Land
Perl in RPM-LandPerl in RPM-Land
Perl in RPM-Land
 

Pxe boot configuration in rhel5

  • 1. PXE-BOOT Server configuration in RHEL-5 :---- System requirement: ----- - Yum server - Tftp server - DNS server - Kickstart server - Nfs server - Network server 1:-- yum server configuration: --- Copy cd content to /var/ftp/pub #mount /dev/sr0 /media #cd /media #cp –ivr * /var/ftp/pub Here we are using ftp protocol for yum server Now install createrepo package. rpm -ivh /var/ftp/pub/Server/createrepo-0.4.11-3.el5.noarch.rpm Now we need to create yum repository. #createrepo -g /var/ftp/pub/Server/repodata/comps-rhel5-server-core.xml /var/ftp/pub/Server/ #createrepo -g /var/ftp/pub/VT/repodata/comps-rhel5-vt.xml /var/ftp/pub/VT/ #createrepo -g /var/ftp/pub/Cluster/repodata/comps-rhel5-cluster.xml /var/ftp/pub/Cluster #createrepo -g /var/ftp/pub/ClusterStorage/repodata/comps-rhel5-cluster-st.xml /var/ftp/pub/ClusterStorage/ Now need to create a file:--- #vi /etc/yum.repos.d/rhel-debuginfo.repo and add below: ----- [rhel-Server] name=Red Hat Enterprise Linux Server$releasever - $basearch - Debug baseurl=ftp://192.168.157.20/pub/Server
  • 2. enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ################################################################# [rhel-VT] name=Red Hat Enterprise Linux VT$releasever - $basearch - Debug baseurl=ftp://192.168.157.20/pub/VT enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ################################################################ [rhel-Cluster] name=Red Hat Enterprise Linux Cluster$releasever - $basearch - Debug baseurl=ftp://192.168.157.20/pub/Cluster enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ################################################################ [rhel-ClusterStorage] name=Red Hat Enterprise Linux ClusterStorage$releasever - $basearch - Debug baseurl=ftp://192.168.157.20/pub/ClusterStorage enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ###############################################################
  • 3. Now start vsftpd service. #/etc/init.d/vsftpd restart #/etc/init.d/vsftpd on Now need flush & rebuild the yum cache. #yum clean all #yum cache rebuild 2:-- Configure TFTP server:----