Instalación y configuración paso a paso Tomcat Linux Centos 8 | Tutorial para novatos | Español
Tutorial para novatos en Linux. Te enseño a instalar un servidor para aplicaciones Java (Apache Tomcat Server) en Linux Centos 8. Te explico detalladamente los pasos de instalación y configuración.
Escribe en los comentarios temas de los cuales te gustaría ver un tutorial.
Muchas gracias por ver el video.
Comandos utilizados en este tutorial:
nmtui
ip address show
ping google.com
yum update
yum install epel-release -y
yum install nano -y
yum install wget -y
yum install tar -y
mkdir /opt/tomcat
cd /opt/tomcat
wget https://downloads.apache.org/tomcat/tomcat-9/v9.0.35/bin/apache-tomcat-9.0.35.tar.gz
wget https://download.java.net/java/GA/jdk14.0.1/664493ef4a6946b186ff29eb326336a2/7/GPL/openjdk-14.0.1_linux-x64_bin.tar.gz
ll
tar -xzvf tomcat
tar -xzvf jdk
mkdir sslkey
ll
mv tomcat tomcat9
mv jdk jdk
export JAVA_HOME in /etc/profile
. /etc/profile
cd /opt/tomcat/tomcat9/
cd bin
cd webapps
cd conf
nano tomcat-users.xml
nano /tomcat9/webapps/manager/meta-inf/
sh /opt/tomcat/tomcat9/startup.sh
firewall-cmd –add-port=8080/tcp –permanent
firewall-cmd –reload
firewall-cmd –list-all
Acceder desde máquina remota
cd /opt/tomcat/jdk/bin
./keytool -genkey -keyalg RSA -keysize 2048 -alias MyKey -keystore /opt/tomcat/sslkey/tomcatKey
ll /opt/tomcat/sslkey/
cd /opt/tomcat/tomcat9/conf/
nano server.xml
cd ../bin
sh shutdown.sh && sh startup.sh
firewall-cmd –add-port=8443/tcp –permanent
firewall-cmd –reload
firewall-cmd –list-all
Acceder desde máquina remota