In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What this article shares with you is about how to use Cobbler, a sharp weapon installed in Linux. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.
In the past, we have been working as a promising career as a migrant worker. Since Red Hat launched Kickstart a few years ago, we have suddenly felt that our price has doubled. No longer need to carve a CD to install Linux, as long as we get rid of PXE, DHCP, TFTP, and the dazzling Kickstart script, we can click on the magic wand and install hundreds of servers in an instant, just like Harry Potter. This pile of gaudy things can not be understood by ordinary people. If you don't have a college degree or above, you can't pass CET-4, so you can't play around at all. All in all, what a promising and skilled job it is.
Unfortunately, Red Hat * * (51CTO Editor's Note: the Cobbler project was first released around 2008) released the network installation server suite Cobbler (cobbler), which has successfully lowered the technical threshold of Linux network installation from college or above to below junior high school, even cobblers can learn. It is a bolt from the blue for us migrant workers who have been immersed in the field of machine installation for many years and have a lot of experience, and still want to run a thousand miles in the stables.
Cobbler (https://fedorahosted.org/cobbler) claims to set up a network installation environment quickly, so how fast is it? I tested it on a server with Fedora 9. The steps are as follows:
1. Install the relevant software:
Yum-y install cobbler tftp-server dhcp httpd xinetd
Note that the / var/www/cobbler directory must have enough space to hold the Linux installation files (move, build soft links)
two。 Check the cobbler configuration:
Cobbler check
Follow the prompts to solve the related problems, set server and next_server in / etc/cobbler/settings as the IP address of this server, and set manage_dhcp to 1 to manage DHCP
3. Import the files from the Fedora 9 installation DVD ISO:
Mount-o loop Fedora9/x86_64/Fedora-9-x86_64-DVD.iso / mnt/dvd/ # Mount the ISO file to the / mnt/dvd directory cobbler import-- mirror=/mnt/dvd-- name=FC9-x86-64 # Import all installation files from the / mnt/dvd directory, name it FC9-x86-64cobbler distro list # to view the import results, FC9- 64-i386 and FC9- 64-xen-i386 should be displayed
4. Modify the DHCP and Kickstart configuration templates:
Vi / etc/cobbler/dhcp.template # DHCP configuration template. If you already have a dhcpd.conf, please refer to modify this template vi / etc/cobbler/sample.ks # Kickstart configuration template
5. Generate and synchronize all configurations:
Cobbler sync
6. Start related services:
Disable = noservice dhcpd startservice cobblerd start in service xinetd start # / etc/xinetd.d/tftp
Cao Zhi has seven steps to make a poem, but Cobbler only needs six steps. Start another new server, boot to the blue Cobbler installation interface through PXE, select the Fedora 9 installation item, and you can automatically complete the system installation in a few minutes.
The above is how to use Cobbler, a sharp weapon installed in Linux. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.