随笔分类 -  Linux

CentOS
摘要:安装Certbot-auto cd /mnt/runtime mkdir certbot-auto wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto 生成证书 ./certbot-auto certonly -d *.domain 阅读全文
posted @ 2020-10-01 21:48 网无忌 阅读(892) 评论(0) 推荐(0)
摘要:vim /etc/profile 在 后面添加命令位置,例如nginx: export PATH=/usr/local/nginx/sbin:$PATH 保存更改并退出 使配置生效: source /etc/profile 阅读全文
posted @ 2020-10-01 21:40 网无忌 阅读(168) 评论(0) 推荐(0)
摘要:示例 删除目录、子目录及文件 rm -rf xxx 将当前目录内的所有文件添加压缩包 zip -q -r xxx.zip * 解压缩到当前目录 unzip -q xxx.zip ls 英文全拼:list files 用于显示指定工作目录下之内容(文件及子目录) -a 显示所有文件及目录 (ls内定将 阅读全文
posted @ 2020-09-29 23:01 网无忌 阅读(234) 评论(0) 推荐(0)
摘要:阿里的一台ECS还有一个月到期,就趁这一个月的时间,用它来学习一下梦寐已久的CentOS。 由于历史原因,一直使用Windows环境,还从没接触过任何一种Linux系统。 在服务器端部署MySQL/Tomcat/Ngix环境时,同配置的低成本ECS,如果使用Win系列,除了系统开销就不剩多少了,但L 阅读全文
posted @ 2016-07-05 16:36 网无忌 阅读(378) 评论(0) 推荐(0)