How to install MAMP and WordPress
Download MAMP and WordPress (if you are using for instance Joomla, Modx etc the procedure will be similar)
Install MAMP (no need to install MAMP Pro. The regular version works fine). Clicking the MAMP icon in my applications folder after the install the first screen that comes up is the Status screen.
The buttons for Apache Server and MySQL Server should go from red to green when you press Start Servers.
If the MySQL button does not turn green.
I have experienced a few times that the MySQL button stays red while the Apache button goes green, meaning it will not work so I did a search and found a solution at https://twob.net/journal/fix-for-mamp-mysql/
The url on the top shows the location to the MAMP program.
It starts with localhost which is the name that is given to the web address to your computer.
8888 is the default port number used by it.
To install a database for your CMS go to PhpMyadmin and create a new database.
When you later install a CMS you will need to include:
Name of database: (the name you called it)
Host: localhost (the common name for local server)
There really is no need to change the Document Root for your files.
Copying the files into htdocs inside the MAMP folder works fine.
I copied my full wordpress folder into the htdocs folder.
Opened a new tab and went to https://localhost:8888/
You will see whatever you have copied into the htdocs folder.
Double click the WordPress folder to begin the install
The WordPress install screen comes up showing Create a Configuration File button. Click the button and continue…
Welcome to WordPress. Before getting started page…..
mentions which items it needs for you to know before proceeding.
Click Let’s go!
Database Name (the name you called your database)
User Name root
Database Host localhost (this might change when you upload your install since your internet provider might have a different name for it.
Table Prefix If you want to run multiple WordPress installations in a single database change this.
Click Run the install.
This page you will need to create a Site Title for your WordPress installation.
Create a Username and a password which you will use to login to your Worpress install.
Add Your E-mail.
There is a check mark in the box – Allow my site to appear in search engines like Google and Technorati.
I left the check mark as it will be nice to have the site appear in search engines when it is online.
Click the Install WordPress button.
username and the username that you chose.
and Password – your chosen password.
Click Log in
Type in your username and Password and click the Remember me if you want the computer to remember you the next time you plan on loging in to your WordPress installation.
Click Log In.
Next page: A view of the WordPress Dashboard.