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

利用jquery做音乐网站宁阳网站seo推广

利用jquery做音乐网站,宁阳网站seo推广,购物网站开发英文文献,wordpress调用文章自定义字段一、kickstart简介 kickstart是红帽发行版中的一种安装方式#xff0c;它通过以配置文件的方式来记录linux系统安装的各项参数和想要安装的软件。只要配置正确#xff0c;整个安装过程中无需人工交互参与#xff0c;达到无人值守安装的目的。 二、kickstar文件的生成 进入/…一、kickstart简介 kickstart是红帽发行版中的一种安装方式它通过以配置文件的方式来记录linux系统安装的各项参数和想要安装的软件。只要配置正确整个安装过程中无需人工交互参与达到无人值守安装的目的。 二、kickstar文件的生成 进入/root目录找到模板anaconda-ks.cfg根据模板编辑kickstar文件检测kickstar语法错误 [rootwestosa ~]# cat westos.cfg #versionRHEL8 #ignoredisk --only-usevda autopart --typelvm# Partition clearing information clearpart --all --initlabel# Use graphical install #graphical text# Use CDROM installation media #cdro url --urlhttp://172.25.254.100/westos# Keyboard layouts keyboard --vckeymapus --xlayoutsus# System language lang en_US.UTF-8 # Network information network --bootprotodhcp --deviceenp1s0 --onbootno --ipv6auto --no-activate network --hostnamelocalhost.localdomain repo --nameAppStream --baseurlhttp://172.25.254.100/westos/AppStream# Root password #rootpw --plant westos rootpw --iscrypted $6$xPOQGqf3UsUPjuV5$wMByLsY60INgTbIO.VgyD8lawrmDlzXTaVkHeSiFjYxywVxzvfLX9uprA66CnugTo5m9mzW9fgAio3fkR1Bih/# X Window System configuration information xconfig --startxonboot# Run the Setup Agent on first boot #firstboot --enable firstboot --disable# System services services --disabledchronyd # System timezone timezone Asia/Shanghai --isUtc --nontpreboot%packages base firefox %end%post touch /mnt/westosfile{1..10} %end [rootwestosa ~]# 1. 进目录找模板 [rootwestosa ~]# cd /root/ [rootwestosa ~]# ls anaconda-ks.cfg Documents fstab Music Public Videos Desktop Downloads initial-setup-ks.cfg Pictures Templates [rootwestosa ~]# cp anaconda-ks.cfg westos.cfg [rootwestosa ~]# ls anaconda-ks.cfg Documents fstab Music Public Videos Desktop Downloads initial-setup-ks.cfg Pictures Templates westos.cfg [rootwestosa ~]# vim westos.cfg 2. 编辑kickstar文件 具体编辑步骤如下 一定要仔细否则后续无法安装 注意加密密码如何生成 ps:所有文件连接必须都可以在浏览器打开 例如 3.检测kickstar语法错误 安装检测软件检测没有反应则语法正确 [rootwestosa ~]# dnf search kickstar Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Last metadata expiration check: 0:43:22 ago on Sun 30 Jul 2023 06:52:16 PM CST.Name Summary Matched: kickstar pykickstart.noarch : Python utilities for manipulating kickstart files. python3-kickstart.noarch : Python 3 library for manipulating kickstart files. [rootwestosa ~]# dnf install -y pykickstart.noarch Updating Subscription Management repositories.检测方法ksvalidator 脚本名 [rootwestosa ~]# ksvalidator westos.cfg The following problem occurred on line 21 of the kickstart file:Unexpected arguments to lang command: [--addaupportzh_CN.UTF-8]出现错误修改脚本再次检测没有错误了ps:只能检测出语法错误 [rootwestosa ~]# ksvalidator westos.cfg [rootwestosa ~]# 三、 部署安装所需环境 搭建好软件仓库建立共享目录/var/www/html/westos共享镜像资源安装httpd和dhcp服务关闭火墙共享ks脚本复制ks脚本到共享目录修改权限配置dhcp服务之前学过 以上全部在虚拟机westosa上完成!! 1. 搭建软件仓库 首先要有镜像资源从主机发送到虚拟机发现虚拟机内存不够因此可以通过挂载设备发送 首先需要一块10G的硬盘镜像为7.9G。然后分区 将该设备挂载在/iso目录 然后发送镜像成功 [rootwestosa ~]# cd /iso/ [rootwestosa iso]# ls rhel-8.2-x86_64-dvd.iso [rootwestosa iso]# 新建共享目录将镜像挂载在该目录上 249 mkdir /var/www/html/westos250 mount /iso/rhel-8.2-x86_64-dvd.iso /var/www/html/westos/编辑配置文件保证文件都可以打开则软件仓库配置成功 [rootwestosa ~]# cd /etc/yum.repos.d/ [rootwestosa yum.repos.d]# ls redhat.repo westos.repo [rootwestosa yum.repos.d]# cat westos.repo [AppStream] nameAppStream baseurlhttp://172.25.254.100/westos/AppStream gpgcheck0 gpgkey/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release enabled1[BaseOS] nameBaseOS baseurlhttp://172.25.254.100/westos/BaseOS gpgcheck0 gpgkey/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release enabled1[rootwestosa yum.repos.d]# 2. 共享镜像资源 安装httpd和dhcp服务并且关闭火墙开启httpd服务 245 dnf install httpd dhcp-server -y246 systemctl enable --now httpd247 systemctl status httpd248 systemctl disable --now firewalld3. 共享ks脚本修改权限 共享ks脚本到共享目录保证主机都可以看见 252 cp westos.cfg /var/www/html/253 chmod 644 /var/www/html/westos.cfg 共享结果如下 4. 配置dhcp服务 在westosa为dhcp服务器在上面配置dhcp服务保证其他主机有ip可以访问共享目录 254 dnf search dhcp255 cat /etc/dhcp/dhcpd.conf 256 cp /usr/share/doc/dhcp-server/dhcpd.conf.example /etc/dhcp/dhcpd.conf257 vim /etc/dhcp/dhcpd.conf258 systemctl restart dhcpd259 systemctl enable --now dhcpddhcp的配置文件如下认真不要写错 [rootwestosa dhcp]# cat dhcpd.conf # dhcpd.conf # # Sample configuration file for ISC dhcpd ## option definitions common to all supported networks... option domain-name westos.org; option domain-name-servers 172.25.254.100;default-lease-time 600; max-lease-time 7200;# Use this to enble / disable dynamic dns updates globally. #ddns-update-style none;# If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. #authoritative;# Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). log-facility local7;# No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology.#subnet 10.152.187.0 netmask 255.255.255.0 { #}# This is a very basic subnet declaration.subnet 172.25.254.0 netmask 255.255.255.0 {range 172.25.254.10 172.25.254.20;#option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org; }[rootwestosa dhcp]# 四、测试 测试ks脚本 在虚拟机管理界面创建新的虚拟机 1. 选择创建方式 2. 填写镜像及ks脚本目录 后续就是分配内存大小等和之前创建虚拟机一样 填写完成后等待加载。。。。。如果出现错误检查ks脚本和dhcp配置 加载完成后可以登陆用户进入/mnt目录发现有10个文件 证明成功
http://www.dnsts.com.cn/news/231393.html

相关文章:

  • 赣州市建设工程造价管理网站湖南网站建站系统哪家好
  • 定制小程序网站开发公司贵阳小程序开发
  • 珠海网站建站自学ui设计需要多久
  • 网站建设怎么报印花税如何营销推广
  • 书荒小说阅读器是哪个网站做的中国最好的网站建设有哪些
  • dede学校网站模板下载北京大型广告公司有哪些
  • 重庆网站推广入口网站建设 兼职 外包
  • 比58同城做的好的网站海口网约车资格证在哪里报名
  • 佛山网站设计中心wordpress批量发布器
  • vultr 搭建wordpress优化大师有必要安装吗
  • php开源网站网站备案 万网
  • 坪山商城网站建设哪家便宜成都外贸网站建设
  • 织梦音乐网站品牌建设运营的最高境界是
  • 秦皇岛哪里做网站上海响应式网站制作公司
  • 直播间 网站建设大理州城乡建设局官方网站
  • 万网网站根目录坪山公司网站建设
  • 成功的微网站wordpress购物分享主题
  • 免费空间建网站中小型网站建设与管理总结
  • 咸阳市建设银行网站51zwd一起做网站
  • 如何看一个关键词在某个网站是否被百度收录重庆营销网站
  • 网站开发与经营大庆加油app下载老版本
  • 自己建站的网站《网站开发实例》pdf下载
  • 旅游网站制作视频百度云七台河新闻哪里看回放
  • 个人适合做的网站重庆网络建站
  • 嘉兴专业自助建站免费咨询黄页88网企业名录
  • 上海手机站网站建设浙江网站建设电话
  • 建站出海网站建设的概念
  • 怎样免费设计网站建设word上下页边距怎么设置
  • 高校网站建设需求分析html5网站开发书籍
  • 利用百度图片做网站外链房地产网站的设计要求