在centos7上直接使用yum -y install docker就可以直接安装docker了 docker help 可以获得命令帮助 启动docker systemctl start docker.service 配置文件:/etc/sysconfig/docker docker images ...
分类:
其他好文 时间:
2016-07-15 00:40:16
阅读次数:
190
systemctl命令是系统服务管理指令,它实际上是将service和chkconfig两个命令组合到一起。 systemctl status httpd.service(显示服务详细信息) systemctl is -active httpd.service(仅显示是否Active) ...
分类:
系统相关 时间:
2016-07-15 00:02:34
阅读次数:
179
一、撤换系统防火墙 注:CentOS 7.2默认系统防火墙是firewall,这里改为iptables防火墙。 1、关闭firewall systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service ...
分类:
数据库 时间:
2016-07-14 19:02:48
阅读次数:
394
一.安装 以root用户运行以下命令来安装vncserver; yum install tigervnc-server 同样运行以下命令来安装vncviewer; yum install vnc 停止并禁用防火墙; systemctl stop firewalld.service systemctl ...
分类:
其他好文 时间:
2016-07-10 12:40:06
阅读次数:
331
linux设置静态ip的时候一直报错:Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details. 把我坑了好几个小时,在这写一个随笔,希望遇到这个问题 ...
分类:
系统相关 时间:
2016-07-10 01:01:23
阅读次数:
339
安装报错: Transaction check error: file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflic ...
分类:
其他好文 时间:
2016-07-09 17:48:47
阅读次数:
222
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
systemd详解 CentOS 7 使用systemd替换了SysV。Systemd目的是要取代Unix时代以来一直在使用的init系统,兼容SysV和LSB的启动脚本,而且够在进程启动过程中更有效地引导加载服务。 systemd的特性有: 支持并行化任务 同时采用socket式与D-Bus总线式 ...
分类:
其他好文 时间:
2016-07-07 09:42:32
阅读次数:
187
centos7上执行yumgroupinstall"VirtualizationHypervisor"出错错误提示:
Transactioncheckerror:
file/usr/lib/systemd/system/blk-availability.servicefrominstallofdevice-mapper-7:1.02.107-5.el7_2.5.x86_64conflictswithfilefrompackagelvm2-7:2.02.105-14.el7.x86_64
f..
分类:
其他好文 时间:
2016-07-01 16:34:39
阅读次数:
262