LinuxMint/Ubuntu 关机重启等待 90 秒问题的解决办法(其他发行版也可行):1.安装 watchdogsudo apt install watchdog 2.开启 watchdog 服务sudo systemctl enable watchdog.service 3.马上启用 wat ...
分类:
系统相关 时间:
2017-05-28 14:55:36
阅读次数:
421
1. yum 安装 sudo yum install cockpit 2. 允许启动 sudo yum install cockpit 2. 允许启动 sudo systemctl enable --now cockpit.socket 3. 可选的插件 sudo systemctl enable ...
分类:
其他好文 时间:
2017-05-27 23:07:41
阅读次数:
1242
http://blog.csdn.net/zhangli_perdue/article/details/50264681 OpenStack里虚机(或者叫instance)只有在分配floating IP后才能访问外网,那么需要怎样做配置才能达到目的呢? 1. 需要在网络节点上确定一个可以访问外网的 ...
分类:
其他好文 时间:
2017-05-27 19:01:06
阅读次数:
237
1、firewalld的基本使用 启动: systemctl start firewalld 查看状态: systemctl status firewalld 停止: systemctl disable firewalld 禁用: systemctl stop firewalld 2.systemc ...
分类:
其他好文 时间:
2017-05-27 13:25:09
阅读次数:
173
CentOS7.0中已经没有service命令,而是启用了systemctl服务器命令systemctl是系统服务管理器命令,它实际上将service和chkconfig这两个命令组合到一起。下面以nfs服务为例:1.启动nfs服务systemctlstartnfs-server.service2.设置开机自启动systemctlenablenfs-server.service3...
分类:
其他好文 时间:
2017-05-26 21:53:56
阅读次数:
202
在云服务器 ECS Linux CentOS 7 下重启服务不再通过 service 操作,而是通过 systemctl 操作。 操作说明如下: 1. 查看 sshd 服务是否启动: 看到上述信息就可以确定是启动了。 2. 如果没有启动,则需要启动该服务:systemctl start sshd.s ...
分类:
系统相关 时间:
2017-05-25 15:44:43
阅读次数:
283
一、Galera Cluster简介 1.1 galera cluster 介绍 Galera Cluster是MariaDB的一个双活多主集群,其可以使得MariDB的所有节点保持同步,Galera为MariaDB提供了同步复制(相对于原生的异步复制),因此其可以保证HA,且其当前仅支持XtraD ...
分类:
数据库 时间:
2017-05-25 09:54:56
阅读次数:
388
一,mariadb 1,centos安装mariadb yum list mariadb-server yum install mariadb-server rpm -qa|grep mariadb-server systemctl start mariadb netstat -tunlp 二,my ...
分类:
数据库 时间:
2017-05-24 00:41:39
阅读次数:
262
任务计划 指定一个未来的某个时间点执行任务有三种方式 at:一次性任务。 cron:周期性任务。 at使用介绍 CentOS 6:service atd status ##目前启动状态 CentOS 6:chkconfig --list atd ##是否开机启动 CentOS 7:systemctl ...
分类:
其他好文 时间:
2017-05-23 19:37:22
阅读次数:
276
vim /etc/ssh/sshd_config PermitRootLogin yes => PermitRootLogin no systemctl restart sshd.service netstat -tulnp|grep sshd vim /etc/ssh/sshd_config Po... ...
分类:
其他好文 时间:
2017-05-22 13:35:55
阅读次数:
281