docker 启动文件 /usr/lib/systemd/system/docker.service 安装docker yum install docker 启动docker systemctl start docker 修改 docker 配置文件 vi /etc/sysconfig/docker 给OPTIONS添加参数(新版本7的doc...
分类:
其他好文 时间:
2015-09-10 13:15:54
阅读次数:
169
一、安装Centos 官网下载Centos 7刻录成光盘后安装二、安装apache yum install httpd #根据提示,输入Y安装即可成功安装 systemctl start httpd.service #启动apache systemctl stop httpd.service #停止...
分类:
其他好文 时间:
2015-09-06 12:36:11
阅读次数:
146
Fix “Unit iptables.service failed to load: No such file or directory” Error In CentOS7 最近在升级CentOS7遇到问题systemctl restart iptables.service Failed to is...
分类:
其他好文 时间:
2015-09-05 22:08:57
阅读次数:
373
安装php:sudo yum install php php-fpm php-mysql php-mbstring php-mcrypt php-sockets php-curl php-common php-xml启动php-fpm:sudo systemctl start php-fpm设置自动...
分类:
Web程序 时间:
2015-09-05 17:40:21
阅读次数:
249
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。firewall:systemctl start firewalld.service#启动firewallsystemctl stop firewalld.service#停止firewallsystemct...
分类:
其他好文 时间:
2015-09-03 01:50:01
阅读次数:
260
一、配置防火墙,开启FTP服务器需要的端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service#停止firewallsystemctl disable firewalld...
分类:
其他好文 时间:
2015-08-31 16:44:37
阅读次数:
178
进入/usr/local/apache-tomcat-8.0.24/bin 中执行:./startup.sh开启tomcat再执行如下systemctl stop firewalld.service(systemctl start firewalld.service),关闭防火墙。到此在Cnetos...
分类:
Web程序 时间:
2015-08-31 13:20:41
阅读次数:
165
方法一:使用命令安装(前提是已经安装了EPEL)。 ? 安装redis: ? yum -y install redis ? 启动/停止/重启 Redis ?启动服务: ?1 ?systemctl start redis.service ?停止服务: ? systemctl stop redis.s...
分类:
其他好文 时间:
2015-08-31 10:24:10
阅读次数:
260
添加yum源: [nginx]
name=nginx?repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1 安装: ????yum -y install nginx 启动服务: ????/bin/systemctl star...
分类:
其他好文 时间:
2015-08-31 07:43:14
阅读次数:
244
一.在控制节点安装服务:
yum install samba samba-client samba-swat
启动samba服务:
[root@controller-rdo system(keystone_admin)]# service smb restart
Redirecting to /bin/systemctl restart smb.service
配置sam...
分类:
其他好文 时间:
2015-08-30 21:29:50
阅读次数:
284