安装mysql[root@ultraera~]#yuminstallmysqlmysql-servermysql-devel2.启动mysql,并设置开机自启动[root@ultraera~]#servicemysqldstart/stop/restart/status#启动/关闭/重启/状态
chkconfigmysqldon/off
[root@ultraera~]#chkconfig--list|grepmysqld
mysqld 0:off 1:off 2:o..
分类:
数据库 时间:
2014-11-28 06:30:47
阅读次数:
183
vi /etc/selinux/config #SELINUX=enforcing #注释掉 #SELINUXTYPE=targeted #注释掉 SELINUX=disabled #增加chkconfig iptables off重启
分类:
系统相关 时间:
2014-11-26 11:15:13
阅读次数:
365
关闭虚拟机防火墙:关闭命令: service iptables stop永久关闭防火墙:chkconfig iptables off两个命令同时运行,运行完成后查看防火墙关闭状态service iptables status
分类:
其他好文 时间:
2014-11-23 21:30:16
阅读次数:
170
一 服务端配置
1.配置前先关闭iptables和SELINUX,避免安装过程中报错。
[root@zabbix ~]# service
iptables stop
[root@zabbix ~]# chkconfig
iptables off
[root@zabbix ~]# getenforce
Disabled
[root@zabbix ~]#setenfor...
分类:
其他好文 时间:
2014-11-22 21:37:33
阅读次数:
314
虚拟机tomcat外部实体主机无法访问问题本地虚拟机启动后虚拟机内可以打开tomcat界面。返回到里头却无法访问。解决方案:1. 禁用防火墙(永久): chkconfig iptables off2. 停止防火墙(重启就会失效):service iptables stop在防火墙开启的情况下在ipt...
分类:
其他好文 时间:
2014-11-21 01:17:40
阅读次数:
355
查看状态:/etc/init.d/iptables?status 关闭:/etc/init.d/iptables?stop 禁止防火墙在系统启动的时候启动:/sbin/chkconfig?--level?2345?iptables?off 重启防火墙:/etc/init.d/iptables?restart 其它高...
分类:
系统相关 时间:
2014-11-21 00:12:52
阅读次数:
161
一、搭建LNMP平台案例需求:在ip地址192.168.1.10的服务器上搭建LNMP平台系统环境准备:配置固定Ip地址、关闭iptablesselinux配置yum源安装开发库软件包组和开发工具软件包组编译工具gccgcc-c++makeservicehttpdstop;chkconfig--level35httpdoffLNMP简介LNMP是网站运行平台LLin..
分类:
Web程序 时间:
2014-11-21 00:05:08
阅读次数:
234
安装ssh1 ssh服务包含两个组件 一个sshclient /sshserver,确保两者都安装且版本一致,可以从iso镜像的软件包里找或者yum install (rpm -qa || grep ssh)启动ssh服务1/etc/init.d/sshd start 启动2 chkconfig s...
分类:
系统相关 时间:
2014-11-20 18:27:36
阅读次数:
205
从配置菜单关闭防火墙是不起作用的,索性在安装的时候就不要装防火墙查看防火墙状态:/etc/init.d/iptablesstatus暂时关闭防火墙:/etc/init.d/iptablesstop禁止防火墙在系统启动时启动/sbin/chkconfig--level2345iptablesoff重启...
分类:
系统相关 时间:
2014-11-20 11:56:44
阅读次数:
283
Redflag linux安装之后,要想通过ssh远程访问,需要手动执行 service sshd start,这样sshd服务才开启。通过chkconfig可以将sshd加入到系统服务中。 [root@localhost ~]# chkconfig sshd on 可以再查看sshd的运行级别状态...
分类:
系统相关 时间:
2014-11-19 12:06:33
阅读次数:
561