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&