1.系统环境说明 CentOS 7.0 x64 版本 192.168.1.7 master 192.168.1.8 slave 192.168.1.9 slave 192.168.1.10 slave 2.安装前的准备工作 2.1 关闭防火墙 #?systemctl?status?firewalld.service??--查看防火墙...
分类:
其他好文 时间:
2014-09-15 13:02:39
阅读次数:
387
启动apache服务出现Jobfailed.Seesystemlogsand‘systemctlstatus‘fordetails.查看错误提示看日志cat/var/log/messages|grephttpd原来是编辑httpd.conf文件时候第196行出错vi/etc/httpd/conf/httpd.confsystemctlstarthttpd.service解决
分类:
其他好文 时间:
2014-09-10 19:37:51
阅读次数:
494
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2014-09-10 01:37:39
阅读次数:
392
systemd的服务管理程序systemctl是最主要的工具。它融合 service 和chkconfig的功能于一体。你可以使用它永久性或只在当前会话中启用/禁用服务。下面命令用于列出正在运行的服务或其他: systemctl更多详细信息请参考手册页(man systemctl)。systemd-...
分类:
其他好文 时间:
2014-09-10 01:36:49
阅读次数:
310
systemd使用比sysvinit的运行级别更为自由的target概念作为替代第三运行级:multi-user.target第五运行级:graphical.target#前者是符号链接指向了后面的targetrunlevel3.target -> multi-user.targetrunlevel...
分类:
其他好文 时间:
2014-09-04 09:30:57
阅读次数:
221
配置防火墙,开启80端口、3306端口:CentOS 7.0默认使用的是firewall作为防火墙关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止firew.....
分类:
其他好文 时间:
2014-08-26 21:26:26
阅读次数:
266
Fedora19安裝配置NFS并连接开发板 zyl-1014-5-6
安装启动NFS服务
安装NFS服务#yum install nfs-utils*#yum install portmap
关闭Fedora默认的防火墙,#systemctl stop firewalld
启用NFS服务# systemctl enable nfs-server.service
ln -s '/lib/s...
分类:
其他好文 时间:
2014-08-25 17:02:12
阅读次数:
244
一、配置防火墙,开启80端口、3306端口CentOS 7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:systemctl stop firewalld.service #停止firewallsystemctl disable firewall...
分类:
数据库 时间:
2014-08-23 16:34:21
阅读次数:
463
1.以root角色运行以下命令来安装TigerVNCserveryuminstalltigervnc-server也可以同时安装vncclientyuminstallvnc2.配置VNCServer2.1创建一个新的配置文件,我这里是开启3号窗口,方法如下:cp/lib/systemd/system/vncserver@.service/lib/systemd/system/vncserver@:3.service2..
分类:
其他好文 时间:
2014-08-21 19:37:05
阅读次数:
318
centos7默认的php是5.5,mysql已经变为mariadb,如果想要自定义的配置,需要自己手动来编译配置.以下步骤在公司服务器上已经正常操作过.1、安装centos7选择基本安装,配置完网络后首先要先关闭firewall:停止firewall# systemctl stop firewal...
分类:
其他好文 时间:
2014-08-19 23:42:05
阅读次数:
495