How to install Apache, MySQL, PHP on macOS Mojave 10.14

Click the link: “How to install Apache, MySQL, PHP on macOS Mojave 10.14

In this tutorial we will learn to install Apache, MySQL, PHP on macOS Mojave 10.14.

macOS Mojave

Apple released the new macOS Mojave 10.14 on 24th September 2018 and it includes Apache and PHP.

We will be using the pre-installed Apache and PHP and we will download and setup MySQL database.

Let’s go ahead and configure our LAMP stack development environment on macOS Mojave.

Apache

The new macOS Mojave comes with Apache pre-installed. All we have to do is switch it on.

Open Terminal using macOS Spotlight or go to /Applications/Utilities and open Terminal.

To check the version of Apache installed run the following command in the Terminal.

$ httpd -v

Read more…

Advertisements

Linux Commands – System statistic commands

Click the link: “Linux Commands – System statistic commands

Following are some of the important system statistic commands in Linux.

free -h

This command displays the amount of free and used memory in the system.

vmstat

This command will report the virtual memory statistics.

Read more…