Linux命令整理

# 查询程序进程号 ps -ef | grep “程序名” # 干掉进程 kill -9 进程号 # 一键安装nginx到/etc yum install nginx # 启动nginx service nginx start # 重启nginx service nginx restart # 一键安装tomcat到/etc yum -y install tomcat tomcat-webapps tomcat-admin-webapps tomcat-docs-webapp tomcat-javadoc rpm -Uvh http://dl.fedoraproject …