#Download latest tomcat
#Create /usr/local
sudo mkdir -p /usr/local
#Goto directory to /usr/local
cd /usr/local
#Extract downloaded tomcat from the /usr/local
tar -zxvf ./apache-tomcat-8.0.45.tar.gz
sudo ln -s /usr/local/apache-tomcat-8.0.45 /Library/Tomcat
#Remove existing tomcat directory
sudo rm -f /Library/Tomcat
#Create symbolic link for easier access sudo chown -R/Library/Tomcat sudo chmod +x /Library/Tomcat/bin/*.sh
#configure gui admin for tomcat via /Library/Tomcat/conf/tomcat-users.xml include inside
#Start tomcat from terminal
/Library/Tomcat/bin/startup.sh
#Stop tomcat from terminal
/Library/Tomcat/bin/shutdown.sh
No comments:
Post a Comment