In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Experiment
Initialization: iptables | firewalld,selinux,ntp | chrony
1 download package (cobbler includes tftp and http, but does not include dhcp)
Yum install cobbler dhcp
Systemctl start tftp httpd # dhcp cannot be started without making changes to the configuration file
2 check the configuration of cobbler, and you can modify the configuration file according to the inspection results
Clbbler check
3 modify the configuration of cobbler
Vim / etc/cobbler/settings
Default_password_crypted: "$1 *" # set the password for root, which can be generated using the command openssl passwd-1 * *
Server: 10.10.10.254 # the address of the cobbler server is set here
Netxt_server: 10.10.10.254 # this is the address of the tftp server
Manage_dhcp: 1
Systemctl restart cobblerd # restart the cobbler service
Cobbler get-loaders # download Startup menu
Cobbler sync # synchronizes the configuration to the data directory. It is best to change the configuration by following. An error may be reported here. After configuring the dhcp service, you can synchronize.
4 configure DHCP service (take the 10.10.10.0 network segment as an example)
Vim / etc/cobbler/dhcp.template
Subnet 10.10.10.0 netmask 255.255.255.0 {
Option routers 10.10.10.254; # Gateway address
Option domain-name-servers 180.76.76.76; # dns address
Range 10.10.10.1 10.10.10.200;} # assigned network address pool (here must be on the same network segment as the local machine)
Synchronize and restart dhcp after this process is completed
Cobbler sync
Systemctl start dhcpd
5 Import os (image) file (after the import is complete, you can use the command cobbler distro to view the imported distribution system information)
Cobbler import-arch=x86_64-path=/misc/cd-name=CentOS7-x86_64
Cobbler import-- arch=x86_64-- path=/mnt/-- name=CentOS6-x86_64 # use cobbler system list to view the values behind name
6 Import the homemade kickstart file into the shared folder and modify it (there is a default kickstart file under this folder, so you can install a minimally installed system at this step)
Vim / var/lib/cobbler/kickstarts/***.cfg
Url-url=$tree
7 make startup menu (modify the default value in / var/lib/tftpboot/pxelinux.cfg/default file)
Cobbler profile add-name=CentOS7.6-x86_64_mini-distro=CentOS7.6-x86_64-kickstart=/var/lib/cobbler/kickstarts/ks7_mini.cfg
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.