服务器部署
-
find命令计算代码行数详解程序员
[[email protected] ~/lvs/ipvsadm-1.26]>>find ./ -maxdepth 3 -regex ‘.*Makefile.…
-
linux技巧—-查找某个正在执行的脚本详解程序员
如果在机器上发现有执行的脚本,却不知道在哪,可以这样找 例如 # netstat -ltnp Active Internet connections (only servers) …
-
shell 里的正则详解程序员
#!/bin/bash variable=”This is a fine mess.” echo “$variable” # Regex matching with =~ oper…
-
关于keepalive详解程序员
linux内核配置有一项tcp_keepalive_time,即tcp的保活定时器。当网络上两个建立连接的进程都没有数据向对方发送的时候,tcp会隔段时间发送一次保活数据,以保持连…
-
nginx log format详解程序员
log_format main ‘$remote_addr – $remote_user $time_local “$request_method http://$host$req…
-
nginx静态页面镜像详解程序员
user root; worker_processes 4; #error_log logs/error.log; #error_log logs/error.log notice…
-
nginx关于uri的变量详解程序员
在nginx中有几个关于uri的变量,包括$uri $request_uri $document_uri,下面看一下他们的区别 : $request_uri: /stat.php?…
-
Quartz框架调用Demo详解程序员
Quartz框架调用Demo 任务调度在JAVA应用程序中运用的十分普遍,掌握QUARTZ是必备的技能; 官网:http://www.quartz-scheduler.org/&n…
-
squid 日志分析脚本详解程序员
awk ‘ {buffer[$(NF-1)]++} END { for(x in buffer) print buffer[x]”/t”x; }’ access.log | awk…
-
编译安装bind详解程序员
$tar zxvf bind-9.9.3-P1.tar.gz $yum install -y make gcc gcc-c++ open-ssl openssl-devel $cd…