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

网络营销常用的工具有哪些seo工程师是什么职业

网络营销常用的工具有哪些,seo工程师是什么职业,贵阳建站公司模板,帝国网站后台认证码错误部署三台Rockylinux9服务器 实验要求 1. 自动安装ubuntu server20以上版本 2. 自动部署三台Rockylinux9服务器,最小化安装,安装基础包,并设定国内源,设静态IP 实验步骤 安装软件 # yum源必须有epel源 # dnf install -y epel-re…

部署三台Rockylinux9服务器

实验要求

1. 自动安装ubuntu server20以上版本

2. 自动部署三台Rockylinux9服务器,最小化安装,安装基础包,并设定国内源,设静态IP

实验步骤

安装软件

# yum源必须有epel源

# dnf install -y epel-release

#关闭防火墙和selinux

systemctl stop firewalld && systemctl disable firewalld

sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config

# reboot

三、部署Cobbler

1、安装软件

# dnf -y install cobbler dhcp-server

dnf -y install syslinux dnf-plugins-core pykickstart

创建三台虚拟机,设定MAC地址

将三台虚拟机的MAC地址记录下来:
00:50:56:3B:64:2F

00:50:56:23:4A:8E

00:50:56:39:61:7A

2、配置cobbler

(1)修改Cobbler主配置文件

# 生成密文密码

openssl passwd -1 "qweasd"

$1$hNAtwYE4$.l1apMwOWpCDpSmE.MBdG0

#设置root密码

vi /etc/cobbler/settings.yaml

default_password_crypted: "$1$hNAtwYE4$.l1apMwOWpCDpSmE.MBdG0"

$1$hNAtwYE4$.l1apMwOWpCDpSmE.MBdG0

# cobbler接管dhcp

manage_dhcp: true

manage_dhcp_v4: true

#cobbler服务器地址

server: 192.168.8.100 --指定自己的ip地址

#tftp地址

next_server_v4: 192.168.100.128 --指定自己的ip地址

#cobbler接管tftp

manage_tftpd: true

#当bios首选启动项是pxe时,此项设置为true,可避免重启反复安装系统,否则为false

pxe_just_once: true

  1. 修改dhcp模版文件

添加

    host server01 {

       hardware ethernet 00:50:56:3B:64:2F;  

       fixed-address 192.168.8.110;         

     }

     host server02 {

       hardware ethernet 00:50:56:23:4A:8E;  

       fixed-address 192.168.8.120;         

     }

     host server03 {

       hardware ethernet 00:50:56:39:61:7A;  

       fixed-address 192.168.8.130;         

     }

# vi /etc/cobbler/dhcp.template

……

subnet 192.168.8.10 netmask 255.255.255.0 { #-网段和子网掩码

     option routers             192.168.8.2; #-网关

     option domain-name-servers  8.8.8.8; #dns

     option subnet-mask         255.255.255.0;

     range dynamic-bootp        192.168.8.100 192.168.8.254; #--起始范围

     host server01 {

       hardware ethernet 00:50:56:3B:64:2F;   #-复制自己生成的mac地址

       fixed-address 192.168.8.110;         

     }

     host server02 {

       hardware ethernet 00:50:56:23:4A:8E;  

       fixed-address 192.168.8.120;         

     }

     host server03 {

       hardware ethernet 00:50:56:39:61:7A;  

       fixed-address 192.168.8.130;         

     }

     default-lease-time         21600;

     max-lease-time             43200;

     next-server                $next_server_v4;

……

(3)启动cobbler,同步配置

# systemctl enable --now cobblerd

# cobbler sync

(4)启动dhcp、tftp、http服务

# systemctl enable --now tftp httpd dhcpd

#生成引导加载程序 cobbler mkloaders ,此命令适用cobblerV3.3.1及之后的版本

# cobbler mkloaders

# 查看

# ls /var/lib/cobbler/loaders/

grub         libcom32.c32  linux.c32  menu.c32

ldlinux.c32  libutil.c32   memdisk    pxelinux.0

3、导入系统镜像资源

# 挂载光盘镜像

# mount /dev/cdrom /mnt/ #虚拟机挂载

# 导入系统镜像资源,并查看

cobbler profile add --name rocky-9-x86_64 --distro=rocky-9-x86_64 --autoinstall=rocky9.ks

# cobbler distro list

rocky-9-x86_64

# cobbler profile list

rocky-9-x86_64

注:导入的镜像资源存放在 /var/www/cobbler/distro_mirror/目录中。

#重启cobbler,同步配置

# systemctl restart cobblerd

# cobbler sync

#查看生成的启动菜单

# cat /var/lib/tftpboot/pxelinux.cfg/default

定义应答文件

# vi /var/lib/cobbler/templates/rocky9.ks

# version=Rocky9

ignoredisk --only-use=nvme0n1

# Partition clearing information

clearpart --all --initlabel

# Use graphical install

text

# Use CDROM installation media

# url --url=http://192.168.8.10/cblr/links/rocky9-x86_64/

url --url=$tree

reboot

# Keyboard layouts

keyboard --vckeymap=cn --xlayouts='cn'

# System language

lang en_US.UTF-8

selinux --disabled

firewall --disabled

# Network information

network  --bootproto=dhcp --device=ens33 --ipv6=auto --activate

# Root password

rootpw --iscrypted $1$s14oAn0D$evyEyWiCjQGRaDrI8UeP90

# Run the Setup Agent on first boot

firstboot --enable

# Do not configure the X Window System

skipx

# System services

services --disabled="chronyd"

# System timezone

timezone Asia/Shanghai --isUtc --nontp

# Disk partitioning information

zerombr

part /boot --fstype="ext4" --ondisk=nvme0n1 --size=1024

part /swap --fstype="swap" --ondisk=nvme0n1 --size=2048

part / --fstype="xfs" --ondisk=nvme0n1 --grow --size=1

%packages

@base

@^minimal-environment

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

sed -e 's|^mirrorlist=|#mirrorlist=|g' \

    -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockylinux|g' \

    -i.bak \

    /etc/yum.repos.d/Rocky-*.repo

%end

%post

#!/bin/sh

#设置允许root用户ssh登录

echo "PermitRootLogin yes" >>/etc/ssh/sshd_config

sysemctl restart sshd

%end

%anaconda

pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty

pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok

pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty

%end

#更新启动菜单

# cobbler profile remove --name rocky-9-x86_64

# cobbler profile add --name rocky-9-x86_64 --distro=rocky-9-x86_64 --autoinstall=rocky9.ks

重启cobbler,同步配置

# systemctl restart cobblerd

# cobbler sync

# cobbler profile list

rocky-9-x86_64

测试


文章转载自:

http://bQtOaVqg.xqLtq.cn
http://tTLipdQd.xqLtq.cn
http://9qfFahvm.xqLtq.cn
http://eVq0klP4.xqLtq.cn
http://5HIrGj38.xqLtq.cn
http://sJ6tvK8N.xqLtq.cn
http://RkI2fW52.xqLtq.cn
http://6qydjjE6.xqLtq.cn
http://xJicBznT.xqLtq.cn
http://hFTZg9FX.xqLtq.cn
http://cqeQ7T1d.xqLtq.cn
http://G02qvsUx.xqLtq.cn
http://Do9dTxdO.xqLtq.cn
http://vRRcwdlu.xqLtq.cn
http://6yz2C83T.xqLtq.cn
http://UIDD7iHk.xqLtq.cn
http://sgndW7Fw.xqLtq.cn
http://KVb3AE1X.xqLtq.cn
http://aRM0HBeW.xqLtq.cn
http://1gcQQTKo.xqLtq.cn
http://QbstdgdI.xqLtq.cn
http://pc6UxbYH.xqLtq.cn
http://UfsAQ03V.xqLtq.cn
http://TDbpVlVy.xqLtq.cn
http://0FZ3K4dz.xqLtq.cn
http://TZiM6iZs.xqLtq.cn
http://a7UWAVmY.xqLtq.cn
http://55l5CrgR.xqLtq.cn
http://kzCE2Sp7.xqLtq.cn
http://GIuSXFat.xqLtq.cn
http://www.dtcms.com/wzjs/664561.html

相关文章:

  • 和小孩做的网站网业升级坊问
  • pr效果做的好的网站有哪些wordpress 开发者
  • 销售 网站平面广告设计要学的软件
  • 网站建设维护合同书十堰微网站建设
  • 河南建设人才招聘专业网站建站平台在线提交表格
  • 云服务器有哪些seo优化工作内容
  • 青岛建站通如何创建网页链接
  • 网站策划技巧做一个网站建设
  • 昆山建设银行交学费的网站从零开始网站开发
  • 如何给网站做关键词优化建立手机网站
  • 菏泽住房和城乡建设厅网站网站建设指的是什么
  • 建站网址导航hao123建行生活网页版登录入口
  • 南网站建设网站建设推荐信息
  • 建设商城网站公司 百度百科东丽天津网站建设
  • 网站建设柒首先金手指1哈尔滨市建设工程交易网
  • 省示范院校建设网站知果果网站谁做的
  • 外贸电商网站开发益阳在线官网
  • angularjs的网站模板付费推广方式有哪些
  • 网站建设功能报价单武威 网站建设
  • 湛江有没有做网站的网页开发需求定制
  • 怎么做html5网站吗域名查询中国万网
  • 域名解析完成网站怎么做受欢迎的合肥网站建设
  • 网站突然不收录2017房地产开发建设网站
  • 建设设计网站公司网店网站建设的步骤过程
  • 中国站长网入口营销型企业网站功能
  • 昆山做网站优化坪地网站建设价格
  • 天津网站制作哪个好免费个人网站制作在线
  • 手机网站在哪里找到互联网行业有哪些
  • 用wordpress制作网站做网站做app区别
  • 商务东莞网站推广优化