• cobller安装操作系统 风行天下


    参考网站:https://blog.csdn.net/admin_root1/article/details/78911718

    https://www.cnblogs.com/panwenbin-logs/p/7824079.html

    一、安装系统开机报错 :

    failed to start switch root

    解决办法:https://tieba.baidu.com/p/4979358771?red_tag=1112040005

    二、cobber check时出现selinux错误

    修改/etc/selinux里面为disabled,然后重启电脑,再cobber check,才会消失Selinux错误。

    三、关闭防火墙,关闭SELINUX

    新建kickstar的xfg文件后,需要在网页的profiles里面修改duiy对应的cfg文件,才能生效

     四、启动的服务

    systemctl restart httpd.service
    systemctl restart cobblerd.service
    systemctl restart dhcpd.service
    systemctl restart rsyncd.service
    systemctl restart tftp.socket

    ###################################################

    centos7配置文件

    Kickstart是一种无人值守的安装方式。

    • 详细的配置文件网上有很多模板。
    • 这里就只贴出Centos7的kickstart.cfg文件
    • 当然,咱们这个是最小化安装
    auth --enableshadow --passalgo=sha512
    url --url=$tree
    text
    firstboot --disable
    firewall --disabled
    ignoredisk --only-use=sda
    selinux --disabled
    reboot
    keyboard --vckeymap=us --xlayouts='us'
    lang en_US.UTF-8
    network  --bootproto=dhcp --hostname=Centos7 --device=ens33  --activate
    rootpw --plaintext 12345678
    services --disabled="chronyd"
    timezone Asia/Shanghai
    bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
    clearpart --none --initlabel
    
    part /boot/efi --fstype="efi" --ondisk=sda --size=1024 --fsoptions="defaults,uid=0,gid=0,umask=0077,shortname=winnt"
    part /app --fstype="xfs" --size=20480
    part swap --fstype="swap" --size=2048
    part / --fstype="xfs" --size=102400
    part /boot --fstype="ext4" --size=1024
    
    %pre
    parted -s /dev/sda mklabel gpt
    %end
    
    %packages
    @^minimal
    @core
    kexec-tools
    %end
  • 相关阅读:
    VMware vSphere 6 序列号
    linux中网络配置
    Linux 磁盘分区、挂载
    linux中crontab任务调度
    linux组管理和权限管理
    linux运行级别
    linux中vi和vim文件操作命令
    Linux-用户分组相关以及处理密码遗忘
    linux远程登入、远程上传文件
    llinux重启、用户切换、注销命令
  • 原文地址:https://www.cnblogs.com/yaok430/p/9153850.html
Copyright © 2020-2023  润新知