Cobbler体验小记
体验 小记 cobbler
2023-09-14 09:01:03 时间
sed -i /SELINUX=/d /etc/selinux/config echo "SELINUX=disabled" /etc/selinux/config #关闭SELINUX
default_password_crypted: "$1$1111$vZEjq1D9/uNasiTXwyx4o." #修改这个默认密码,因为运行cobbler check时会提示你修改密码, 用这个命令实现"openssl passwd -1 -salt 任意字母 你的密码 "
openssl passwd -1 -salt 1234312 navy123456 #把生成的密码填到/etc/cobbler/settings配置里default_password_crypted:生成的新密码
sed -i s/module = authn_denyall/module = authn_configfile/g /etc/cobbler/modules.conf #修改认证
导入ISO,并设置为“x86_64”,并将其命名为Centos6.3。(注:具体可查看/var/www/cobbler/ks_mirror/Centos6.4-x86_64/目录文件生成情况。)
url --url=$tree # If any cobbler repo definitions were referenced in the kickstart profile, include them here. $yum_repo_stanza skipx lang en_US.UTF-8 keyboard us network --onboot yes --bootproto dhcp --noipv6 --nodns
rootpw --iscrypted \$6\$Qz7FvhTWfC2yTdb1\$qNF1o.fpE44l/F1ROzJ.bXRKeB4OVQ.maYCY3tMZKDS7tDLrHthIAREXZFvW1G08tOqptkLMxfvyW4wA.vPOz1 firewall --disabled firstboot --disabled authconfig --enableshadow --passalgo=sha512 selinux --disabled #timezone --isUtc Asia/Shanghai timezone --utc Asia/Shanghai # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work logging --level=info #bootloader --append="nohz=off" --location=mbr bootloader --location=mbr --driveorder=sda --append="biosdevname=0 nohz=off thash_entries=1048576 rhash_entries=1048576 selinux=0"
# ignoredisk --only-use=sda part / --fstype=ext4 --asprimary --size=50000 --maxsize=50000 --label=/ part swap --asprimary --size=$swap --maxsize=$swap --label=swap part /data --fstype=xfs --grow --asprimary --size=12000 --label=/data $SNIPPET(pre_install_network_config) # Add Pre-Installation Script here %packages --excludedocs --ignoremissing @base @core @development @server-policy telnet cmake compat-gcc-34 compat-gcc-34-c++ sgpio libXtst yum-plugin-priorities openssl tengine -lvm2 -acpid -biosdevname -hunspell-en -abrt-cli -man-pages-overrides -blktrace -words -abrt-addon-kerneloops -abrt-addon-ccpp -bridge-utils -nano -hunspell -abrt-addon-python -man-pages -byacc -indent -diffstat -doxygen -intltool -ctags -cscope -iptables -system-config-firewall-base -iptables-ipv6 -system-config-firewall-tui -subversion $SNIPPET(services_disable_enable) %post $SNIPPET(post_install_network_config)
ansible2.4安装和体验 ansible是常用的开源配置管理工具,简单易用,可以高效的帮助我们对服务器进行远程操作,欢迎您本文一起安装和体验2.4版本
cobbler 无人值守-安装 准备两台主机,如centos6和centos7 centos7当作server服务器 关闭selinux 关闭防火墙 cobbler包光盘里是没有的,要配置epel源,这里就说怎么配置epel源了,在yum.
快速网络安装linux操作系统的服务,支持众多的Linux版本,也支持网络安装windows系统 PXE的二次封装,将多种安装参数封装到一个菜单 它是由Python编写的 还可以用CLI和WEB来管理 cobbler 配置目录说明 安装:yum in...
default_password_crypted: "$1$1111$vZEjq1D9/uNasiTXwyx4o." #修改这个默认密码,因为运行cobbler check时会提示你修改密码, 用这个命令实现"openssl passwd -1 -salt 任意字母 你的密码 "
openssl passwd -1 -salt 1234312 navy123456 #把生成的密码填到/etc/cobbler/settings配置里default_password_crypted:生成的新密码
sed -i s/module = authn_denyall/module = authn_configfile/g /etc/cobbler/modules.conf #修改认证
导入ISO,并设置为“x86_64”,并将其命名为Centos6.3。(注:具体可查看/var/www/cobbler/ks_mirror/Centos6.4-x86_64/目录文件生成情况。)
url --url=$tree # If any cobbler repo definitions were referenced in the kickstart profile, include them here. $yum_repo_stanza skipx lang en_US.UTF-8 keyboard us network --onboot yes --bootproto dhcp --noipv6 --nodns
rootpw --iscrypted \$6\$Qz7FvhTWfC2yTdb1\$qNF1o.fpE44l/F1ROzJ.bXRKeB4OVQ.maYCY3tMZKDS7tDLrHthIAREXZFvW1G08tOqptkLMxfvyW4wA.vPOz1 firewall --disabled firstboot --disabled authconfig --enableshadow --passalgo=sha512 selinux --disabled #timezone --isUtc Asia/Shanghai timezone --utc Asia/Shanghai # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work logging --level=info #bootloader --append="nohz=off" --location=mbr bootloader --location=mbr --driveorder=sda --append="biosdevname=0 nohz=off thash_entries=1048576 rhash_entries=1048576 selinux=0"
# ignoredisk --only-use=sda part / --fstype=ext4 --asprimary --size=50000 --maxsize=50000 --label=/ part swap --asprimary --size=$swap --maxsize=$swap --label=swap part /data --fstype=xfs --grow --asprimary --size=12000 --label=/data $SNIPPET(pre_install_network_config) # Add Pre-Installation Script here %packages --excludedocs --ignoremissing @base @core @development @server-policy telnet cmake compat-gcc-34 compat-gcc-34-c++ sgpio libXtst yum-plugin-priorities openssl tengine -lvm2 -acpid -biosdevname -hunspell-en -abrt-cli -man-pages-overrides -blktrace -words -abrt-addon-kerneloops -abrt-addon-ccpp -bridge-utils -nano -hunspell -abrt-addon-python -man-pages -byacc -indent -diffstat -doxygen -intltool -ctags -cscope -iptables -system-config-firewall-base -iptables-ipv6 -system-config-firewall-tui -subversion $SNIPPET(services_disable_enable) %post $SNIPPET(post_install_network_config)
ansible2.4安装和体验 ansible是常用的开源配置管理工具,简单易用,可以高效的帮助我们对服务器进行远程操作,欢迎您本文一起安装和体验2.4版本
cobbler 无人值守-安装 准备两台主机,如centos6和centos7 centos7当作server服务器 关闭selinux 关闭防火墙 cobbler包光盘里是没有的,要配置epel源,这里就说怎么配置epel源了,在yum.
快速网络安装linux操作系统的服务,支持众多的Linux版本,也支持网络安装windows系统 PXE的二次封装,将多种安装参数封装到一个菜单 它是由Python编写的 还可以用CLI和WEB来管理 cobbler 配置目录说明 安装:yum in...
相关文章
- 容器产品2月报|TKE 多项新特性等你体验
- Android上的Linux之旅:实现最佳体验(安卓linux系统)
- 深入体验:使用U盘安装Linux(u深度u盘安装linux)
- MongoDB驱动:极致的简洁体验(mongodb驱动)
- 深度体验:Linux内置JDK(linux自带jdk)
- 使用Redis存储文件的畅快体验(redis存放文件)
- Oracle 零安装体验快速上手免配置(oracle免安装配置)
- 肯德基APP上乘体验Redis助力(肯德基app redis)
- 不用Redis,谁也无法体验缓存空间快感(不用redis)
- 开发出「流畅体验技术」的 Aquifi,它将视野放在了物流和制造业
- Android新手入门体验