Instalación Apache tomcat en Digital Ocean
Comandos en Consola
ssh-keygen
sudo apt-get update
sudo apt-get install default-jdk
cd /tmp
curl -O https://dlcdn.apache.org/tomcat/tomcat-9/v9.0.56/bin/apache-tomcat-9.0.56.tar.gz
ls
sudo tar xzvf apache-tomcat-9.0.56.tar.gz
ls
mv apache-tomcat-9.0.56 tomcat
cd tomcat
cd conf
ls
find / -name context.xml
vi tomcat-users.xml
cd bin/
./startup.sh
ps -ef | grep java
sudo ufw allow 8080
sudo ufw allow 3306