How To install JDK, My. SQL, Tomcat on Mac. Getting Started with "Terminal" - MUST READ Before You Start Programming. Programmers use "Terminal" to issue commands, instead of the graphical user interface - which is meant for common users. You MUST have some basic knowledge on using the Terminal and the file system. Read "Unix Survival Guide for Mac & Ubuntu - Terminal, File System and Users". How to Install JDK and Get Started with Java Programming on Mac. Read HERE. Programming Text Editors for Mac. Text. Edit for Mac. Text. Edit (the default text editor in Mac OS X) is NOT a programming text editor, as it lacks features like syntax highlighting. I strongly suggest you install a programming text editor. To use Text. Edit to write source file, you need to open a new file ⇒ choose "Format" ⇒ "Make Plain Text". You can open an existing file in Text. Edit from Terminal by issuing. Command- line Text Editornano is a GNU text editor that is available for Unix Systems (including Mac OS X), that is suitable for creating/editing small files. To start nano, open a Terminal and issue. You can run nano with superuser (for accessing restricted directories), as follows. JEdit for Macj. Edit is a popular open- source cross- platform (Mac, Windows, Linux) programming text editor. The mother site is http: //www. Step 1: Download and Install j. Edit for Mac. Download j. We need to install tomcat 7.0.68 or higher version on Sun Solaris 10. In short OS doesn't matter. T4 server running Solaris 10. Tomcat version is Tomcat 6. · Solaris. Solutions. Install Java (JRE) | Mac OS 10.7 Lion > . Please note that Tomcat 7 requires Java 1.6 or better. Installing Apache Tomcat on Linux. This article discusses how to install Apache Tomcat 6.0 (6.0.18). 6.0.18.0 OS Name. · i need to install tomcat on my solaris 10 x86 OS. can u please guide me. i know that tomcat is already present in solaris 10 x86. tell me how to enable. Edit package from http: //www. Download ⇒ Select Mac OS X package (stable version). Double click the downloaded Disk Image (". Drag the "j. Edit" icon to "Applications" folder. Eject the Disk Image "jedit. Step 2: Install "Console" plugins. How to Install Tomcat 7. oracle@solaris:~$ unzip apache-tomcat-7.0.50.zip -d /opt/tomcat7. oracle@solaris. (6) October (5). Tomcat 64-bit for Solaris 64-bit OS. Hi I was looking for " tomcat 64-bit for my Solaris 64-bit OS "and I couldn't find one. Only the one I see is for windows but. Mac Users How To Install JDK 1.7. How to Install MySQL 5.6 on Mac OS X 10.7 Lion Install MySQL using the DMG Package. Download and Install Tomcat. Solaris 10 11/06 download, mac os x 10.6. 10 solaris 10 install vmware tools mac os x snow leopard free for pc. 6 apache tomcat 6 solaris java jdk 6 solaris. Launch j. Edit (from "Applications"). Open plugin manager: From "Plugins" menu ⇒ Plugin Manager. Select "Install" tab. Search and select "Console" plugin. Error. List" plugin will selected automatically ⇒ Install. Step 3: Write a Hello- World Java Program. Open a new file by selecting "File" menu ⇒ "New". Enter the following Java source code and save the file as "Hello. Hello {. public static void main(String[] args) {. System. out. println("Hello, world!"). Step 4: Compile and Run the Hello- World Java Program. You can start a "Terminal" to compile and run your Java program as described in the above JDK section. You can also use the "Console" plugin: To compile: From Plugins ⇒ Console ⇒ Compile Current Buffer. Click on the "Console" button to view the console. If message "Process javac exited with code 0" appears, the program is compiled successfully. To run: From Plugins ⇒ Console ⇒ Run Current Buffer. Macgedit is the official text editor of the GNOME desktop environment. The mother site for gedit is http: //projects. Download gedit for Mac (DMG version) from http: //projects. Choose your specific Mac OS version. To install. Double- click the downloaded Disk Image (". Drag the "gedit" icon to the "Applications" folder. Eject the Disk Image "gedit. Notes: To use "gedit" commands in Terminal, you need to add "/Applications/gedit. Contents/Mac. OS/" to PATH environment variable. Sublime@ http: //www. How to Install Eclipse on Mac. Read "How to Install Eclipse for Mac OS". How to Install Net. Beans on Mac. Read "How to Install Net. Beans on Mac". How to Install My. SQL 5. 6 on Mac OS X 1. Lion. Install My. SQL using the DMG Package. Reference: "Installing My. SQL on Mac OS X" @ http: //dev. Step 1: Download and Install My. SQLDownload the My. SQL "DMG Archive": Go to http: //dev. In platform, select the "Mac OS X". Select the appropriate "DMG Archive" for your specific Mac OS version. For example, Choose "Mac OS X ver. DMG Archive (1. 17. M)" for Lion and Core i. Click "No thanks, just start my download". To install My. SQL: Go to "Downloads" ⇒ Double- click ". Double- click "mysql- 5. Follow the instructions to install My. SQL. Click continue if "unindentified developer" warning dialog appeared. My. SQL will be installed in "/usr/local/mysql- 5. A symbolic link "/usr/local/mysql" will be created automatically to the My. SQL installed directory. Eject the ". dmg" file. Step 2: Configuring My. SQL - Change TCP Port Number for My. SQL Server. The default TCP port number used by My. SQL Server is 3. 30. For novices: SKIP THIS STEP to run the My. SQL Server on port 3. Goto Step 3.]You can change the port number by editing the configuration file "my. To create this file, open a new "Terminal" and run the "nano" editor using this command. Modify the lines in green and add in the lines in red; and press ctrl- X to exit. We use the "nano" editor in this case, you can use any text editor, but run in superuser.)Notes: On Unix/Mac, the My. SQL read the options file in this order: "/etc/my. SYSCONFDIR/mf. cnf", "$MYSQL_HOME/my. Step 3: Start/Shutdown the My. SQL Server. Open a new "Terminal" and issue these commands to start the My. SQL server. $ cd /usr/local/mysql/bin. Enter your password. Starting mysqld daemon with databases from /usr/local/mysql/data. To shutdown the server, start a new terminal and issue. Step 4: Start/Stop a My. SQL Client. Open a new "Terminal" and issue this command to start a My. SQL client with superuser root. To terminate the client, issue command "exit" (or "quit") from the "mysql> " prompt. Notes: You can use "Activity Monitor" (under Applications/Utilities) to check if the My. SQL Server is running. Look for process starting with mysqld. The log messages are written to /usr/local/mysql/data/xxx. Issue "sudo cat /usr/local/mysql/data/xxx. If you get the following error message when starting a client: "Can't connect to local My. SQL server through socket '..', check your "Activity Monitor" to see if the My. SQL server has been started. Step 5: (For Java Programmers) Install My. SQL JDBC Driver. Download the latest JDBC driver from http: //www. My. SQL Connectors ⇒ Connector/J ⇒ Compressed TAR archive (e. Double- click on the downloaded TAR file to expand into folder "mysql- connector- java- {5. Open the expanded folder. Copy the JAR file "mysql- connector- java- {5. JDK's extension directory at "/Library/Java/Extension". How to Uninstall and Remove My. SQL 5. Open a Terminal ⇒ Run the "nano" editor to edit /etc/hostconfig, as follows. Enter your password: ... Delete this line if present: "MYSQLCOM=- YES- ". Press cntl- x to exit "nano" and enter "Y" to save the file. The line "MYSQLCOM=- YES- " starts My. SQL automatically during startup. Make sure that My. SQL is not running (Open the "Activity Monitor" under the "Applications/Utilities", and check for the process "mysqld"). Open a Terminal and issue "rm - r" to remove these directories and their sub- directories (with "f" indicating no confirmation prompt). Library/Startup. Items/My. SQLCOM. sudo rm - rf /Library/Preference. Panes/My*. sudo rm - rf /Library/Receipts/mysql*. Library/Receipts/My. SQL*. sudo rm /etc/my. That's all!(Advanced) Install My. SQL using Tarball. Reference: http: //dev. TODO]How to Install Tomcat 7 on Mac. Step 1: Download and Install Tomcat. Goto http: //tomcat. Download ⇒ Tomcat 7. Binary distribution ⇒ Core. Download the "tar. To install Tomcat. Goto "~/Downloads", double- click the downloaded TAR file (e. Move the extracted folder (e. Applications". Rename the folder "tomcat", for ease of use. Step 2: Configure Tomcat Server. Read "Configure Tomcat Server". Step 3: Start the Tomcat Server. To start the Tomcat server, open a new "Terminal" (Go ⇒ Utilities ⇒ Terminal) and issue. Applications/tomcat/bin. Check for the Tomcat server's TCP port number from the console messages. The default is 8. To verify if the Tomcat server is started, start a browser (Safari) and issue URL http: //localhost: 8. Tomcat is running on the default TCP port number of 8. Also try URL http: //localhost: 8. Servlet/JSP examples. Step 4: Shutdown the Tomcat Server. To shutdown the Tomcat server, you can simply press control- c (NOT command- c) on the tomcat console, or issue command. Applications/tomcat/bin. Step 5: Servlet APITo write Java servlets, you need to COPY the Servlet API JAR file ("servlet- api. Applications/tomcat/lib" to the JDK's extension directory at "/Library/Java/Extension".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |