Python is one of the most popular programming languages in the world. With its simple and easy to learn syntax, Python is a great choice for beginners and experienced developers. Python is quite a ver...
报错的原因: 在运行的docker容器中 执行命令启动nginx [root@Localhost ~]# docker run -p 0.0.0.0:1030:22 0.0.0.0:8800:80 -t -i --name AdminSet centos [root@03e74fb6...
登录一台CentOS 机器,发现登录都提示如下警告: -bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8):...
openssl x509部分命令 打印出证书的内容: openssl x509 -in cert.pem -noout -text 打印出证书的系列号: openssl x509 -in cert.pem -noout -serial 打印出证书的拥有者名字 openssl x509 -in cert.pem -noout -subject 以RFC2253规定的格式打印出证书的拥有者名字 ope...
这个脚本是使用 shell编写,为了快速在生产环境上部署lnmp/lamp/lnmpa/lnmt(Linux、Nginx/Tengine/OpenResty、 MySQL/MariaDB/Percona、PHP、Apache、Tomcat),适用于CentOS 5~7(包括redhat)、Debian 6~8、Ubuntu 12~16的32位和64位。 可根据需求自由组合以下: lnmp(Linu...
功能:自动检测是否有尚未分区的数据盘,格式化新的数据盘并自动挂载 解决了什么问题:一键式检测是否有尚未分区的数据盘,并能对其格式化和自动挂载,省去了复杂的命令和步骤 执行方法:以root身份执行命令 wget auto_fdisk.sh chmod +x auto_fdisk.sh ./auto_fdisk.sh vim auto_fdisk.sh &...
service aegis stop chkconfig --del aegis wget http://update.aegis.aliyun.com/download/uninstall.sh sh uninstall.sh wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh sh quartz_uninstall....
speedtest-cli命令 常用工具命令 speedtest-cli是一个使用python编写的命令行脚本,通过调用speedtest.net测试上下行的接口来完成速度测试,最后我会测试运维生存时间所在服务器的外网速度。项目地址:https://github.com/sivel/speedtest-cli 安装speedtest-cli speedtest-cli需要在python 2.4-3...
备份方式 热备份:读写不受影响(mysqldump–>innodb) 温备份:仅可以执行读操作(mysqldump–>myisam) 冷备份:离线备份,读写都不可用 逻辑备份:将数据导出文本文件中(mysqldump) 物理备份:将数据文件拷贝(xtrabackup、mysqlhotcopy) 完整备份:备份所有数据 增量备份:仅备份上次完整备份或增量备份以来变...
注意Centos7.4系统以下需要升级内核,否则会安装失败 yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum makecache fa...