上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: #设置禁止连接 UPDATE pg_database SET datallowconn = 'false' WHERE datname = 'test'; #中断会话连接 SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE dat 阅读全文
posted @ 2021-05-31 09:50 小清澈 阅读(301) 评论(0) 推荐(0)
摘要: vi /etc/httpd/conf/httpd.conf Listen 80 #apache 访问端口 DocumentRoot "/home/dir" #目录 <Directory "/home/dir"> # # Possible values for the Options directiv 阅读全文
posted @ 2021-05-27 10:59 小清澈 阅读(59) 评论(0) 推荐(0)
摘要: vi /etc/mail.rc set from=xxxxxx@qq.com set smtp=smtp.qq.com set smtp-auth-user=xxxxxx@qq.com set smtp-auth-password=QQ邮箱服务器认证密码 set smtp-auth=login se 阅读全文
posted @ 2021-05-27 10:49 小清澈 阅读(267) 评论(0) 推荐(0)
摘要: #安装yum,存在即忽略 yum install yum-utils #安装依赖 yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel #配置yum源 vi /etc/yum.repos.d/nginx.repo [n 阅读全文
posted @ 2021-05-25 16:37 小清澈 阅读(809) 评论(0) 推荐(1)
摘要: #最新稳定版Redis下载地址 https://download.redis.io/redis-stable.tar.gz #上传后解压 tar -zxvf redis-stable.tar.gz #编译 cd redis-stable make #设置后台启动 vi redis.conf daem 阅读全文
posted @ 2021-05-25 16:19 小清澈 阅读(132) 评论(0) 推荐(0)
摘要: PG&HG: create user wangshn01 with password 'Wsn@Gwx&Za2019' create database wangshn01 owner wangshn01 grant all PRIVILEGES on DATABASE wangshn01 to wa 阅读全文
posted @ 2021-05-25 10:27 小清澈 阅读(529) 评论(0) 推荐(0)
摘要: #查询用户会话信息 SELECT * FROM V_SYS_SESSIONS; #获取schame下所有表名 select TABLE_NAME from all_tables WHERE OWNER =‘schamename’; #获取表结构 SELECT * where owner='scham 阅读全文
posted @ 2021-05-25 09:25 小清澈 阅读(1216) 评论(0) 推荐(0)
摘要: #创建表空间create tablespace test datafile '/opt/dmdbms/data/DAMENG/gsptest.dbf' size 256; #创建用户 create user test identified by 123456789 default tablespac 阅读全文
posted @ 2021-05-25 09:18 小清澈 阅读(310) 评论(0) 推荐(0)
摘要: 负载均衡环境搭建,nginx.conf 配置文件内容记录一下。 worker_processes auto;events { worker_connections 1024;}http { client_header_timeout 600; client_body_timeout 600; cli 阅读全文
posted @ 2021-05-24 22:33 小清澈 阅读(15) 评论(0) 推荐(0)
摘要: 1、本地下载jacoco,然后在启动脚本中 追加 -javaagent:C:\Users\Administrator\Desktop\jacoco-0.8.5\lib\jacocoagent.jar=includes=*,output=tcpserver,port=1027,address=10.1 阅读全文
posted @ 2021-05-24 19:37 小清澈 阅读(626) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 下一页