Installing Apache PredictionIO on Linux / Mac OS X. Follow the steps below to setup Apache PredictionIO and its dependencies. In these instructions we will assume you are in your home directory. If you decide to install Apache Spark to another location. First, check that you meet the prerequisites, and then install Apache Drill on Linux or Mac OS X: Complete the following steps to install Drill: In a terminal window, change to the directory where you want to install Drill. Download the latest version of Apache Drill here or from the Apache Drill mirror site with the command appropriate for. 2) Install apache 2.0 The homebrew package installer can be used to install Apache 2.0 on MacOS. The installer installs the Apache HTTP server on the location /usr/local/Cellar/httpd. 3) Start apache Apache provides a service named as apachectl which needs to be started in order to start Apache. The command needs super user privileges to be executed hence we have to use sudo to get the. Install Apache for Mac OS X. Mac OS is ultimately built on Unix so its very easy to install any Unix supporting softwares. Even better part is that Mac OS X comes with apache web server and we just need to start it and make some changes to setup our development environment. Installing Apache Maven The installation of Apache Maven is a simple process of extracting the archive and adding the `bin` folder with the `mvn` command to the `PATH`. Detailed steps are: Ensure JAVAHOME environment variable is set and points to your JDK installation. Extract distribution archive in.
HomeMac OS XHow to Install Apache Tomcat 9 on Mac OS X
Installing Tomcat 9 on Mac OS X El Capitan is actually quite easy.
The Mac OS X installation process is fairly painless and straight forward, but there are a few rough spots along the way. Follow these step by step instructions to get Tomcat up and running on your Mac OS X machine in no time.
Configure Environment Variables
Download and install the latest Java 8u92 form this link.
The JDK installer package come in an dmg and installs easily on the Mac; and after opening the Terminal app again,
Now shows something like this:
java version '1.8.0_66'
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
Whatever you do, when opening Terminal and running java -version, you should see something like this, with a version of at least 1.7.x I.e. Tomcat 9.x requires Java 7 or later.
JAVA_HOME is an important environment variable, not just for Tomcat, and it’s important to get it right.
To set the JAVA_HOME variable, open a new Terminal window and use the following command to open the system profile for editing. (You can substitute your favorite text editor. We like Vim.):
Once you’ve opened the profile, add the following lines to set the
Install Apache For Mac Os X64
1. Download Tomcat from the official website (tomcat.apache.org), select Tar.gz format under the Core section
2. Extract the Tomcat to directory:
/Library, in order to facilitate the use, rename the folder to
3. Open Terminal, modify folder permissions
sudo chmod 755 /Library/Tomcat/bin/*.sh
Install Apache For Mac Os X 10.6
4. Press the Enter key, then you will be prompted for a password, enter the administrator password. Then continue with the following command to open the tomcat service
sudo sh startup.sh
5. Open the browser and enter
http://localhost:8080/, press Enter.
If you see the Apache Tomcat, this means Tomcat has successfully run
That is it! You should now be able to access Apache Tomcat’s welcome page on
http://localhost:8080. If you wish to make stopping Tomcat 9, use this command:
sudo sh /Library/Tomcat/bin/shutdown.sh
I have been always playing with the Apache, PHP, and MySQL every time but since when I switched to Mac and wanted to make a web development environment on my Mac. So the first step is to install Apache, PHP, and MySQL.
Install Apache for Mac OS
Since Mac OS is ultimately built on Unix so it is very to install any Unix supporting software. The most interesting part is that Mac OS comes with the Apache web server and we just need to start it and make some changes to setup our development environment.
Install Apache Tomcat Mac Os X
Now, We need to start the apache server with root privileges to avoid permission issues.
Therefore, just launch the terminal type the command as follows:-
After starting Apache – test to see if the webserver is working in the browser – http://localhost – you should see the “It Works!” text.
Creating Apache VirtualHosts
The default location for Apache webserver project files is
/Library/WebServer/Documents/. In this location, you all can create your application in order to host your web applications.
To enable VirtualHosts, we need to make some changes in the Apache Configuration file (httpd.conf).
Make sure that you change your DocumentRoot, ServerName and Directory location according to your needs.
Now your VirtualHosts setup is done now, just restart the apache with command
Install PHP on Mac OS X
In order to install PHP, in Mac OS you will just need to enable PHP support for Apache, i.e, to need to make changes in its (httpd) configuration file.
Open httpd.conf file with the command as follows:-
Install Apache For Mac Os X 10.10
Uncomment below the line and save it.
LoadModule php7_module libexec/apache2/libphp7.so
Now restart the server and it should be able to process PHP files. To test it we can create a simple PHP file as below.
Create test.php file in the /Library/WebServer/Documents/ directory with the following lines of code as shown below and save it.
Load the PHP file in browser with URL
http://localhost/test.php and you should see a huge page with all the PHP configurations as shown below:-
Congrats now you have successfully installed PHP on your Mac OS.
Installing MySql on Mac OS
Installing MySQL in Mac OS is very simple you will just have to download MySQL dmg file from the MySQL website and just press next, next in order to install.
Mac Os Install Php
Download the MySql DMG file from MySql Download Website.
Open the DMG file and install MySql server
Start the MySql server if it’s not running and you can find MySQL in system preferences.
Click on MySQL and you will see the screen as below:-
If you want to control MySQL through your terminal then you will have to add MySQL directory to your shell path, this is done in your “.bash_profile” file in your home directory if you don’t have that file just create it using vi or nano:
Install Apache Solr Mac Os X
open that “.bash_profile” and add the following line and save it.
Now, you can access MySQL through your terminal, in order to check just type the command as follows:-
Now, you have successfully connected your MySQL server through your terminal.
Install Apache 2.4 Mac Os X
If you want to change the MySQL root password then just login to MySQL and the query as follows:-
Change the lowercase ‘MyNewPass’ to what you want – and keep the single quotes.
Now you have successfully installed all your web development environment. If you want to GUI to manage MySQL then you can install MySQL workbench.
If you have any queries do post your questions in the comment section below: 🙂