ICode9

精准搜索请尝试: 精确搜索
  • centos7 封装ks文件到iso2022-02-10 22:34:40

    一、步骤整理 1、挂载镜像 mkdir /mnt/cdrom mount -o loop CentOS-7-x86_64-Minimal-2009.iso /mnt/cdrom 2、安装工具 yum -y install anaconda createrepo mkisofs rsync syslinux 3、 同步/mnt/cdrom/下的文件到/ISO/路径下,除了Packages和repodata文件夹  /usr/bin

  • Pxe自动安装脚本配置方法2022-01-13 14:02:50

    Pxe自动安装脚本配置方法: yum安装system-config-kickstart [root@localhost ~]# yum -y install system-config-kickstart 修改/var/lib/tftpboot/pxelinux.cfg/default文件: 在append initrd 的最后添加ks路径,用空格隔开: ks=ftp://192.168.140/ks.cfg [root@localhost ~]#  sys

  • prometheus基本使用2021-07-29 10:04:31

    # monitor prometheus We use prometheus,alertmanager,grafana and other tools to monitoring our systems and services. ## Prometheus Prometheus is an open-source systems monitoring and alerting toolkit - Prometheus pull data from exporters or from pushgatewa

  • Linux中awk的简单使用举例2020-04-26 10:00:46

    1 编写脚本selinux.sh,实现开启或禁用SELinux功能 通过sed命令对centos7的/etc/selinux/config文件进行编辑: 开启selinux功能:sed -i.bak 's@SELINUX=disabled@SELINUX=enforcing@' /etc/selinux/config 关闭selinux功能:sed -i.bak 's@SELINUX=enforcing@SELINUX=disabled@' /etc/s

  • CentOS cfg2020-02-24 16:00:46

    以下cfg模板都是带图行化的 CentOS 7.6.cfg   #version=DEVEL# System authorization informationauth --enableshadow --passalgo=sha512# Use CDROM installation media#cdrominstallurl --url=$tree# Use graphical installgraphical# Run the Setup Agent on first bootfirst

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有