加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

教你制做OEL/CentOS linux三合一U盘安装盘

发布时间:2016-10-31 01:10:25 所属栏目:Linux 来源:网络整理
导读:一次出差去客户现场安装新买的IBM服务器,没想到服务器没有配置光驱,现场没有USB光驱,那次安装折腾的够戗,于是下定决心制作U盘安装盘,经过多次安装摸索。成

(4) OEL5.8自动ks文件

# vi /mnt/usb1/oel58auto.cfg

install

harddrive --partition=sdb2 -dir=/

lang zh_CN.UTF-8

keyboard us

xconfig --startxonboot

network --device eth0 --bootproto static --ip 192.168.14.100 --netmask 255.255.255.0 --gateway 192.168.14.2 --nameserver 202.100.192.68 --hostname oa

rootpw --iscrypted $1$H0bnNoWM$HE1R/mWv6LqbhUGI8Xw/t.

firewall --disabled

authconfig --enableshadow --enablemd5

selinux --disabled

timezone Asia/Shanghai

bootloader --location=mbr --driveorder=sda --append="rhgb quiet"

# 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

clearpart --linux

part /boot --fstype ext3 --size=100

part pv.3 --size=100 --grow

volgroup vg --pesize=32768 pv.3

logvol swap --fstype swap --name=swap --vgname=vg --size=6112

logvol / --fstype ext3 --name=root --vgname=vg --size=14240

%packages

@admin-tools

@base

@chinese-support

@core

@development-libs

@development-tools

@dialup

@editors

@gnome-desktop

@games

@graphical-internet

@graphics

@java

@legacy-software-development

@legacy-software-support

@office

@printing

@sound-and-video

@text-internet

@base-x

system-config-kickstart

kexec-tools

iscsi-initiator-utils

fipscheck

squashfs-tools

device-mapper-multipath

sgpio

imake

emacs

libsane-hpaio

xorg-x11-utils

xorg-x11-server-Xnest

xorg-x11-server-Xvfb

%post

service sendmail stop

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读