-
add-apt-repository ppa:webupd8team/java
-
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
-
add-apt-repository 'deb http://ftp.utexas.edu/mariadb/repo/10.1/ubuntu trusty main'
-
apt-get update; apt-get upgrade
-
apt-get install screen whois git npm nodejs-legacy nodejs oracle-java8-installer software-properties-common mariadb-server
-
groupadd tomcat
-
useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat
-
cd /opt
-
wget http://psg.mtu.edu/pub/apache/tomcat/tomcat-8/v8.0.26/bin/apache-tomcat-8.0.26.tar.gz
-
chgrp -Rv tomcat conf
-
chmod g+rwx conf/
-
chmod g+r conf/*
-
chown -Rv tomcat work/ temp/ logs/
-
chown tomcat:tomcat webapps/
-
nano /etc/init/tomcat.conf
-
initctl reload-configuration
-
initctl start tomcat
Last active
September 14, 2015 17:35
-
-
Save dantheman213/fc07711b19516ad092e3 to your computer and use it in GitHub Desktop.
new tomcat server installation commands for ubuntu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment