Md. Mushfiqur Rahman
M.Sc. in Information System & Security
B.Sc. in Computer Science & Engineering
Technical Trainer of Networking Technology (IDB-BISEW)
Ex-Officer of bITS (BRAC IT Services Limited)
Founder & Senior Technical Trainer of Networking (IT Bangladesh)
CCNA,CCNP,RHCSA,RHCE,MCP,MCSA
Contact: 01982672499
AUTOMATING INSTALLATION WITH KICKSTART
Get link
Facebook
X
Pinterest
Email
Other Apps
-
CHAPTER 1
AUTOMATING INSTALLATION WITH KICKSTART
Some Information about Kickstart
If we install Linux OS on single standalone machine, it is easy to install manually. But if we want to install 30/40 or more machines for your organization, then it will be more complicated work due of time. Right?
So, then we will use automated installation process. so that all client machines can be installed from a single server machine automatically.
That's why - we will " kickstart method"
** Kickstart is an automated installation method used primarily by Red Hat Enterprise Linux.
** Kickstart in Red Hat Enterprise Linux is similar to Jumpstart for Oracle Solaris, or to an
unattended installation (WDS Deployment) for Microsoft Windows.
Video Links:
Part-01:
Part-02:
Our LAB Scenario :
But we will take One Client and One Server
Server Name -> Kickstart-Server
Client Name -> Kickstart-Client-1
In VMware, We will connect those 2 machines by host-only adapter
Now let's start our work at Kickstart-Server
To perform a kickstart installation, we need to follow these steps:
Step-01:
Create a Kickstart file, a plain text file with several predefined configuration options.
To create this file we have to use "system-config-kickstart" command. But we have to install this package first
You will be prompted a "Kickstart Configuration" window
"Basic Configuration" Option
"Installation Method" Option
"Basic Loader Options" Option
"Partition Information" Option
Final "Partition Information" Option
"Network Configuration" Option
"Firewall Configuration" Option
"Post Installation Script" Option
useradd mushfiq
echo mmr | passwd mushfiq
useradd itbd
echo itbd | passwd itbd
Now, we will save this file with any name but extension will be .cfg
Our kickstart configuration file has created which is named - "http-ks.cfg". which has been saved in Desktop.
But at this file, we do not select any package
if we want to add some packages at this file, we can add. But HOW?
We will copy the packages option from default 'anaconda-ks.cfg' which is stored in "/root" directory. Now we will copy these and we will paste into "http-ks.cfg" at bottom.
We will paste it into http-ks.cfg file at bottom part and save it by pressing save button
Now, we have to install http package, because of our clients will take our configuration file through http.
[root@kickstart-server ~]#yum install http* -y
After installing this package, we will get "/var/www/hrml" folder, which is default location of http service
Hope, you have remember that, we gave a directory named "dvd" into our http server. So we have to create a directoty named "dvd", where we will put our configuration file (http-ks.cfg) and our ISO file.
So, Let's do it.
To copy http-ks.cfg file from Desktop into html folder:
** Some Questions for MTCNA Exam ** ## Link for testing your skill for MTCNA: https://www.proprofs.com/quiz-school/story.php?title=ODQzMzMy1LXH 1. Choose correct statements for MikroTik proxy (MULTI) A. Controls domains or servers which are allowed to cache by Proxy B. To deny access to a specific website, caching should be enabled C. Destination NAT rule is required to utilize transparent proxy facility D. Can deny access to a specific domains or servers, but not specific web pages 2. What can be used as ’target-address’ in the simple queue? (ONE) A. server’s address B. client’s address C. client’s MAC address D. address list name 3. A MikoTik PPPoE Server can be used only within a broadcast domain, that is, users can not run PPPoE protocol with a server if there is a router between the customer and that PPPoE server. TRUE / FALSE 4. What is the minimal possible wireless configuration to create an Access Point? (ONE) A. ssid B. DFS mode C. radio name D. scan-list E. band F. WD
আসসালামু আলাইকুম , আইটি বাংলাদেশ এর পক্ষ থেকে আপনাদেরকে স্বাগতম। আশা করি আপনারা ভালো ভাবে পড়াশোনা করছেন। আপনারা অনেকেই ইন্ডাস্ট্রিয়াল এটাচমেন্ট এ আইটি বাংলাদেশ এ আসার জন্য আগ্রহ প্রকাশ করছেন। সেটা সত্যি আমাদের জন্য ভালো লাগার বিষয়। তবে কিছু বিষয় আপনাদের কে জানিয়ে রাখা ভালো মনে করছি । আপনারা যদি আইটি বাংলাদেশ এ আসেন তাহলে মন মানুষিকতা একটু পরিবর্তন করে আসার চেষ্টা করবেন। আইটি বাংলাদেশ এর পক্ষ থেকে আপনাদেরকে সেই বিষয় গুলো একটু জানাচ্ছি ১) আপনি জব না নিয়ে ঢাকা ছেড়ে বাবা মার্ কাছে যাবেন না নেহাত একদম দরকার না হলে। আর তাছাড়া এইবার জুলাই মাসের ২-৩ তারিখ থেকে আমরা স্টার্ট করবো , তাই কুরবানী ঈদ শেষ করে আসতে পারছেন আপনারা। তাই ৩ - ৪ মাস বাড়ি না গেলেও প্রব্লেম হবার কথা না। বাসায় বাবা মা কে বলে আসবেন, প্রব্লেম হবার কথা না। ২) মুশফিক স্যার ( আইটি বাংলাদেশ এর পরিচালক ) যেভাবে বলে সেইভাবে কাজ করার জন্য দৃঢ় প্রতিজ্ঞাবদ্ধ হয়ে আসবেন। হাজার কষ্ট হলেও কাজ শেষ করবেন। সামন্য মাথা ব্যাথা , পেট ব্যাথা , জ্বর এইগুলোর দোহাই দিয়ে ক্লাস মিস করতে পারবেন না। যত কষ্টই হোক,
Video Links: Purpose Command To See running config file Show running-config or sh run Displays configuration saved in NVRAM Show startup-config To see IP info of interfaces Show ip interface brief To see statistics of all interfaces Show interfaces To see specific item from running configuration Show interface f0/0 [ Only see the info of the specific interface f0/0 ] sh run | section line [ Only see the info of all line sections ] * If you want to see only DHCP section, nothing else sh run | section dhcp show run | begin ip [ If you want to see from that line where 'ip' word is present to last line ] show run | exclude ip [If you want to see all lines but not to expect ip word related lines] show run | include ip [If you want to see all lines only included ip word related lines, not others]
Thank you sir. The directions of doing this work are good and helpful.
ReplyDeleteThank you sir. The directions of doing this work are good and helpful.
ReplyDeleteYour blog is awesome!!!!.
ReplyDelete