随笔分类 - tast
摘要:1、DR模式下vip不在同一网段上实现过程(夸网段) cip配置: route配置 RS1配置: RS2配置: LVS配置: 2、CentOS7.6 中 nfs 客户端使用 /etc/fatab 实现开机自动挂载 [root@centos7 ~]#vim /etc/fstab 10.0.0.73:/
阅读全文
摘要:10.0.0.71服务器一键安装脚本 #!/bin/bash SRC1=https://mirror.csclub.uwaterloo.ca/apache//httpd/httpd-2.4.46.tar.bz2 SRC2=https://mirrors.bfsu.edu.cn/apache//apr
阅读全文
摘要:1、写一个一键安装 mariadb 数据库脚本。 [root@centos8 ~]# cat mariadb_install.sh #!/bin/bash DIR="/data/mysql" NAME="/usr/local/mysql" URL="https://mirrors.tuna.tsin
阅读全文
摘要:拒绝所有主机ping 当前的主机 [root@CentOS8-1 ~]#iptables -A INPUT -p icmp -j REJECT [root@CentOS8-1 ~]#iptables -vnL Chain INPUT (policy ACCEPT 0 packets, 0 bytes
阅读全文
摘要:1、在 CentOS7 中使用 gpg 创建 RSA 非对称密钥对 [root@centos7 .gnupg]#gpg --gen-key [root@centos7 .gnupg]#gpg --list-keys /root/.gnupg/pubring.gpg pub 1024R/F43101B
阅读全文

浙公网安备 33010602011771号