随笔分类 -  linux

摘要:1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc 阅读全文
posted @ 2019-09-26 11:29 suruozhong 阅读(3202) 评论(0) 推荐(0)
摘要:下载erlang http://www.rabbitmq.com/releases/erlang/erlang-19.0.4-1.el7.centos.x86_64.rpm 下载rabbitmq https://www.rabbitmq.com/download.html#erlang-client 阅读全文
posted @ 2019-09-25 18:09 suruozhong 阅读(215) 评论(0) 推荐(0)
摘要:1, 安装crontab yum install vixie-cron yum install crontabs 说明:vixie-cron软件包是cron的主程序;crontabs软件包是用来安装、卸装、或列举用来驱动 cron 守护进程的表格的程序。cron 是linux的内置服务,但它不自动起 阅读全文
posted @ 2019-09-19 16:26 suruozhong 阅读(1595) 评论(0) 推荐(0)
摘要:释放网页缓存(To free pagecache): echo 1 > /proc/sys/vm/drop_caches 释放目录项和索引(To free dentries and inodes): echo 2 > /proc/sys/vm/drop_caches 释放网页缓存,目录项和索引(To free pagecache, dentries and inodes): echo 3 > /p 阅读全文
posted @ 2019-09-12 17:46 suruozhong 阅读(2078) 评论(0) 推荐(0)
摘要:购买免费证书 购买之后 申请证书 该域名必须添加一条TXT记录 根据提示添加记录 下载证书 我用的nginx做的映射,所以下载nginx nginx安装自行百度 将下载的文件解压到nginx目录下(创建一个cert目录) 添加配置 server { listen 80; server_name ww 阅读全文
posted @ 2019-09-06 13:09 suruozhong 阅读(392) 评论(0) 推荐(1)