1、环境,CentOS7 Minimal 64位,Docker必须要64位的系统2、通过yum命令直接安装,yum install docker3、启动Docker,并将其设置为开机启动(1)启动,systemctl start docker.service(2)开机启动,systemctl ena ...
分类:
其他好文 时间:
2016-07-09 17:40:41
阅读次数:
122
现象: systemctl 启动svnserve成功,却在提交svn时提示没有权限。 systemctl 启动smb成功,却在samba访问时提示没有权限。 但手动启动svnserve和smb后,问题消失。 解决办法: 将selinux关闭 分析: systemctl 会走selinux,直接启动会 ...
分类:
其他好文 时间:
2016-07-07 22:27:41
阅读次数:
350
# systemctl #输出已激活单元# systemctl list-units #输出已激活单元# systemctl --failed #输出运行失败的单元# systemctl list-unit-files #查看所有已安装服务# systemctl start nginx #启动ngi ...
分类:
其他好文 时间:
2016-07-01 11:35:20
阅读次数:
109
本人linux系统 Centos7 1.Err2003 我个人的情况是因为linux中防火墙开启并阻止了3306这个mysql端口的远程连接 解决办法: CentOS 7.0默认使用的是firewall作为防火墙,现在要将其关闭 systemctl stop firewalld.service #停 ...
分类:
数据库 时间:
2016-07-01 01:04:59
阅读次数:
212
前期准备:systemctlset-defaultgraphical.targetreboot或者systemctl
isolategraphical.target驱动图形化ifconfig查看IP地址cat/etc/resolv.conf查看DNShostname查看主机名systemctlstopiptablessystemctldisableiptablessystemctlmaskiptablessystemctlstopebtablessystemctl..
分类:
其他好文 时间:
2016-06-29 01:23:33
阅读次数:
1896
一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable fire ...
分类:
其他好文 时间:
2016-06-28 18:25:49
阅读次数:
186
# 查看正在运行的服务 systemctl # 查看某个服务的状态 systemctl status httpd.service # 启动服务 systemctl start foo.service 如:systemctl start httpd.service # 停止服务 systemctl s ...
分类:
其他好文 时间:
2016-06-27 19:45:59
阅读次数:
136
1、查看网络状态systemctl status NetworkManager You can use the systemctl status NetworkManager command to verify its current status. When NetworkManager come ...
分类:
Web程序 时间:
2016-06-27 19:31:49
阅读次数:
253
CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。 1、关闭firewall: systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firew ...
分类:
其他好文 时间:
2016-06-27 15:11:51
阅读次数:
174
关闭防火墙 [root@ldapmaster2 ~]# systemctl disable firewall [root@ldapmaster2 ~]# systemctl stop firewall [root@ldapmaster2 ~]# setenforce 0 #暂时关闭selinux 安 ...
分类:
Web程序 时间:
2016-06-26 22:31:35
阅读次数:
173