Install Tomcat7.0 on Ubuntu and run it automatically upon startup

Source: Internet
Author: User

Install Tomcat7.0 on Ubuntu and run it automatically at startup. install and install tomcat in green. Download a tomcat file and unbind it to the specified directory. Then, go to the bin folder in the tomcat directory and run sudo. /startup. sh to start 2. run tomcat7.0 automatically at startup and enter with the Root permission to enter and modify/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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ (Red) exit 0 Note: Red is the project you want to start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.