在Ubuntu安装Tomcat7.0及开机自动运行
2015-01-23 15:16
417 查看
在Ubuntu安装Tomcat7.0及开机自动运行
1.安装装Tomcat7.0
一般都是绿色版的,下载一个tomcat7.0解开到指定的目录上即可
然后进入tomcat目录的bin文件夹,执行 sudo ./startup.sh即可完成启动
2.开机自动运行tomcat7.0
用Root权限进入,进入并修改/etc/rc.local
如下:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/media/D/Tools/tomcat7.0/bin/startup.sh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (红色)
exit 0
注:红色的是你开机要启动的项目
本文来自:Linux学习教程网
1.安装装Tomcat7.0
一般都是绿色版的,下载一个tomcat7.0解开到指定的目录上即可
然后进入tomcat目录的bin文件夹,执行 sudo ./startup.sh即可完成启动
2.开机自动运行tomcat7.0
用Root权限进入,进入并修改/etc/rc.local
如下:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/media/D/Tools/tomcat7.0/bin/startup.sh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (红色)
exit 0
注:红色的是你开机要启动的项目
本文来自:Linux学习教程网
相关文章推荐
- 在Ubuntu安装Tomcat7.0及开机自动运行
- 在Ubuntu下安装nodejs4.x,并实现开机自动启动forever进程守护nodejs应用后台运行
- ubuntu 12.0.4 安装tomcat6 ,开机自动启动tomcat6
- Ubuntu下手动安装角度1.7.0+eclipse3.7.1 for jee+tomcat7.0
- SAP ERP 2004 SR1 安装手册(四) SAP服务器的开机自动运行设置
- S60 3.0上的程序安装后启动和程序开机自动运行
- 实现tomcat做服务器在windows/linux下开机自动运行
- Tomcat 绿色版开机自动运行
- ubuntu10.04 LTS安装中文输入法(ibus)和开机自动启动ibus应用
- (参考)ubuntu shell脚本开机自动运行的方法
- S60 3.0上的程序安装后启动运行和程序开机自动运行
- 免安装版tomcat在windows下开机自动启动的方法
- S60 3.0上的程序安装后启动和程序开机自动运行
- ubuntu添加开机自动运行程序方法
- ubuntu添加开机自动运行程序方法
- C# 设置程序开机自动运行/设置&获取程序的安装路径
- 将Tomcat加入服务,实现开机自动运行
- (转)S60 程序安装后启动运行和程序开机自动运行
- S60 3.0上的程序安装后启动运行和程序开机自动运行
- Android手机上安装Ubuntu系统并运行tomcat