pkg install tomcat7
Message from openjdk-7.80.15_1,1: ====================================================================== This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc for some functionality. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 ======================================================================
echo 'tomcat7_enable=“YES”' » /etc/rc.conf
cd /usr/local/apache-tomcat-7.0/webapps/