本人原有一win7的系统,出于学习linux的需要所以在现有的win7系统上安装 centos7.看了许多的教程,尝试了好几次都没有成功,但是得到了很多启发和帮助。
在CentOS7 ip命令代替ifconfig命令Linux配置网络,mac一定要和本机是对的,一定不能少yum install nginx php55u php55u-fpm mysql56u mysql56u-server这是mysql community社区版的repo源sudo yum -y...
分类:
其他好文 时间:
2015-08-07 18:57:07
阅读次数:
231
直接命令:service firewalld stop ? 1. Disable Firewalld Service. [root-centos7-tejas-barot-linux?~] 2. Stop Firewalld Service. [root-centos7-tejas-barot-linux?~] 3. Install iptables service rela...
分类:
其他好文 时间:
2015-08-07 16:42:49
阅读次数:
337
一、配置防火墙,开启80端口、3306端口CentOS7.0默认使用的是firewall作为防火墙,这里改为iptables防火墙。1、关闭firewall:
systemctlstopfirewalld.service#停止firewall
systemctldisablefirewalld.service#禁止firewall开机启动
2、安装iptables防火墙
yuminstalliptabl..
分类:
数据库 时间:
2015-08-07 16:26:57
阅读次数:
413
一、先查看当前版本[root@localhost~]#uname-r3.10.0-229.el7.x86_64二、导入KEY[root@localhost~]#keyrpm--importhttps://www.elrepo.org/RPM-GPG-KEY-elrepo.org三、安装elrepo的yum源[root@localhost~]#rpm-Uvhhttp://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarc..
分类:
其他好文 时间:
2015-08-07 16:19:43
阅读次数:
174
systemctl命令是系统服务管理器指令,它实际上将service和chkconfig这两个命令组合到一起。任务旧指令新指令使某服务自动启动chkconfig--level3httpdonsystemctlenablehttpd.service使某服务不自动启动chkconfig--level3httpdoffsystemctldisablehttpd.service检查服务状态serv..
分类:
其他好文 时间:
2015-08-07 11:29:58
阅读次数:
146
一、nagios简介Nagios是一款开源的免费网络监视工具,能有效监控Windows、Linux和Unix的主机状态,交换机路由器等网络设置,打印机等。在系统或服务状态异常时发出邮件或短信报警第一时间通知网站运维人员,在状态恢复后发出正常的邮件或短信通知。Nagios可以监控的功能有:1、..
分类:
移动开发 时间:
2015-08-06 15:15:16
阅读次数:
445
对于纯净版的CentOS7,您必须手动安装防火墙。但是你就算安装了防火墙还是不能马上运行它,你需要再做一些操作才能让它工作。在CentOS 7中按照以下步骤来设置防火墙第一步,通过yum安装system-config-firewall-tuiyum install system-config-fir...
分类:
其他好文 时间:
2015-08-06 10:44:30
阅读次数:
224
用惯了CentOS5、6的人,初换7还是有诸多的不适,这其中就包括单用户模式的进入方式。进入CentOS7单用户模式的方式:系统启动时按“e”进入编辑模式,然后找到“ro”字符所在的哪一行。将“ro”改为“rw”读写模式,然后将“rhgbquiet”替换成”init=/bin/sh“。然后按下“ctrl+..
分类:
其他好文 时间:
2015-08-05 15:04:26
阅读次数:
109
yum-ygroupinstall"ServerwithGUI"RHEL7安装图形界面1.以root角色运行以下命令来安装TigerVNCserveryuminstalltigervnc-server也可以同时安装vncclientyuminstallvnc2.配置VNCServer2.1创建一个新的配置文件,我这里是开启3号窗口,方法如下:cp/lib/systemd/system/vncserver@..
分类:
其他好文 时间:
2015-08-04 23:21:34
阅读次数:
701