Docker 环境部署的oracle #查询oracle 实例 docker ps -a #进入实例 docker exec -it 58aca4848691 /bin/bash #切换oracle用户 su - oracle #设置oracle 环境变量 export ORACLE_HOME=/u ...
分类:
数据库 时间:
2021-02-25 11:52:18
阅读次数:
0
论文基本信息 2018 | NIPS | Glow : Generative Flow with Invertible 1x1 Convolutions | Kingma, D. P. and Dhariwal, P. 提出的方法 基于NICE和RealNVP 使用可逆的$1\times 1$卷积代 ...
分类:
其他好文 时间:
2021-02-24 13:26:54
阅读次数:
0
思路: 1. 查询出端口所在进程的PID 2. 杀死进程(PID) Linux 查询占用的端口(如8080端口) netstate -anp | grep 8080 杀死进程 kill -9 2787 #进程的pid Mac 查询占用的端口(如8080端口) sudo lsof -i tcp:808 ...
分类:
其他好文 时间:
2021-02-20 11:59:43
阅读次数:
0
1. 创建数据库 法一:用登入默认用户postgresql创建 注:创建语句结束要记得加; 用postgresql登入数据库 sudo su - postgres psql 创建用户 CREATE USER dbuser WITH PASSWORD 'password'; 创建库 CREATE DA ...
分类:
数据库 时间:
2021-02-19 13:49:56
阅读次数:
0
普通信号的复现 1)SIGHUP 该信号在终端挂起或控制进程终止时发出,那可以通过在终端中运行进程,然后关闭终端来实现。 代码如下: 1 /** 2 * filename: signal_1.c 3 * author: Suzkfly 4 * date: 2021-02-15 5 * platfor ...
分类:
系统相关 时间:
2021-02-18 13:07:16
阅读次数:
0
Schedule timed jobs on macOS with launchd launchd is a robust scheduled job automation tool on macOS that allows you to schedule a task to be run at r ...
分类:
系统相关 时间:
2021-02-16 12:18:49
阅读次数:
0
2021/2/9_第1次修改 ccb_warlock 在很多年前整理过的容器监控方案(https://www.cnblogs.com/straycats/p/9281889.html)中,曾经采用在docker swarm中运行cAdvisor、Prometheus、Grafana来实现对容器与宿主 ...
分类:
Web程序 时间:
2021-02-10 13:23:16
阅读次数:
0
refer to: https://stackoverflow.com/questions/24387451/how-can-i-kill-whatever-process-is-using-port-8080-so-that-i-can-vagrant-up/24388281 怎么解决端口被占用的 ...
分类:
其他好文 时间:
2021-02-09 11:56:30
阅读次数:
0
失败主要是有两种 1、yarn或者npm打包失败 这种情况return code不会改变,仍然会返回0,但是日志里会报error,所以可以通过解析日志里是否有error字段来判断。 一种方法是直接读log文件,如下 error_string=`sudo cat /root/jenkins/jobs/ ...
分类:
其他好文 时间:
2021-02-08 12:44:35
阅读次数:
0
gitlab环境搭建,卸载,汉化 --卸载篇 完全卸载 停止gitlab gitlab-ctl stop 卸载gitlab rpm -e gitlab-ce 查看gitlab进程 ps aux | grep gitlab 杀掉第一个进程(就是带有好多…的进程) kill -9 pid // 杀掉后, ...
分类:
其他好文 时间:
2021-02-03 10:39:57
阅读次数:
0