relopvertical.blogg.se

Apache tomcat 8 download and install
Apache tomcat 8 download and install






apache tomcat 8 download and install

Sudo useradd -s /bin/nologin -g tomcat -d /opt/tomcat tomcat Step 5: Download Tomcat 10 on CentOS 8|7 / Rocky Linux 8 # Create tomcat user, disable login and give rights We also need a directory to place tomcat files. We need to create a non-root user that will only be accessing Tomcat and no other use. Sudo dnf install java-1.8.0-openjdk java-1.8.0-openjdk-devel Step 4: Create a non-root user and a Directory for Tomcat Sudo dnf -y install java-11-openjdk java-11-openjdk-devel For developers, they can opt for the development environment # OpenJDK 11 I am going to be installing version 11 but you can also choose to install version 8. We need to insall OpenJDK runtime environment as below. You can then reboot for the above changes to take effect sudo reboot Step 3: Install OpenJDK on CentOS / Rocky Set server hostname and configure hosts file with the below commands $ sudo hostnamectl set-hostname As always run package update on your server to ensure that you have the latest packages during installation sudo dnf -y update Step 2: Set Hostname and Hosts File








Apache tomcat 8 download and install