Install Nginx On CentOS7

Description:

So I have installed Apache a couple times on CentOS 7 and wanted to try Nginx just for testing. It turns out, I couldn’t get it to work – I’m sure somewhere along step 3 I messed up – but I wanted to post this anyways so that I can finish this up on a later day. Essentially, I got to the default web page that Nginx uses, but couldn’t get the path changed to point to my WordPress install. Either way, here is the guide.

To Resolve:

1. Install software by opening a terminal and typing:

2. We will start by setting up the database:

 

3. Now we configure our setup:

 

4. Get/install WordPress:

5. Open up http://localhost in your browser and finish installing WordPress. Should be good to go!