OO Programming with Java


Web Applications & Databases

To put into practice the elements presented, the first thing to do is to get Tomcat (catalina) server.

  1. In Linux, Tomcat can be installed as follow:
# download
curl https://dlcdn.apache.org/tomcat/tomcat-10/v10.1.20/bin/apache-tomcat-10.1.20.zip --output tomcat.zip
# uncompress
unzip tomcat.zip
# move onto
cd apache-tomcat-10.1.20
# enable executables
chmod +x bin/*.sh

Next, take a look at configuration files to define an admin user, eventually change default port (8080), etc.:

vim conf/tomcat-users.xml # admin/admin
vim conf/server.xml       # choose port
...

2 - 16