In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Https://blog.51cto.com/14451009/2437459, (the first PXE of Linux (remote deployment installation)), this blog briefly describes how to configure the automatic deployment and installation of PXE.
When the bare metal acquires the dhcp service and starts to install, it takes a human-computer interaction process to partition, set the time zone, and so on. This blog briefly introduces how an unattended automatic installation of kickstart for PEX is implemented. First of all, this unattended installation is based on PXE. If you don't know much about PXE, please refer to the blog link at the beginning of the article.
Continue with the previous Linux PXE first play (remote deployment installation), here continue to do the experiment. First of all, switch the linux system to the network card mode and switch to the NAT mode.
Then configure to dhcp, change to the mode that can surf the Internet.
Then restart the network service and get the address. Why would you do that? Because the software package is to be installed.
After the IP address is obtained, use the yum-y install system-config-kickstart command to install the package that is automatically remotely deployed.
After the installation is complete, click the program in the upper left corner of the graphical interface and a drop-down menu appears. Then select the kickstart option in the system tools.
After entering the software settings interface, choose the default language to be Chinese (simplified).
The following time zone chooses the Shanghai time zone, which is troublesome and can only be pulled down with the mouse wheel.
Then set the password for the root account and check it again after installation below.
The first part of the basic setup is complete, and then there is the following installation method. Choose to perform a new installation here, then select FTP below, and enter the address of the FTP server and the FTP directory.
The following bootloader options are very important, and if you do not check install the new bootloader and install the bootloader in the master boot record (MBR) below, it will cause the unrealistic start menu after the system has been installed and cause the system not to boot properly.
Next, according to the partition information below, select to delete all existing partitions according to the figure below, and then click the add button at the bottom to add partitions in turn.
First add the boot partition, the size of the 500MB will be fine.
Then there is the home partition, about 4 gigabytes will be fine.
After the home partition is set up, it will be the swap partition, which is also 4 GB. Note that the swap partition is under the mount point, and select among the file system types.
Finally, there is the root partition, which chooses to allocate all the remaining space to the root directory.
Next is the network configuration, here to add a network card ens32.
The firewall chooses to be disabled.
Display configuration options and select to install the graphical environment.
Pre-installation script and post-installation script, no extra settings are made here.
When all the settings are complete, click the file in the upper left corner and then click Save.
Note that the files generated by the software should be saved to the FTP service site.
Then enter the terminal mode to see that the file has been generated and exists.
Next, open the anaconda-ks.cfg file in root's home directory.
Find the string of configuration classes below and copy everything from% packages to% end.
Copy and then open the ks.cfg in the FTP service site and paste it at the end of the file.
After the above configuration is complete, open the startup menu configuration file default under the TFTP service site.
Add the file ks= ftp://192.168.1.100(FTP site) / sk.cfg at the end of the auto schema, and then save the exit.
Finally, the Linux server is rebound to host-only mode.
Change the IP address to the address of the PXE server: 192.168.1.100, save and exit.
Then turn off the firewall and enhance security.
Finally, restart the network service, DHCP service, TFTP service and FTP service.
After the server-side setup is complete, simulate the creation of a bare hardware computer on the VMware virtual machine.
Note that the memory must be more than 1.5g, otherwise an error will be reported during the installation process.
The Nic option must be set to host-only mode, otherwise the DHCP service will not be available.
After opening the virtual machine, the following figure will appear. Enter directly from here.
Then enter a series of loading process.
The installation interface has been successfully loaded, and people need to click and set it one by one, and it will be installed automatically.
The following figure shows an installation process and automatically sets a password for the root account. This simple experiment is completed.
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.