How to Install WordPress with Auto Installer
Setting up WordPress on Hostinger is a quick and easy process thanks to its one-click installer:
- Log in to your hPanel and locate the Auto Installer under the Website section.
- Click on the WordPress icon, fill in the required fields, and click Install.
That’s it! You can now log in to the administrator dashboard by selecting WordPress on the Actions field under the List of Installed Applications and begin creating your website.
How to Install WordPress Manually
If the automatic WordPress installer can’t seem to be working, or that it’s not available in your hosting, you can install WordPress manually:
Preparing the WordPress Installation
Before we begin the installation process, let’s set a few things first:
- Download and extract the latest version of WordPress.
- Upload the extracted files to your hosting account by using the File Manager or an FTP Clientlike FileZilla.
- Then, log in to your hPanel and go to MySQL Databases under the Databases section. After filling in the required fields, press Create.
IMPORTANT: Be sure to copy the MySQL credentials complete with the alphanumerical strings–you will need them later.
Now that we got the preparation stage covered, we can proceed with the installation wizard. Access your domain name to open the setup page.
The WordPress 5-minute installation wizard has five steps in total:
- Select your language and press Continue.
- WordPress will ask to collect the MySQL details. Since you already have them, press Let’s go!
- Enter the MySQL database credentials. You may leave the Database Host and the Table Prefix fields as they are. Only change the latter if you wish to run multiple installations inside one database. Click Submit.
- WordPress will check whether it’s possible to connect to the MySQL database you have created. If there are no errors, select Run the installation.
- Fill the website and the administrator’s information. Install WordPress to finalize the process.
You can now press the Login button to access the WordPress admin area.
How to Install WordPress Locally
If you install WordPress locally, you will have an awesome environment to test out any changes before implementing them on your live website. Let’s look at the ways to achieve this on Mac and Windows:
Installing WordPress on Mac Using MAMP
To install WordPress locally on a Mac computer, we will be using MAMP (Macintosh, Apache, MySQL, PHP).
This tool allows you to create a PHP and MySQL server on your machine. In other words, it provides all the necessary ingredients to run a WordPress environment locally for testing purposes.
Installing MAMP and Creating a Database
Similar to the manual installation on shared hosting, we must prepare the server and the database first:
- Download and install the latest version of MAMP on your Mac.
- The installation wizard is quite simple and does not require any custom settings. Proceed until the setup is complete.
- Create a database by accessing the Database tab.
- Insert the Name of the new database -> Create. For this example, we’re going to use w0rdpr3ss as our database name.
That’s it! We’re ready to set up WordPress locally on a Mac OS.
Performing WordPress Installation
If you haven’t, download WordPress and extract it. Then, do the following:
- Move all the files inside the WordPress folder to the default MAMP document root: Applications/MAMP/htdocs.
- Access the WordPress installation wizard by entering “localhost:8888” in a browser.
- When prompted for the database and user connection details, enter your Database Name. Then, fill in root as the Username and Password. Click Submit to continue the rest of the steps as before.
Pretty easy, right? Now let’s look at how to do the same thing on Windows!
Installing WordPress on Windows Using WampServer
To install WordPress locally on Windows, we will utilize WampServer instead. As you can probably guess, the name is short for Windows, Apache, MySQL, PHP. Here’s how to set it up:
Installing WampServer and Creating a Database
After downloading the latest WampServer on your computer, follow these steps:
- Install WampServer. No custom configuration is needed, so you may proceed until it finishes. You’ll only be prompted to choose the default browser and text editor for the server to use.
- Access WampServer from the taskbar and launch phpMyadmin.
- In the login screen, enter root as the username. Leave the password blank.
- Navigate to the Databases tab, enter a name, and Create a new database for your WordPress.
Performing WordPress Installation
Once the preparation is all taken care of, you can proceed to install WordPress by following these steps:
- Move the WordPress files inside the document root directory of C:/wamp64/www on your computer
- Open your browser, enter “localhost” on the search bar to open the setup page.
- Choose the language and fill in the database details when required. Again, use root as the username, but this time, leave the password field empty.
Then, complete the remaining steps, and you’ll have WordPress available on your local Windows machine in no time.