RU EN ES FR CN

Domain and IP whois

Domains HostingHosting VPS HostingVPS / VDS SSLCertificates Company Company

VPS / VDS hosting >  Installing Tomcat on VPS

Installing Tomcat on a virtual server is done using a package that includes all the necessary services. Installation is carried out in the ssh linux console, Centos 7 is used as a server. The latest version of the package can be found on the developer's website Bitnami

Before starting the installation, you need to make sure that there are no pre-installed services on the server, for example, to remove apache, use the command:


# yum remove httpd 


We also recommend to immediately configure the firewall service:


# iptables -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT

# iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT

# service iptables save

# service iptables restart


Download and install the package:


# wget http://iso.ripnet.ru/vm-apps/bitnami-tomcat-9.0.43-0-linux-x64-installer.run

# chmod +x bitnami-tomcat-9.0.43-0-linux-x64-installer.run

# ./bitnami-tomcat-9.0.43-0-linux-x64-installer.run


The script will offer to set a password for the database and administration user:

Select a folder [/opt/tomcatstack-9.0.43-0]:

Press Enter if you want to leave the specified path as default

MySQL Server root password : ****** 

MySQL root password

Tomcat admin panel

Username [manager]: manager

Password :

Set a password for the manager user

Do you want to continue? [Y/n]: Y

Proceed with installation.

Launch Tomcat application. [Y/n]: Y

Launch the application.

Now you can open a link like http://server_ip/ in a browser and test the application. 


To go to the administration menu, press the Manager App button.

Tomcat installation is complete.

Client Area

Log in

Forgot Password


Sign Up


Check mail:

Mail:
Pass.:

VPS Application catalog

Knowledge base

Additional services

VPS hosting

We were chosen by leading media companies with large volumes of data and high load

Calculate tariff

Domain transfer