In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Centos8 released early, first change ks installation
# Kickstart file automatically generated by anaconda.# version=RHEL8#use text installtext# Use NFS installation medianfs --server=192.168.1.253 --dir=/ct80_64# System languagelang en_US.UTF-8# Keyboard layoutskeyboard --vckeymap=us --xlayouts='us'#add root passwordrootpw --iscrypted xxxxxxxxxxx# System authorization informationauthconfig --enableshadow --enablemd5# SELinux configurationselinux --disabledfirstboot --disable#Do not configure the X Window Systemskipx# firewall configurationfirewall --disabled# System serviceservices--enabled="chronyd"# System timezone Asia/Shanghai#Modify such that you can define the NIC name as ethx# System bootloader configurationbootloader --location=mbr --append="net.ifnames=0 biosdevname=0 rhgb quiet"# Partition clearing informationclearpart --all --initlabel#create 1MB biosboot type partition, centos7 and centos8 .part biosboot --fstype=biosboot --size=1# Disk partitioning informationpart /boot --fstype=xfs --size=300part pv.122 --fstype="lvmpv" --growvolgroup VolGroup00 --pesize=16384 pv.122logvol / --fstype="xfs" --size=10000 --name= LogVol00 --vgname= VolGroup00% packages@Base@Core@development@network-toolsgettext-develsysstatzlib-develpsmisc%end%post --erroronfail--log=/root/ks-post. log @ o "nameserver 114.114.114.114">/etc/resolv.confecho "nameserver www.example.com"202.106.46.151>>/etc/resolv.confecho "search localdomain">>/etc/resolv.conf#Install docker repo ############docker repo ########sudo tee /etc/yum.repos.d/docker-ce. repo/root/install.log echo " network configing " >> /data/install.logcat >/etc/sysconfig/network-scripts/ifcfg-eth0 /etc/NetworkManager/NetworkManager.confcat >> /etc/sysctl.conf /etc/rc.localecho "ulimit -n 655350" >> /etc/rc.localecho "ulimit -s 102400" >> /etc/rc.localecho "ulimit -n 655350" >> /etc/profileecho "root soft nproc unlimited* soft nproc 655350* hard nproc 655350* soft nofile 655350* hard nofile 655350" >/etc/security/limits.d/20-nproc.conf# Do not update kerner sed -i '/\[main\]'/a\exclude=kernel\* /etc/yum.conf#User key#Disable password authentication sed -i 's/PasswordAuthentication yes/PasswordAuthentication no/'/etc/ssh/sshd_config# Reboot after installationreboot
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.