06 2020 档案

摘要:为什么会出现Exited(0) docker 容器默认会把容器内部第一个进程,也就是pid=1的程序作为docker容器是否正在运行的依据,如果docker 容器pid挂了,那么docker容器便会直接退出。 # 末尾加入使得nginx在前台运行 CMD ["/usr/sbin/nginx","-g 阅读全文
posted @ 2020-06-30 23:56 LeoShi2020 阅读(1850) 评论(0) 推荐(0) 编辑
摘要:# jobs -l [1]+ 115 Running nohup /usr/local/bin/dotnet/dotnet/dotnet /usr/share/nginx/asp/publish/Wims.WebFiles.dll > myout.file 2>&1 & # kill -9 115 阅读全文
posted @ 2020-06-30 16:44 LeoShi2020 阅读(3394) 评论(0) 推荐(0) 编辑
摘要:nohup command > myout.file 2>&1 & END 阅读全文
posted @ 2020-06-30 16:39 LeoShi2020 阅读(147) 评论(0) 推荐(0) 编辑
摘要:Linux Windows 说明 /usr C:\Windows 系统目录 /usr/lib C:\Windows\System32 系统程序 /usr/local C:\ProgramFiles 用户安装程序 /opt D:\Software 用户独立软件 /usr/src 系统级源码 /usr/ 阅读全文
posted @ 2020-06-30 14:49 LeoShi2020 阅读(179) 评论(0) 推荐(0) 编辑
摘要:# uname -a Linux 2fc7cabbc5e8 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 GNU/Linux # cat /proc/version Linux version 3.10.0-1062 阅读全文
posted @ 2020-06-30 14:29 LeoShi2020 阅读(344) 评论(0) 推荐(0) 编辑
摘要:VLAN ACL # 创建访问控制裂变 acl number 3120 # 允许10.3.20.0/24段访问服务器10.1.40.12 rule 10 permit ip source 10.3.20.0 0.0.0.255 destination 10.1.40.12 0 # 允许10.3.20 阅读全文
posted @ 2020-06-30 08:26 LeoShi2020 阅读(520) 评论(0) 推荐(0) 编辑
摘要:# 进入VLAN接口 interface Vlanif26 # 配置网关 ip address 10.3.26.254 255.255.255.0 # DHCP服务范围(接口下还是中继) dhcp select interface dhcp server gateway-list 10.3.26.2 阅读全文
posted @ 2020-06-30 08:09 LeoShi2020 阅读(1437) 评论(0) 推荐(0) 编辑
摘要:关闭主虚拟机 新增SCSI控制器 添加硬盘 从属服务器新增SCSI控制器同样关闭虚拟主机 选择刚才创建的磁盘 添加存储 END 阅读全文
posted @ 2020-06-22 21:21 LeoShi2020 阅读(795) 评论(0) 推荐(0) 编辑
摘要:打开镜像 一定添加DNS条目,否则后患无穷 选择服务器存放文件夹目录 耐心等待 第二阶段 设置账号密码 登录 END 阅读全文
posted @ 2020-06-22 13:23 LeoShi2020 阅读(347) 评论(0) 推荐(0) 编辑
摘要:# 切换grid账户 [root@rac1 ~]# su - grid # 连接数据库 [grid@rac1 ~]$ sqlplus / as sysasm # 查看实例名 SQL> select instance_name from v$instance; INSTANCE_NAME +ASM1 阅读全文
posted @ 2020-06-19 11:14 LeoShi2020 阅读(2881) 评论(0) 推荐(0) 编辑
摘要:ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa -q 参数 作用 -t 类型 -N 密码 -f 文件名 -q 静默 END 阅读全文
posted @ 2020-06-13 10:28 LeoShi2020 阅读(1234) 评论(0) 推荐(0) 编辑
摘要:#hostnamectl set-hostname db1 END 阅读全文
posted @ 2020-06-12 16:21 LeoShi2020 阅读(320) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示