摘要: 1 查找锁表的pid select pid from pg_locks l join pg_class t on l.relation = t.oid where t.relkind = 'r' and t.relname = 'lockedtable'; 2 查找锁表的语句 select pid, 阅读全文
posted @ 2019-12-24 13:41 wolbo 阅读(20144) 评论(0) 推荐(0)
摘要: 1 How to build maven project without version? 工程pom中增加 <project> ... <build> ... <finalName>${project.artifactId}</finalName> ... </build> ... </proje 阅读全文
posted @ 2019-12-19 13:56 wolbo 阅读(373) 评论(0) 推荐(0)
摘要: 1 安装nginx sudo apt-get update sudo apt-get install nginx 配置文件 /etc/nginx/nginx.conf 2 安装redis sudo add-apt-repository universe sudo apt-get update sud 阅读全文
posted @ 2019-12-14 00:51 wolbo 阅读(263) 评论(0) 推荐(0)
摘要: 配置如下 [/gscloud] path = /gscloud browseable = yes writable = yes guest ok = yes read only = no create mask = 0755 原因是 [/gscloud] 前面的/ 去掉之后可以访问了 阅读全文
posted @ 2019-12-13 19:17 wolbo 阅读(1206) 评论(0) 推荐(0)
摘要: 1 sudo adduser wolbo 2 sudo vim /etc/sudoers root ALL=(ALL) ALLwolbo ALL=(ALL) ALL wolbo ALL=(ALL) NOPASSWD:ALL 免密 阅读全文
posted @ 2019-12-13 18:24 wolbo 阅读(1855) 评论(0) 推荐(0)
摘要: 1 添加apt-get 代理配置文件 sudo vi /etc/apt/apt.conf.d/proxy.conf 2 添加内容 Acquire::http::Proxy "http://wolbo:Test6530@10.24.21.1:8888"; Acquire::https::Proxy " 阅读全文
posted @ 2019-12-13 18:03 wolbo 阅读(254) 评论(0) 推荐(0)
摘要: 1 安装xfce $ sudo yum install -y epel-release $ sudo yum groupinstall -y "Xfce" $ sudo reboot 2 安装xrdp $ sudo yum install -y epel-release $ sudo yum ins 阅读全文
posted @ 2019-12-10 14:10 wolbo 阅读(843) 评论(0) 推荐(0)
摘要: $ git checkout <another-branch> <path-to-file> [<one-more-file> ...] $ git status $ git commit -m "'Merge' specific file from '<another-branch>'" 参考: 阅读全文
posted @ 2019-12-03 21:24 wolbo 阅读(1202) 评论(0) 推荐(0)
摘要: 生成秘钥 ssh-keygen -t rsa 不要输入密码 默认生成在 ~/.ssh/id_rsa.pub 复制公钥追加至远端机器的 ~/.ssh/authorized_keys https://blog.csdn.net/qq_33319140/article/details/98965755 阅读全文
posted @ 2019-12-03 20:17 wolbo 阅读(3523) 评论(0) 推荐(0)
摘要: 1 windows echo param1>param.txt echo param2>>param.txt echo param3>>param.txt call interactive.cmd < param.txt pause 最简单的 (echo input1 && echo input2) 阅读全文
posted @ 2019-11-30 16:15 wolbo 阅读(498) 评论(0) 推荐(0)