How to do zero-touch insatallation on redhat linux ?

Hello hi everyone my self Pradeep and in this blog i am going to decuss about how to do zero-touch installation in linux ?, and also what is it ? and why it is used ? . I hope you like my blog and please leave a comment . It will help me to write some intresting content for you .



Q. What is zero-touch insatllation ?

Ans.: In generally speaking zerotouch insatllation means installing operating system automatically that we required same iso image file or Bootable media but alog-with that another answer file is required to start the service .That answer file content your   
Date and time configuration .
Your username and password information .
Language information  .
Partition details .
HDD information .
--> In windows we use ADK tool to create Answer file but in linux we use KICKSTART tool to  create answer file .

Q . How to do zero-touch installation in practical step by step ?


Log into a root user .( Because it required some privilage to perform )
Now design the answer file in treminal .
{    # rpm -qa | grep kickstart* } --> to find kickstart related files .
3. Now copy the anaconda file into desktop .
{ # cp anaconda-ks.cfg Desktop/litu.cfg }   
{ # cd Desktop/ } --> Now change to desktop
4. Go to vim text editor and chage your require file like username , password , timezone etc. )
{ # ls }
{ # vim litu.cfg }
5. For sharing package in ftp because in my case ia m using vmware to demonstration .
{ #rpm -qa vsftpd } --> for showing the package .
{ #yum insatll vsftpd -y } --> For installing the package .\
6. Move the file into public folder for shring in ftp protocol .
{ # mv litu.cfg     /var/ftp/pub }
7. Give the full permission to group , otheruser and root user to perform action .
{ #chmod 777 litu.cfg }
8. To start the ftp service in the machine .
{ # Stystemctl Strart vsftpd }
{ #Systemctl enable vsftpd  }


9. Find your IP address to share across the network. 


{ #ifconfig }


10. Now open your firefox browser to see weather all files are correct just for conform perpose .
Open browser and type
{  ftp://172.16.200.56 ] and press enter .
11. Now disable the firewall configuration .
{ # systemctl  status firewalld }
{ # systemctl stop firewalld }
{ # systemctl disable firewalld }
11. Now go to selinux con figuration .
Selinux :: It's a service in linux to allow the admin  control to make changes .
{ # vim  /etc/selinux./config } --> Go to line 7 and rename enabled into " disabled " .
12. now reboot the system by typing 
# init 6 
Clients side 
Now go to another vm-ware and create an new vm-ware machine attache the hdd and iso file and power-on it .
While linux is booting press the TAB key and type :
{ ks-ftp://172.16.200.56 /pub/litu.cfg .
After doing all things your information will perform automatically of not your answer file some error , check once again and do one more time .



Thanks

 

No comments