当前位置: 首页 > news >正文

偃师 做网站网站个人简介怎么做

偃师 做网站,网站个人简介怎么做,wordpress商城,公关公司都有哪些职位安装系统的话#xff0c;常用方式就是通过U盘#xff0c;光盘#xff0c;kickstart网络自动化安装#xff0c;网络自动化安装固然好#xff0c;但是有时候在现场做项目的话根本就没有kickstart环境#xff0c;甚至连基本的网络建设都没有弄好#xff0c;此时该如何安装系…安装系统的话常用方式就是通过U盘光盘kickstart网络自动化安装网络自动化安装固然好但是有时候在现场做项目的话根本就没有kickstart环境甚至连基本的网络建设都没有弄好此时该如何安装系统呢通过u盘或者光盘手动安装的话需要很多选项要自己填写那么我们能不能把自动化的ks环境做到系统镜像里面去呢答案是很定的接下来我们就来介绍CentOS 7.1全自动安装光盘制作第一步我们挂载原始光盘镜像假如挂载点是/mnt/cdrom,然后做如下操作cp -ar /mnt/cdrom/* /tmp/martin/cp -ar /mnt/cdrom/.treeinfo /tmp/martin/cp -ar /mnt/cdrom/.discinfo /tmp/martin/createrepo -g/tmp/martin/repodata/*-comps.xml /tmp/martin//tmp/martin/isolinuxboot.cat grub.conf   isolinux.bin  ks_a.cfg ks_raid_ab.cfg memtest     TRANS.TBL    vesamenu.c32boot.msg initrd.img  isolinux.cfg  ks_b.cfg ks_raid_bc.cfg  splash.png  upgrade.img vmlinuz在该目录下面新建四个ks文件其实只要一个即可这里做成四个是为了硬盘不同的分区方案而做的这里我们只介绍一个ks_raid_ab.cfg的配置其实就是一份定义了软raid的分区# platformx86, AMD64, or Intel EM64T# Use text mode install#text# Use graphical installgraphical# Install OS instead of upgradeinstall# Use CDROM mediacdrom# Use NFS installation media#nfs --server172.16.15.10 --dir/centosinstall# Use HTTP installation media#url --url ftp://172.16.15.10/Public/iso/7.1-x64/# Use FTP installation media#url --url ftp://:/#url --url ftp://172.16.15.10/# System languagelang en_US.UTF-8# System keyboardkeyboard us# Network informationnetwork --bootprotodhcp  --hostname martin --onbooton#Root passwordrootpw  123456#firewall --enabled --sshfirewall --disable# System authorization informationauthconfig --useshadow  --enablemd5# SELinux configurationselinux --disabled# System timezonetimezone Asia/Shanghai# System bootloader configurationbootloader --locationmbr# Partition clearing information#clearpart --all --initlabel --drivessda#part /boot --fstypeext4 --size300 --ondisksda#part pv.01 --size4096 --grow --ondisksda#volgroup VolGroup00 --pesize32768 pv.01#logvol / --fstypeext4 --nameLogVol00 --vgnameVolGroup00  --size1024 --grow#logvol swap --fstype swap --nameLogVol01 --vgnameVolGroup00 --size512# Partition clearing informationclearpart --all --initlabel# Soft RAID1 partitioning informationpart swap --fstypeswap --ondisksda --size4096part raid.01 --fstyperaid --grow --ondisksda --size1part swap --fstypeswap --ondisksdb --size4096part raid.02 --fstyperaid --grow --ondisksdb --size1raid / --devicemd0 --fstypeext4 --level1 raid.01 raid.02# Reboot after installationreboot# Do not configure the X Window System; if to configure it, uncomment following lineskipx# X Window System configuration information#xconfig  --defaultdesktopGNOME --depth32 --resolution1024x768%packages additional-devel base core debugging gnome-desktop development mariadb emacs web-server network-file-system-client java-platform platform-devel phpexpectiptraf-nglibaio-devellibpcap-devellksctp-toolslrzsznasmnet-snmp-utilsphp-mysqlphp-pearphp-soapsystem-config-kickstart# Add these system perfomance enhanced toolsvsftpdlogwatchpostfixnmap-ncatnmapftptelnetlsscsi# Update the sysstat version from 9.0.4 to 10.1.6sysstat%end[[email protected] isolinux]# vim isolinux.cfg  修改该文件增加如下内容label ks_amenu label ^Custom ks_a CentOS 7 --This is sinlgle_akernel vmlinuzappend initrdinitrd.img inst.stage2hd:/dev/cdrom inst.kscdrom:/isolinux/ks_a.cfglabel ks_bmenu label ^Custom ks_b CentOS 7 --This is sinlgle_bkernel vmlinuzappend initrdinitrd.img inst.stage2hd:/dev/cdrom inst.kscdrom:/isolinux/ks_b.cfglabel ks_abmenu label ^Custom ks_ab CentOS 7 --This is raid_abkernel vmlinuzappend initrdinitrd.img inst.stage2hd:/dev/cdrom inst.kscdrom:/isolinux/ks_raid_ab.cfglabel ks_bcmenu label ^Custom ks_bc CentOS 7 --This is raid_bckernel vmlinuzappend initrdinitrd.img inst.stage2hd:/dev/cdrom inst.kscdrom:/isolinux/ks_raid_bc.cfg此时我们将该目录/tmp/martin/   重新生成镜像即可centos7.1原始镜像有7个多G我们可以对其做裁剪方法我们下次介绍本文出自 “martin” 博客谢绝转载
http://www.huolong8.cn/news/327798/

相关文章:

  • 怎么查看网站访问速度泰安市住房与城乡建设局网站
  • 大学城网站开发公司电话wordpress域名解析
  • 哪个网站做母婴用品好深圳微商城网站制作价格
  • 金华住房和城乡建设部网站常用的网络推广方法有
  • 长春seo公司网站办公oa系统是什么
  • 聊城网站建设招聘网站如何修改后台密码
  • 公司网站优化去哪里学wordpress 4.6 注入
  • 公司食堂设计图黄山网站seo
  • 网站怎么做移动端的廊坊做网站外包
  • 营销型网站建设明细湖北建设注册中心网站
  • 毕业设计旅游网站开发怎么用网站源码做网站
  • 建设银行教育网站河南商务学校网站建设
  • linux系统网站架构推广网站建设花费得多少钱
  • 做外贸开通哪个网站好免费网站提交入口
  • 重庆网站建设是什么网站开发与维护竞赛
  • 微网站建设网站网站建设 镇江万达
  • 网页模板网站模板网页制作模板内容互换
  • 企业简介范文大全惠州seo博客报价
  • 长沙网站建设招聘制作网页软件免费
  • 网站建设推广优化招聘模板竞价推广方案怎么写
  • 网站建设和网页建设的区别net做网站
  • 哪种企业适合做网站wordpress 分表
  • 大气宽屏网站模板企业源码带后台商城外贸网站设计
  • 做视频比较好的理财网站有哪些龙岗网站建设 公司推广
  • 碗网站win10必做的优化
  • 2017建设厅网站建设银行官方网网址
  • 绵阳市住房和城乡建设局网站知了seo
  • 网站开发属于什么软件我要招人在哪个网站招
  • 网站备案 时间在哪个网站可做网络夫妻
  • 服务器发布网站中国招商网