博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
rhel7 kickstart 参考[备忘]
阅读量:4078 次
发布时间:2019-05-25

本文共 2665 字,大约阅读时间需要 8 分钟。

参考下面 ananconda.cfg  原生, 直接进行分区方法

#version=RHEL7# System authorization informationauth --enableshadow --passalgo=sha512# Use CDROM installation mediacdrom# Use graphical installgraphical# Run the Setup Agent on first bootfirstboot --enableignoredisk --only-use=sdc# Keyboard layoutskeyboard --vckeymap=cn --xlayouts='cn'# System languagelang zh_CN.UTF-8# Network informationnetwork  --bootproto=dhcp --device=em1 --onboot=off --ipv6=autonetwork  --bootproto=dhcp --device=em2 --onboot=off --ipv6=autonetwork  --hostname=localhost.localdomain# Root passwordrootpw --iscrypted $6$0ZzjObEc6uDUkEH8$sx9urpyhnzSzSL3S5ggSBgbiqxmB/vP3.xq8UFc95sMFqjTxpQFzBGYL8bHbiMCCULJ8E3dPKmDUz4WHHh9/P1# System timezonetimezone Asia/Shanghai --isUtc# System bootloader configurationbootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sdc# Partition clearing informationclearpart --all --initlabel --drives=sdc# Disk partitioning informationpart swap --fstype="swap" --ondisk=sdc --size=14080part / --fstype="xfs" --ondisk=sdc --size=939288part /boot --fstype="xfs" --ondisk=sdc --size=500%packages@corekexec-tools%end%addon com_redhat_kdump --enable --reserve-mb='auto'%end

参考使用 lvm 方法

#version=RHEL7# System authorization informationauth --enableshadow --passalgo=sha512# Use CDROM installation mediacdrom# Use graphical installgraphical# Run the Setup Agent on first bootfirstboot --enableignoredisk --only-use=sda# Keyboard layoutskeyboard --vckeymap=cn --xlayouts='cn'# System languagelang zh_CN.UTF-8# Network informationnetwork  --bootproto=dhcp --device=em1 --onboot=off --ipv6=autonetwork  --bootproto=dhcp --device=em2 --onboot=off --ipv6=autonetwork  --bootproto=dhcp --device=p2p1 --onboot=off --ipv6=autonetwork  --bootproto=dhcp --device=p2p2 --onboot=off --ipv6=autonetwork  --hostname=localhost.localdomain# Root passwordrootpw --iscrypted $6$rcWbii9qAGO/qSXH$llQ1kLUvzNUBS8kIEKal1WOAqsaHON0SRKLfFtbMp.rOxbPjZUUY3fpRaT42VyFjEzqT44y21Qek4YWGgV7u51# System timezonetimezone Asia/Shanghai --isUtc# System bootloader configurationbootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda# Partition clearing informationclearpart --all --initlabel --drives=sda# Disk partitioning informationpart pv.1173 --fstype="lvmpv" --ondisk=sda --size=5721410part /boot/efi --fstype="efi" --ondisk=sda --size=200 --fsoptions="umask=0077,shortname=winnt"part /boot --fstype="xfs" --ondisk=sda --size=500volgroup centos --pesize=4096 pv.1173logvol swap  --fstype="swap" --size=4096 --name=swap --vgname=centoslogvol /  --fstype="xfs" --size=5717312 --name=root --vgname=centos%packages@corekexec-tools%end%addon com_redhat_kdump --enable --reserve-mb='auto'%end

转载地址:http://slnni.baihongyu.com/

你可能感兴趣的文章
nodejs内存控制
查看>>
MongoDB 数据文件备份与恢复
查看>>
MongoDB数据库插入、更新和删除操作详解
查看>>
MongoDB文档(Document)全局唯一ID的设计思路
查看>>
mongoDB简介
查看>>
Redis持久化存储(AOF与RDB两种模式)
查看>>
memcached工作原理与优化建议
查看>>
Redis与Memcached的区别
查看>>
程序员最核心的竞争力是什么?
查看>>
linux CPU个数查看
查看>>
消息队列设计精要
查看>>
分布式存储系统设计(1)—— 系统架构
查看>>
MySQL数据库的高可用方案总结
查看>>
常用排序算法总结(一) 比较算法总结
查看>>
SSH原理与运用
查看>>
SIGN UP BEC2
查看>>
出现( linker command failed with exit code 1)错误总结
查看>>
iOS开发中一些常见的并行处理
查看>>
iOS获取手机的Mac地址
查看>>
ios7.1发布企业证书测试包的问题
查看>>