一边学一边写的,不太完整。
Jenkins
Installation: centos7安装nginx并配置前端环境 - simplesally - 博客园
Change to root: jenkins 构建出现 permission-denied问题_feifei10244499的博客-CSDN博客
Install maven: linux 安装 maven 、解决:bash: mvn: command not found
Nginx
Start and stop nginx locally:
1 | cd /usr/local/webserver/nginx/sbin |
Config nginx when system starts:
(config nginx to systemctl first, then systemctl enable)
Ref: centos7下安装、配置Nginx、设置Nginx开机自启动 - 阿木工作室 - 博客园
Linux
Kill process
# check port
netstat -apn | grep 9999
# check process iD
ps -ef | grep httpd
# kill process
kill -HUP PID
kill -9 PID
Get my IP address
ip addr show
Extract tar.gz
# 解开一个tar
tar -xvf etcbak.tar
# 解压一个tar.gz
tar -zxvf etcbak.tar.gz
Meaning of zxvf:
- z 通过gzip支持的压缩或解压缩。还有其他的压缩或解压缩方式,比如j表示bzip2的方式
- x 解压缩
- v 在压缩或解压缩过程中显示正在处理的文件名
- f f后面必须跟上要处理的文件名。
Trojan
1 | cd /usr/src/trojan |
把 proxychains 放入 shell 中:
1 | Nginx |