Vídeo tutorial donde instalo Tomcat8 en Eclipse Luna usando Java8:
Comandos utilizados:
12345678910111213141516171819202122232425262728293031323334deb http://ftp.es.debian.org/debian/ jessie main contrib non-free
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" > /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer tomcat8 tomcat8-admin sudo
wget http://mirror.ibcp.fr/pub/eclipse//technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz
tar -zxvf eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz -C /opt
sudo ln -s /opt/eclipse/eclipse /usr/local/bin/
cd /usr/share/tomcat8
sudo ln -s /var/lib/tomcat8/conf conf
sudo ln -s /etc/tomcat8/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat8 log
sudo chmod -R 777 /usr/share/tomcat8/conf
sudo ln -s /var/lib/tomcat8/common common
sudo ln -s /var/lib/tomcat8/server server
sudo ln -s /var/lib/tomcat8/shared shared
Post A Comment:
0 comments: