kickstart 最小化安装centos8
发表于:2025-02-01 作者:千家信息网编辑
千家信息网最后更新 2025年02月01日,centos8 发布尝鲜,先改个ks 安装# Kickstart file automatically generated by anaconda.#version=RHEL8#use text in
千家信息网最后更新 2025年02月01日kickstart 最小化安装centos8
centos8 发布尝鲜,先改个ks 安装
# 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 servicesservices --enabled="chronyd"# System timezonetimezone Asia/Shanghai#修改这样可以定义网卡名称为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.logecho "nameserver 114.114.114.114">/etc/resolv.confecho "nameserver 202.106.46.151">>/etc/resolv.confecho "search localdomain">>/etc/resolv.conf#安装docker repo ############docker repo ##########sudo tee /etc/yum.repos.d/docker-ce.repo <<-'EOF'[docker-ce-stable]name=Docker CE Stable - $basearchbaseurl=https://download.docker.com/linux/centos/7/$basearch/stableenabled=1gpgcheck=1gpgkey=https://download.docker.com/linux/centos/gpgEOFdate >> /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#这里可以添加用户key#禁用密码认证sed -i 's/PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config# Reboot after installationreboot
名称
密码
用户
网卡
认证
最小
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
服务器上插耳机没声音
衡水快报网络安全审查办法开启
live邮箱接收服务器
丹东app与软件开发
软件开发的最新发展方向
服务器硬盘1tb
网络安全个人防护电话
大学生网络安全教育的重要意义
直播服务器局域网版
浏览器解密服务器发送的用户信息
金水区网络安全基地
服务器小游戏免费玩
工行用阿里数据库
易保网络技术 需求分析面试
辽事通核酸检测结果全国数据库
灰烬使者服务器现在怎么样
火力全开2怎么创造服务器
服务器电源插口亮红灯
中国网络安全第一股360
云南长期回收服务器
双11数据库峰值多少
文件压缩属于网络安全技术嘛
国家网络安全战略包括
杭州复翼软件开发年报
数据库语言中
新用户服务器
网络安全宣传周山东省
沈阳互联网科技企业排名
贵州网络安全系统怎么做
同花顺有多少服务器