In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Introduction to cobbler
Cobbler simplifies system configuration by bringing together the tasks involved in setting up and managing an installation server. Equivalent to Cobbler encapsulated DHCP, TFTP, XINTED and other services, combined with PXE, kickstart and other installation methods, can achieve automatic installation of the operating system, and can provide multiple versions at the same time to achieve online installation of different versions of the system.
What information is saved in the database:
1 user comments
two。 Saved the web page connection information
3. Saved web articles
4. Saved the classified information of web articles.
5. User registration information
6. Some other component information
Which database information has not been saved?
1. Picture
two。 Video
Cobbler server deployment process:
1. Configure the epel source
Yum-y install epel-release # install epel source
2. Install cobbler
Yum install cobbler-y # install cobbler
3. Download related software
Yum-y install cobbler-web dhcp tftp-server pykickstart httpd rsync xinetd-y
4. Create a password root user password
Openssl passwd-1-salt '123' $123' $1 $123 $nE5gIYTYiF1PIXVOFjQaW/
5. Configure cobbler configuration file
Vim / etc/cobbler/settingsnext_server: own IP address server: own address manage_dhcp: 1 / / enable dhcp function default_password_crypted: "root password"
6. Start the thtp service
Vi / etc/xinetd.d/tftp / / modify the information in the file disable = nosystemctl restart xinetd.service
7. Start the httpd service, cobbler service, and turn off the firewall
Systemctl start httpd.service systemctl start cobblerd.servicesystemctl stop firewalld.service setenforce 0
8. Configure dhcp service
Dhcp service template controlled by vi / etc/cobbler/dhcp.template / / cobbler subnet 192.168.109.0 netmask 255.255.255.0 {option routers 192.168.109.1; option domain-name-servers 8.8.8.8; option subnet-mask 255.255.255.0; range dynamic-bootp 192.168.109.100 192.168.109.100 Default-lease-time 21600; max-lease-time 43200; next-server $next_server;## Modification Gateway, dns address pool
9. Generate synchronization configuration files
Cobbler sync / / help synchronously generate DHCP configuration files to-- > / / etc/dhcp/dhcpd.conf
10. Download the boot operating system file
Cobbler get-loaders
11. Restart dhcp service and cobbler service
Systemctl restart dhcpd.servicesystemctl start cobblerd.service
12. Mount the CD image and configure the yum source
Mount / dev/sr0 / mnt/cobbler import-- path=/mnt/-- name=CentOS-7-x86_64-- arch=x86_64 # Import image, you need to wait for / var/www/cobbler/ks_mirror/CentOS-7-x86_64 # default import location cobbler list# view import result cobbler distro list# view release version
13. Restart various services to avoid errors
Systemctl restart cobblerd.service systemctl restart dhcpd.service systemctl restart xinetd.service systemctl restart httpd.service
14. Open the client for verification.
Add:
# cobbler-web configuration #
The first kind:
/ etc/cobbler/modules.conf / / authn_configfile module authentication htdigest-c / etc/cobbler/users.digest Cobbler cbaadmin / / enter the confirmation password twice, for example: the 123123#web account is chaadmin and the password is 123123systemctl restart httpd.service systemctl restart cobblerd.service https://192.168.220.141/cobbler_web
The second kind:
Vim / etc/cobbler/modules.confmodule = authn_pam# modify PAM authentication module = authz_ownership# specify access rights in USER.CONF useradd webuserpasswd webuservi / etc/cobbler/ users.confs [admins] admin = "" cobbler = "webuser =" / / add systemctl restart cobblerdsystemctl restart httpd https://192.168.220.141/cobbler_web
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.