Install Tomcat8.5 on FreeBSD

Perform this command to install Tomcat8.5

$ sudo pkg install tomcat85
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        tomcat85: 8.5.23
        jakarta-commons-daemon: 1.0.15

Number of packages to be installed: 2

The process will require 13 MiB more space.
9 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/2] Fetching tomcat85-8.5.23.txz: 100%    9 MiB   9.0MB/s    00:01
[2/2] Fetching jakarta-commons-daemon-1.0.15.txz: 100%   89 KiB  91.5kB/s    00:01
Checking integrity... done (0 conflicting)
[1/2] Installing jakarta-commons-daemon-1.0.15...
[1/2] Extracting jakarta-commons-daemon-1.0.15: 100%
[2/2] Installing tomcat85-8.5.23...
Extracting tomcat85-8.5.23: 100%

add tomcat85_enable=YES to /etc/rc.conf file.

$ sudo sysrc tomcat85_enable=YES
tomcat85_enable:  -> YES

start tomcat8.5

$ sudo service tomcat85 start
Starting tomcat85.

Check if the port 8080 listening

$ netstat -an | grep 8080
tcp46      0      0 *.8080                 *.*                    LISTEN

Comments

Popular posts from this blog

Python3 + Django + uWSGI + Nginx On FreeBSD

arduino最小構成 (atmega328/8MHz/3.3V/内部クロック)FT232RLにてブートローダーの書き込み

FreeBSD: Configuring Apache to permit CGI