profileĬATALINA_HOME=/usr/local/apache-tomcat-6.0.24 Now add tomcat home, java home and ant home like below. Open it up with TextWrangler or use vi to edit it. To setup environment variables create a file named ‘.profile’ in your home directory or edit it if it’s already there. Setting up Environment Variables – $CATALINA_HOME, $JAVA_HOME, $ANT_HOME. This looks much pleasant when you edit files.ģ. it has easy to install dmg file and after install Go to Menu TextWrangler -> InstallCommandLineTools… Now you can use ‘edit ’ from command line to open up text files you want to edit instead of using vi. MYSQL ON MAC 10.11 FOR MAC OS XBut for Mac OS X you should try with Text Wrangler. – Usually vi command is the preferred way of editing text files on Unix OSs. Install a text editor that can run from terminal (Optional). I stopped my self at the end of ‘Starting and Stopping Tomcat’ section.Ģ. Just stop when you see tomcat up and running. You don’t need to complete the whole process. It’s just a matter of downloading the tomcat distribution. Installing Tomcat –I have installed apache tomcat 6.0.24 exactly following same steps given in following article by Apple, eventhough it describes steps on installing 4.0.1 it is the same for later version of tomcat as well. ok great, lets just remind how i started. I will blog where you should refer for each step and after finishing you can come back here to see what next to do. So I thought it would be useful to blog all these steps together for someone to finish this little easily. ![]() So I started all this from searching in google like ‘how to install tomcat on mac os’ and then ‘how to install mysql on mac os’ and then ‘how to set environment variables on mac os’ so and so whole day to run my app on tomcat at my MacBook. ![]() For other work on development I mostly used my Ubuntu OS at home PC. I have been using Mac OS for more than a year still only used it for mainly iPhone Development work. ![]() I wanted to install tomcat, MySQL and then run a jsp application that connects to a MySQL DB on tomcat in Mac OS X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |