Easy ways to install WordPress completely on CentOS 6

Jovani

Active member
Joined
Jul 10, 2012
Messages
338
Points
28
Hello,

Although I install wordpress successfully on CentOS 6 but I still want to know easy ways or other ways to install WordPress completely on CentOS 6?

What are your ways?
 

Michele D.

New member
Joined
Jul 16, 2014
Messages
77
Points
0
Before you install WordPress, the server needs LEMP or LAMP installed.
Simple steps to install WordPress on CentOS

Download WordPress

Go to the folder containing the website content

Code:
cd /usr/share/nginx/html/
Code:
wget http://wordpress.org/latest.tar.gz
unzip

Code:
tar -xzvf latest.tar.gz
Create WordPress MySQL Database and User

I searched and you can see your thread that asked How to create a MySQL database on my VPS on this forum :D

Install WordPress

Create file wp-config.php from wp-config-sample.php

Code:
cp ./wordpress/wp-config-sample.php ./wordpress/wp-config.php
Edit the file

Code:
sudo nano ./wordpress/wp-config.php
Fill in the database, user, password in

Code:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress');

/** MySQL database username */
define('DB_USER', 'wordpressuser');

/** MySQL database password */
define('DB_PASSWORD', 'password');
Save and exit.

Move all files in the folder wordpress out

Code:
mv -f ./wordpress/* ./
Change Ownership for WordPress folder

Code:
sudo chown nginx:nginx * -R
Now you can install WordPress by visiting www.yourdomain.com/wp-admin/install.php then start the process instill it done.

Good luck!
 
Older threads
Replies
2
Views
4,387
Replies
4
Views
4,595
Replies
13
Views
6,330
Replies
3
Views
3,956
Newer threads
Replies
5
Views
7,236
Replies
0
Views
5,367
Replies
0
Views
5,607
Latest threads
Hi
Replies
1
Views
48
Replies
1
Views
46
Replies
1
Views
48
Replies
1
Views
49
Recommended threads
Replies
2
Views
2,215
Replies
3
Views
4,336
Replies
3
Views
2,353
Replies
3
Views
990
Similar threads

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top