linux
qq_44783481
这个作者很懒,什么都没留下…
展开
-
centos 7 mysql启动失败 Can‘t start server: can‘t create PID file: No such file or directory
[root@spark01 ~]# /etc/init.d/mysqld startStarting mysqld (via systemctl): Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.原创 2020-12-08 15:55:39 · 326 阅读 · 0 评论 -
war部署到外部tomcat的时候指定profile启动
windows在%tomcat%/bin下创建setenv.bat文件linux在%tomcat%/bin下创建setenv.sh文件使用JVM参数:windowsset “JAVA_OPTS=%JAVA_OPTS% -Dspring.profiles.active=dev”LinuxJAVA_OPTS="$JAVA_OPTS -Dspring.profiles.active=dev"或者使用CATALINA_OPTS参数:CATALINA_OPTS="-Dspring.profiles原创 2020-12-08 13:31:00 · 1536 阅读 · 0 评论