
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 start Starting 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 · 402 阅读 · 0 评论 -
war部署到外部tomcat的时候指定profile启动
windows 在%tomcat%/bin下创建setenv.bat文件 linux 在%tomcat%/bin下创建setenv.sh文件 使用JVM参数: windows set “JAVA_OPTS=%JAVA_OPTS% -Dspring.profiles.active=dev” Linux JAVA_OPTS="$JAVA_OPTS -Dspring.profiles.active=dev" 或者使用CATALINA_OPTS参数: CATALINA_OPTS="-Dspring.profiles原创 2020-12-08 13:31:00 · 1807 阅读 · 0 评论