查看内存信息free -h查看目录大小du -sh * (*代表当前目录下所有文件及其文件夹大小)重新载入服务systemctl daemon-reload将nginx服务设置为开机启动systemctl enable nginx.service将nginx服务关闭开机启动systemctl di...
分类:linux
9 篇文章1、下载acme git clone https://gitee.com/neilpang/acme.sh.git cd acme.sh ./acme.sh --install -m 你的邮箱 2、腾讯云dnp中心创建一个tokenhttps://console.dnspod.cn/account/...
#!/bin/bash # 设定日期变量,以在备份文件名中使用 DATE=$(date +%Y%m%d%H%M) # MySQL 容器的 ID 或者名称 CONTAINER="" # MySQL 用户名和密码 USER="root" PASSWORD="123456" DATABAS...
1、开启ip转发 echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf 2、重启应用 systemctl restart network sysctl net.ipv4.ip_forward systemctl restart docker...
pipeline { agent any stages { stage('Build') { steps { // Get some code from a GitHub repository ...
1、yum安装nfs(服务端)yum -y install nfs-utils#启动rpcbind服务systemctl start rpcbind #将rpcbind设置为开机启动systemctl enable rpcbin#启动nfssystemctl start nfs# 将nfs设置为开...