![]() However, the change of ownership command can’t ever work, even on Yosemite, which I am also using. Hi Bo, this page is really quite helpful. That is it! You should now be able to access Apache Tomcat’s welcome page on If you wish to make starting and stopping Tomcat 8 a little simpler, then you could create a few convenience commands on OS X. 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.
0 Comments
Leave a Reply. |