https://avatars.githubusercontent.com/u/6274534

Nginx 使用

在 Nginx 中统计各个 IP 访问次数 1 awk '{print $1}' nginx_site_log.access.log | sort | uniq -c | sort -n 在 Nginx 配置文件 http 段内添加 1 client_max_body_size 1000m; 然后重启 按域名进行跳转重定向 1 2 3 4 5 6 server { listen 80; server_name example.com; rewrite ^/(.*)$ http://www.example.com/$1 permanent; }

Linux scp rsync 使用笔记

rsync 参数的具体解释如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59