Tomcat, Linux Server

Source: Internet
Author: User

Tomcat, Linux Server


The command to use
Decompression command: TAR-ZXVF file name




Configuration:
Vi/etc/profile

Press I to enter insert mode


Add the code at the end of the file:

Export java_home=/usr/local/server/jdk1.8.0_91
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export tomcat_home=/usr/local/server/apache-tomcat-7.0.69
Export path= $PATH: $JAVA _home/bin: $TOMCAT _home/bin



Is the configuration file effective method:
1. Restart your computer
2.source/etc/profile



Installing the MARIADB Database

Command: yum-y Install mariadb*

Systemctl Start Mariadb.service
Systemctl Enable Mariadb.service
Mysql_secure_installation


To modify the Tomcat port number:
Vi/usr/local/server/apache-tomcat-7.0.69/conf/ser ... Xml


Tomcat, Linux Server

Related Article

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.