上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 66 下一页
摘要: Tomcat在启动是提示: INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. 阅读全文
posted @ 2019-11-19 08:23 yshy 阅读(4313) 评论(1) 推荐(0)
摘要: http { #WebSocket代理配置 map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { location /app { proxy_set_header Host $host; proxy_set_header X-real-ip $remote_addr; proxy_set_head 阅读全文
posted @ 2019-11-18 10:28 yshy 阅读(566) 评论(0) 推荐(0)
摘要: 1:autodeploy_tomcat_app.sh 2:将test.war上传至/home/test/apache-tomcat-8.5.34目录,然后执行以下脚本进行部署 阅读全文
posted @ 2019-11-15 14:18 yshy 阅读(523) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Doc 阅读全文
posted @ 2019-11-11 10:24 yshy 阅读(1700) 评论(0) 推荐(0)
摘要: 在磁盘目录下有几十个txt文件,里面存储着XML格式的数据,每个文件在2-3M左右,现在需要将以上文件解析出来保存到mysql数据库,总数据量大概在30万条左右。 (1)首先通过stream并发解析TXT文件,然后将解析的结果按照LOAD DATA的标准全部保存到一个文件中; (2)步骤(1)执行完 阅读全文
posted @ 2019-11-09 16:16 yshy 阅读(1065) 评论(0) 推荐(0)
摘要: 1:load_data_test.sh 备注:$?如果为1表示脚本执行出错,为0表示脚本执行成功。 2:java代码 3:测试 阅读全文
posted @ 2019-11-09 16:03 yshy 阅读(2171) 评论(0) 推荐(1)
摘要: 以root用户登录mysql控制台 (1)首先查询 (2)然后根据条件进行更新 阅读全文
posted @ 2019-10-28 20:55 yshy 阅读(840) 评论(0) 推荐(0)
摘要: 编辑server.cnf增加以下配置: 然后重启mysql服务器即可。 阅读全文
posted @ 2019-10-28 20:53 yshy 阅读(594) 评论(0) 推荐(0)
摘要: #!/bin/sh date=`date +%Y%m%d\[%H:%M:%S]` n=`mysqladmin -uroot -p** processlist | grep -i sleep | wc -l` echo "sleep count:$n" if [ "$n" -gt 10 ]; then for i in `mysqladmin -uroot -p** processlist | gr 阅读全文
posted @ 2019-10-10 10:19 yshy 阅读(901) 评论(0) 推荐(1)
摘要: 1:添加 MariaDB yum 仓库 vi /etc/yum.repos.d/MariaDB.repo在该文件中添加以下内容保存: 2:安装 MariaDB (1)安装完毕后,立即启动数据库服务守护进程。 (2)设置 MariaDB 在操作系统重启后自动启动服务 (3)查看 MariaDB 服务当 阅读全文
posted @ 2019-10-10 09:24 yshy 阅读(1410) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 66 下一页