Linux常用操作

Redis相关:

src/redis-server redis.conf
redis-cli shutdown
redis-cli -h 127.0.0.1 -p 6379 shutdown

 

数据库相关:

service mysql start
service mysql stop
service mysql restart
service mysql status
mysql -uroot -proot

Tomcat相关:

tomcat systemctl start tomcat
tomcat systemctl restart tomcat
tomcat systemctl disable tomcat

项目相关:

java -jar  boot.jar
java -jar  boot.jar & 
nohup java -jar boot.jar&

 

posted @ 2018-08-20 09:03  谁将新樽辞旧月,今月曾经照古人  阅读(90)  评论(0编辑  收藏  举报