Similarly, to stop it, use the following commands. To start it, simply use the following commands. sudo chown -R /Library/TomcatĪt this point, Tomcat 8 should successfully be installed on your Mac. Now we will just set the owner of the directory and files recursively, and make sure that the scripts are executable. Sudo ln -s /usr/local/apache-tomcat-8.0.20 /Library/Tomcat Thus, we would not have to update configurations in applications that may be using Tomcat, such as an IDE. By creating a symbolic link, the path to our Tomcat 8 installation is more convenient and can easily be updated if a new version of Tomcat is installed. Now we will remove any Tomcat installation that could theoretically already be at /Library/Tomcat and create a new symbolic link to the installation directory. Sudo mv ~/Downloads/apache-tomcat-8.0.20 /usr/local Once extracted, we will move the folder into the /usr/local directory, first ensuring that it exists (even though it should). The file name of course depends on the particular version that you downloaded. Start by extracting the downloaded archive. Once downloaded, the rest of the work will be done within the Terminal. All you have to do is to follow the steps below.įirst, head over to the Apache Tomcat download page and download the core binary distribution in the tar.gz format. One can do it with the help of Homebrew or MacPorts, but I prefer to do it “by hand”. Installing Tomcat 8 on OS X Yosemite is actually quite easy.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |