Welcome 微信登录

首页 / 操作系统 / Linux / Linux无人值守安装光盘制作

Linux(rhel5.5)无人值守安装光盘制作一、生产自动安装kickstart配置文件(可用kickstart配置工具,system-config-kickstart配置)[root@www.linuxidc.com ~]#vim /root/ks.cfg#platform=x86, AMD64, 或 Intel EM64T# System authorization informationauth  --useshadow  --enablemd5 key --skip                            #跳过安装sn的输入,必须有 # System bootloader configurationbootloader --location=mbr # Clear the Master Boot Recordzerombr # Partition clearing informationclearpart --all --initlabel  # Use graphical install#graphical# Use text mode install            #字符界面安装text # Firewall configurationfirewall --disabled # Run the Setup Agent on first bootfirstboot --disable # System keyboardkeyboard us # System languagelang zh_CN                     #系统默认语言设置 # Installation logging levellogging --level=info # Use CDROM installation mediacdrom                         #默认安装介质 # Network informationnetwork --bootproto=static --device=eth0 --gateway=192.168.32.254 --ip=192.168.32.30 --netmask=255.255.255.0 --onboot=on    #网络设置 # Reboot after installationreboot --eject    #安装后弹出cd重新系统,必须弹出cd,否则重启时会再次自动安装系统 #Root passwordrootpw --iscrypted $1$m3qF5xHj$nPMaPd2vTvl6Bnm5Do.un. # SELinux configurationselinux --disabled # System timezonetimezone  Asia/Chongqing # Install OS instead of upgradeinstall # X Window System configuration informationxconfig  --defaultdesktop=GNOME --depth=16 --resolution=1024x768 --startxonboot # Disk partitioning information        #硬盘分区设置part /boot --bytes-per-inode=4096 --fstype="ext3" --ondisk=sda --size=256part swap --bytes-per-inode=4096 --fstype="swap" --ondisk=sda --size=8192#part / --bytes-per-inode=4096 --fstype="ext3" --grow --ondisk=sda --size=51200 #LVM install                #逻辑卷创建配置,必须严格按照物理卷、卷组、逻辑卷顺序创建part pv.01 --ondisk=sda --size 51200volgroup vg00 pv.01logvol / --vgname=vg00 --size=1 --grow --name=lv00 #Software packages install   #软件安装包选择%packages@base@gnome-desktop@development-libs@base-x@admin-tools@legacy-software-development@development-tools@chinese-support@server-cfg@legacy-network-server@legacy-software-support@system-tools@editors@text-internet@graphical-internet@smb-server@ftp-server
  • 1
  • 2
  • 3
  • 下一页
Eclipse-3.3.2在CentOS-5.4下启动时崩溃的解决方法通过PPA源安装LibreOffice 3.4.5在Ubuntu 11.10 Oneiric Ocelot中相关资讯      Linux基础教程 
  • Linux基础教程:对文件打包压缩  (03月08日)
  • 基础教程:Linux 新手应该知道的   (09/06/2015 21:17:20)
  • Linux基础教程:find 与 xargs  (04/05/2015 10:20:11)
  • Linux基础教程:tar 命令使用介绍  (12/03/2015 13:19:47)
  • Linux基础教程(1)操作系统基础   (08/15/2015 20:44:01)
  • Linux基础教程:从源码安装软件  (04/05/2015 10:14:45)
本文评论 查看全部评论 (0)
表情: 姓名: 字数