一、安装虚拟机:centos7.6
1、创建虚拟机(选择centos7,其他默认)
2、安装系统需要配置的地方(其他默认)
二、Linux文件目录结构
三、常用命令:
1、查tomcat端口
ps -ef|grep tomcat
2、查端口是否开放
netstat -anpt|grep 8080(tomcat)
grep --color=auto是grep进程的本身
3、杀占用80端口的程序
kill -s 9 PID
sudo fuser -k 80/tcp
6、vim技巧
①光标移动到首行
按键:gg
②光标移动到末行
按键:G
7、删除软件
8、权限
9、网络连接
10、cpu占用率
top
top -bn 1 -i -c
命令大全
11、修改用户密码
passwd git