ChinaUnix.net
相关文章推荐:

linux 普通用户启动 resin 80

前几天,公司要配置一个linux+resin+jdk环境发布程序,开发想使用80端口来发布,同时想使用普通用户xxx来启动服务/usr/local/resin/bin/httpd.sh,结果无法绑定80,程序起来后80端口没有监听,查看日志/usr/local/resin/log/stdout.log出现permission deny无法绑定80的提示,但使用root来启动就没有问题,后来上网一查,发现只有root才能使用1024以下端口来发布程序,普通用户是没有权利的。 本文来自ChinaUnix博客,如果查看...

by zhaoyingfei - Linux文档专区 - 2008-12-16 10:50:43 阅读(1367) 回复(0)

相关讨论

翻译:越活越明白 resin.sh 最简单的方式启动linux下的resin,是要修改您的resin.sh ,并建立符号连结在/etc/rc.d/rc3.d和/ etc/rc.d/rc5.d 。由于启动过程中未设置环境变量,您需要在resin.sh设置它们。 1.在resin/bin下复制 resin.sh 文件为 resin-a.sh 并改变权限. 2.在resin-a.sh中配置 JAVA_HOME, resin_HOME, PATH 和 "-pid". 3.检查"resin-a.sh start" 和 "resin-a.sh stop" 用root通过命令行运行看是否可用. 4.ln -s /u...

by admin126com - Linux文档专区 - 2008-12-10 14:04:15 阅读(1237) 回复(0)

Mandriva2006 ,tomcat-5.5.16 tomcat默认的8080端口,普通用户启动了可以访问。 http://localhost:8080/ server.xml中我把它改成80.但是普通用户启动了却不能访问。 http://localhost:80/ su 换成root用户后,再启动,就可以访问了。怎么设置?

by loveboylxy - Java - 2006-06-01 06:17:24 阅读(6386) 回复(9)

linux上如何让普通用户启动tomcat 在80端口????????????????????

by lordshand - 服务器应用 - 2008-08-14 22:48:40 阅读(4886) 回复(2)

linux系统中我一般采用编译源码的方式来安装Apache,有两种方法可以让Apache在系统启动时自动启动。 1. 在/etc/rc.d/rc.local中增加启动apache的命令,例如:/usr/local/httpd/bin/apachectl start 2. 将apache注册为系统服务 首先将apachectl命令拷贝至/etc/rc.d/init.d目录下,改名为apache 使用编辑器打开apache文件,并在第一行#!/bin/sh下增加两行文字如下 # chkconfig: 35 70 30 # description: Apache 接着注册该服务 ch...

by ghan - Linux文档专区 - 2008-12-31 02:04:42 阅读(1076) 回复(0)

http://www.chedong.com/tech/resin.html 作者: 车东 chedong@bigfoot.com 版权声明:可以任意转载,转载时请务必标明原始出处和作者信息 内容摘要: 将resin-version/contrib/init.resin.in复制到/etc/rc.d/init.d/resin 修改resin中的一些设置:JAVA_HOME resin_HOME USER 等 用/sbin/chkconfig resin on将resin服务在启动级别345设置成自启动 在慢速CPU的机器上启动时,需要加入一个15秒的延时帮助JAVA启动 我最习惯的设...

by sdccf - Linux文档专区 - 2008-05-03 00:42:38 阅读(759) 回复(0)

[root@back bin]# ./httpd.sh start perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "zh", LANG = "zh" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 请教大家了!

by blucec - Linux论坛 - 2005-01-14 09:53:55 阅读(759) 回复(4)

[root@back bin]# ./httpd.sh start perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "zh", LANG = "zh" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 请教大家了!

by blucec - Linux系统管理 - 2005-01-14 09:53:55 阅读(992) 回复(4)

分别grep mysqld 和 resin可以吗,还是别的名称,请大虾指教一二. 这样可以吗 ps -aux | grep mysqld

by zzblue - MySQL - 2005-04-29 15:20:42 阅读(3269) 回复(0)

要让开机自动运行,怎么办? :em02:

by lsw - 服务器应用 - 2005-04-22 15:22:34 阅读(995) 回复(1)

各位,resin能用resin启动吗,在线等。 ps -aux|grep resin 看到启动用户都是root,当然我是root起的。 可是配置文件里改成 resin resin 然后安装文件的属主也都改成resinresin了 可是还是不行 请各位大虾指教 谢谢

by colin - 服务器应用 - 2008-05-21 10:13:32 阅读(2851) 回复(2)