摘要: MYSQL要想让别人远程访问自己的数据库,必须让mysql库中user表的host字段为%,接受远程控制请求 ,可以进入mysql>use mysql;mysql>update user set host="%" where user="root" and host="localhost";重启数据 阅读全文
posted @ 2019-11-13 15:00 左岸丶 阅读(1142) 评论(0) 推荐(0) 编辑
摘要: 0.查看日志tail -f /var/log/cron1.确保系统服务启动systemctl status crontab2、修改/etc/crontab每天凌晨三点,执行123.sh脚本文件,正确的和错误的日志都输出到123.log文件中0 3 * * * /bin/bash /usr/local 阅读全文
posted @ 2019-11-13 14:37 左岸丶 阅读(160) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash#切割#时间BAK_time=`date -d today +"%Y%m%d"`#log的目录BAK_PATH=/lazy/tomcat-8.5.34/logs/########################################备份目录BAK_PATH_IM=/l 阅读全文
posted @ 2019-11-13 13:56 左岸丶 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 测试分布式部署页面ssoindex.jsp <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %><!DOCTYPE html PUBLIC "-//W3C 阅读全文
posted @ 2019-11-13 11:49 左岸丶 阅读(151) 评论(0) 推荐(0) 编辑
摘要: https://www.renwole.com/archives/3571.编辑修改配置文件: # vim /usr/program/tomcat8/conf/server.xml2.禁用8005端口 默认值: <Server port="8005" shutdown="SHUTDOWN"> 修改为 阅读全文
posted @ 2019-11-13 11:23 左岸丶 阅读(483) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/huryer/article/details/79146926 1.配置用户编辑用户配置文件:$CATALINA_BASE/conf/tomcat-users.xml <role rolename="manager-gui"/><role rolename 阅读全文
posted @ 2019-11-13 11:20 左岸丶 阅读(224) 评论(0) 推荐(0) 编辑