Docker学习(十二)中遇到的一些问题汇总 标签(空格分隔): docker docker: Error response from daemon: Conflict. The container name "/myubuntu" is already in use docker containe ...
分类:
其他好文 时间:
2020-01-21 15:57:49
阅读次数:
86
crontab 详细用法 定时任务 转自:http://blog.chinaunix.net/uid-25785357-id-3434344.html 使用crontab你可以在指定的时间执行一个shell脚本或者一系列Linux命令。例如系统管理员安排一个备份任务使其每天都运行 如何往 cron ...
分类:
其他好文 时间:
2020-01-21 00:27:39
阅读次数:
100
1.CentOS6 (1)以rsync为例 bash !/bin/bash chkconfig: 2345 20 80 description: rsync.sh function start_rsync { if [ ! s /var/run/rsyncd.pid ];then /usr/bin/ ...
分类:
其他好文 时间:
2020-01-14 20:20:43
阅读次数:
236
chkconfig命令使用 自启动目录脚本应该放在/etc/init.d/ [root@localhost ~]$ chkconfig --list # 列出所有被chkconfig管理的服务 [root@localhost ~]$ chkconfig --add httpd # 添加指定的服务,让 ...
分类:
其他好文 时间:
2020-01-14 10:14:11
阅读次数:
93
系统优化 关闭系统安全服务 iptables --Centos6防火墙 临时关闭 /etc/init.d/iptables stop /etc/init.d/iptables status services stop iptables 永久关闭 chkconfig iptables off chkc ...
分类:
系统相关 时间:
2020-01-11 20:47:11
阅读次数:
144
1、创建脚本 # vi /etc/init.d/nginx #!/bin/bash # nginx Startup script for the Nginx HTTP Server # it is v.0.0.2 version. # chkconfig: - 85 15 # description ...
分类:
其他好文 时间:
2020-01-08 10:50:04
阅读次数:
70
chkconfig NetworkManager off chkconfig network on service NetworkManager stop service network start /etc/init.d/network restart ...
分类:
系统相关 时间:
2020-01-04 01:01:54
阅读次数:
318
系统安全相关优化(将一些安全服务进行关闭) 1. 防火墙服务程序 centos6 查看防护墙服务状态 /etc/init.d/iptables status 临时关闭防火墙服务 /etc/init.d/iptables stop /etc/init.d/iptables status 永久关闭防火墙 ...
分类:
系统相关 时间:
2020-01-03 15:33:23
阅读次数:
101
《关系型数据库与非关系型数据库》 关系数据库:mysql、oracle、DB2、SQL Server非关系数据库:Redis、MongodDB、Memcached《类型:文档型、key-value型、图形》 《关系型数据库与非关系型数据库主要区别》1、数据存储方式不同关系型数据库存储在硬盘中,非关系 ...
分类:
数据库 时间:
2019-12-31 12:27:55
阅读次数:
82
集群搭建之主从复制 主从复制原理 binlog日志 查看binlog日志: mysqlbinlog 文件名称 关闭主从机器的防火墙策略 1、检查防火墙当前的状态service iptables status 2、永久关闭实验机的防火墙chkconfig iptables off 3、打开防火墙chk ...
分类:
其他好文 时间:
2019-12-30 21:22:14
阅读次数:
96