虚拟机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
1.Centos安装Mysql 1 --安装 2 yum install mysql-server 卸载 yum -e mysql-server 3 --设置为开机启动 4 chkconfig mysqld on 5 --启动mysql 6 service mysqld start 7 --设置.....
分类:
系统相关 时间:
2014-11-18 23:02:47
阅读次数:
285
chkconfig命令主要用来更新(启动或停止)和查询系统服务的运行级信息。谨记chkconfig不是立即自动禁止或激活一个服务,它只是简单的改变了符号连接。使用语法:chkconfig [--add][--del][--list][系统服务] 或 chkconfig [--level ][系统服务...
分类:
系统相关 时间:
2014-11-18 17:26:51
阅读次数:
176
1、安装使用chkconfig --list查看系统是否已经安装有vsftpd服务,若有,跳过此步骤。使用yum命令直接安装,并为塔创建日志文件[root@iZ23o5qv2ozZ /]# yum -y install vsftpd ......[root@iZ23o5qv2ozZ /]# tou....
分类:
其他好文 时间:
2014-11-18 00:18:32
阅读次数:
209
#!/bin/bash
# chkconfig: - 85 15
#descrīption: service(/usr/local/gearmand-1.1.12/sbin/gearmand)
. /etc/rc.d/init.d/functions
start() {
echo -n $"Starting $prog"
echo -e " gearman : ...
分类:
其他好文 时间:
2014-11-15 23:19:09
阅读次数:
496