linux 系统tomcat启动显示成功,8080的主页面也打开(三脚猫的页面可以打开),web程序页面打不开, 再反复查找原因后发现是防火墙没有关闭,
执行 chkconfig iptables off 永久关闭防火墙 web程序页面打开成了...
分类:
Web程序 时间:
2015-01-30 17:49:11
阅读次数:
213
#yum -y install php mysql mysql-server mysql-devel php-mysql php-cgi php-mbstring php-gd php-fastcgi#yum -y install nginx#chkconfig nginx on#yum insta...
分类:
数据库 时间:
2015-01-29 19:20:29
阅读次数:
158
启动脚本将JAVA_OPTS参数设置: vi ?/etc/rc.d/init.d/tomcat #!/bin/bash
#?chkconfig:?2345?10?90
#?description:?Starts?and?Stops?the?Tomcat?daemon.
?
export?CATALINA_HOME=/usr/local/tomc...
分类:
其他好文 时间:
2015-01-28 19:58:32
阅读次数:
321
1安装Apache
yum install httpd httpd-devel
安装完成后,用/etc/init.d/httpd start 启动apache
设为开机启动:chkconfig httpd on
2. 安装php
yum install php php-mysql php-common php-gd php-mbstring php-mc...
分类:
Web程序 时间:
2015-01-28 16:03:10
阅读次数:
164
#yum -y install memcached#/etc/rc.d/init.d/memcached start#cat /etc/sysconfig/memcached#chkconfig --add memcached#chkconfig memcached on#yum -y instal...
分类:
系统相关 时间:
2015-01-28 12:47:28
阅读次数:
139
#yum -y install nfs-utils rpcbind#service rpcbind start#service nfs start#chkconfig --add rpcbind#chkconfig rpcbind on#chkconfig --add nfs#chkconfig n...
分类:
其他好文 时间:
2015-01-28 12:35:51
阅读次数:
204
一:编译PHP并与nginx整合 【yum安装方式】yum搭建lnmp环境(CentOS6.4)1.关闭防火墙[root@CentOS ~]# chkconfig iptables off2.关闭selinuxvi /etc/sysconfig/selinux //将SELINUX=enforcin...
分类:
Web程序 时间:
2015-01-27 18:04:17
阅读次数:
211
从配置菜单关闭防火墙是不起作用的,索性在安装的时候就不要装防火墙查看防火墙状态:/etc/init.d/iptablesstatus暂时关闭防火墙:/etc/init.d/iptablesstop禁止防火墙在系统启动时启动/sbin/chkconfig--level2345iptablesoff重启...
分类:
系统相关 时间:
2015-01-27 00:24:02
阅读次数:
195
1.关闭防火墙 [root@CentOS ~]# chkconfig iptables off 2.关闭selinux vi /etc/sysconfig/selinux //将SELINUX=enforcing修改为disabled然后重启生效 3、配置CentOS 6.0 第三方yum源(Ce....
分类:
其他好文 时间:
2015-01-26 09:59:50
阅读次数:
294
转 http://www.cnblogs.com/jimeper/archive/2013/03/12/2955687.html 手工创建服务 1.在/etc/rc.d/init.d目录下创建shell脚本,文件名auto_run 2.chkconfig --add auto_run 自启动shel...
分类:
系统相关 时间:
2015-01-22 13:01:06
阅读次数:
222