摘要:https://blog.csdn.net/qq_34246965/article/details/109258656 1)清理pagecache(页面缓存)echo 1 > /proc/sys/vm/drop_caches或sysctl -w vm.drop_caches=1[root@ackh-
阅读全文
摘要:https://www.cnblogs.com/bethal/p/5514557.html
阅读全文
摘要:参考:https://www.cnblogs.com/duhuo/p/8323812.html location ^~ /tea/ { root /usr/local/nginx/html/; } 请求:http://test.com/tea/tea1.html 实际访问:/usr/local/ng
阅读全文
摘要:user root;worker_processes 1;events { worker_connections 1024;}http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nop
阅读全文
摘要:参考:https://blog.csdn.net/qq_38872310/article/details/79805445 tengine 配置: location / { root html; index index.html index.htm; } location = /nginx_stat
阅读全文
摘要:#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections ...
阅读全文
摘要:set showmode set rulerset autoindentsyntax onset ts=4set expandtabset autoindent
阅读全文
摘要:screen commands: # 新增会话screen -S <session name> # 查询会话screen -ls # 删除会话screen -r <detached screen pid> # 退出会话ctrl + a,dctrl + a,kscreen -X -S <session
阅读全文
摘要:JAVA_HOME=/usr/jdk1.8.0_131export JAVA_HOMEMAVEN_HOME=/usr/apache-maven-3.3.9export MAVEN_HOMEJENKINS_HOME=/usr/JenkinsHomeexport JENKINS_HOMEPATH=$PA
阅读全文
摘要:http://www.mamicode.com/info-detail-515900.html 一、LVM简介 LVM是 Logical Volume Manager(逻辑卷管理)的简写,它是Linux环境下对磁盘分区进行管理的一种机制。LVM将一个或多个磁盘分区(PV)虚拟为一个卷组(VG),相当
阅读全文
摘要:通过traceroute我们可以知道信息从你的计算机到互联网另一端的主机是走的什么路径。当然每次数据包由某一同样的出发点(source)到达某一同样的目的地(destination)走的路径可能会不一样,但基本上来说大部分时候所走的路由是相同的。linux系统中,我们称之为traceroute,在M
阅读全文
摘要:1.基本用法启动: systemctl start firewalld查看状态: systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld 2.systemctl是CentOS7的服务
阅读全文
摘要:1.查看本机关于IPTABLES的设置情况iptables -L -niptables --listmore /etc/sysconfig/iptablesservice iptables status #查看状态 2.清除原有规则iptables -Fiptables -X 保存规则/etc/rc
阅读全文
摘要:1:下载安装cmake (mysql5.5以后是通过cmake来编译的) 2:创建mysql的安装目录及数据库存放目录 #mkdir /usr/mysql //安装mysql #mkdir /usr/mysql/data //存放数据库 3:创建mysql用户及用户组 #groupadd mysql
阅读全文
摘要:参考:http://www.cnblogs.com/sixiweb/p/3360008.html
阅读全文