CentOS   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了制作centos-livecd大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

安装livecd-tools #yum -y install livecd-tools 如果@R_34_9382@报错,镜像网站不可用。要重新配置yum源, 替换成中科大的mirror,可以参 https://lug.ustc.edu.cn/wiki/mirrors/Help/centos 替换/etc/yum.repos.d/CentOS-Base.repo之前,记得备份。 如果这样还是安装失败的话,建议
  1. 安装livecd-tools
@H_675_18@#yum -y install livecd-tools

如果@R_34_9382@报错,镜像网站不可用。要重新配置yum源, 替换成中科大的mirror,可以参
https://lug.ustc.edu.cn/wiki/mirrors/help/centos替换/etc/yum.repos.d/CentOS-Base.repo之前,记得备份。 如果这样还是安装失败的话,建议下载rpm安装。

  1. 获取ks文件
#wget http://people.centos.org/arrfab/CentOS6/LiveCD-DVD/centos6-liveCD-desktop.cfg
  1. 编辑ks文件
[root@localhost livecd]# vim centos6-liveCD-desktop.cfg
lang en_US.UTF-8
keyboard us
timezone US/Eastern
#rootpw wavetop_888888
auth --useshadow --enablemd5
selinux --enforcing
firewall --disabled --service=mdns
repo --name="CentOS-6 - Media" --baseurl=file:///media/CentOS_6.4_Final
#--baseurl=http://mirrorS.Ustc.edu.cn/epel/6/$basearch 
# --baseurl=file://REPOPATH

xconfig --startxonboot
part / --size 8192 --fstype ext4
services --enabled=NetworkManager,network,sshd  --disabled=

可以设置root密码,认开启或关闭的服务,设置键盘时区等。这里为了提高速度,我把repo 的源设置为cd镜像,就不用在线下载一些包了。

  1. 制作ios
# livecd-creator -c centos6-liveCD-desktop.cfg -f centos6-desktop

这样就可以创建一个名为centos6-desktop.iso的镜像文件了。


: [1]Building Custom CentOS 6.4 LiveCD With

大佬总结

以上是大佬教程为你收集整理的制作centos-livecd全部内容,希望文章能够帮你解决制作centos-livecd所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。