摘要: 1 检查环境iptables selinuxmariadb-server 2 下载二进制包 3 useradd -r -d /data/mysqldb -s /sbin/nologin mysql 4 tar xvf mariadb-10.2.15-linux-x86_64.tar.gz -C /u 阅读全文
posted @ 2023-07-14 19:19 Xuxuxu2022 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 1 vim /etc/named.confacl beijingnet { 192.168.30.0/24;};acl shanghainet { 172.20.0.0/16; };acl othernet { any;}; options { listen-on port 53 { localho 阅读全文
posted @ 2023-07-14 19:18 Xuxuxu2022 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 安装包yum install cobbler(EPEL) dhcp systemctl enable cobblerd dhcpd httpd tftpsystemctl start cobblerd httpd tftp 2 cobbler check 3 vim /etc/cobbler/s 阅读全文
posted @ 2023-07-14 19:17 Xuxuxu2022 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 0 selinux ,firewall 关闭1 安装包yum install dhcp tftp-server httpd syslinuxsystemctl enable dhcpd httpd tftp.socketsystemctl start httpd 2 准备YUM源 mkdir /va 阅读全文
posted @ 2023-07-14 19:16 Xuxuxu2022 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 0 selinux ,firewall 关闭1 安装包yum install dhcp tftp-server httpd syslinuxsystemctl enable dhcpd httpd tftp.socketsystemctl start httpd 2 准备YUM源 mkdir /va 阅读全文
posted @ 2023-07-14 19:15 Xuxuxu2022 阅读(14) 评论(0) 推荐(0) 编辑
摘要: A ssh-keygen ssh-copy-id A scp -rp /root/.ssh B:/root/ scp -rp /root/.ssh C:/root/ [root@centos6 ~]#cat ssh_key.sh <<EOF #!/bin/bash rpm -q expect &> 阅读全文
posted @ 2023-07-14 19:12 Xuxuxu2022 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 建立Root CA 1)生成私钥 (umask 077;openssl genrsa -out private/cakey.pem 4096 ) 2)自签名证书 openssl req -new -x509 -key private/cakey.pem -out cacert.pem -days 阅读全文
posted @ 2023-07-14 19:09 Xuxuxu2022 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1 修改文件context chcon restorecon semange fcontext -l 2 semanage port -l 3 semanage boolean -l setseboot -P ftpd_anon_write=1 4 vim /etc/selinux/config s 阅读全文
posted @ 2023-07-14 19:07 Xuxuxu2022 阅读(4) 评论(0) 推荐(0) 编辑
摘要: rm -f /boot/* 实验:破坏grub stage1 实验:破坏grub stage1.5 实验:破坏grub stage2 实验:expect 自动在多台主机创建用户test,并设置初始口令 centos6 启动流程 1 post 硬件环境 2 mbr 446 grub stage1 3 阅读全文
posted @ 2023-07-14 19:06 Xuxuxu2022 阅读(19) 评论(0) 推荐(0) 编辑
摘要: Oracle19c DG环境准备过程配置hostsecho "192.168.1.51 fgedu51">> /etc/hostsecho "192.168.1.70 fgedu70">> /etc/hosts关闭防火墙systemctl stop firewalld.servicesystemct 阅读全文
posted @ 2023-05-31 16:45 Xuxuxu2022 阅读(130) 评论(0) 推荐(0) 编辑