How to install wordpress to linux server

Started by Administrator, January 02, 2014, 01:22:41 AM

Previous topic - Next topic

Administrator

This is tutorial how to install and setup wordpress website on linux server with CentOS Web Panel (CWP)

Steps:
1. Create New Account from CWP under Accounts Menu
2. Create MySQL Database from CWP under SQL Services --> MySQL Manager --> Create Database and User
3. Download Wordpress installation files in users public_html folder

4a.
Install from SSH (do not forget to replace USERNAME with your users username)
cd /home/USERNAME/public_html
wget http://wordpress.org/latest.tar.gz
tar xvzf latest.tar.gz
mv wordpress/* .
rm -Rf wordpress
chown -R USERNAME:USERNAME *

4b.
Install as user with FTP
- Download latest wordpress installation from wordpress download site
- Extract files to your computer
- Connect to FTP with USER's login details you have entered when you created user account in CWP
- Upload all files you extracted to users remote FTP public_html folder

Now visit your website and install wordpress from browser by entering you MySQL database details/login data
Don't forget to save wp-config.php in your public_html folder

that is it you are ready to run yours wordpress website.

carmageddon63

hi.
I try to browse my site via firefox I am still getting my server test page.
varnish is work.

thanks

Administrator

check that you have followed install instructions and set shared ip in settings, after that restart apache.

carmageddon63

hi.
i am browse with chrome added new domain like http://shareip/~test it's ok. and i am install wordpress and i give internal server error try to install worpress.   

carmageddon63

#4
http://forum.centos-webpanel.com/php/suphp-500-internal-server-error/

i try this but nothing changes.

i givee this message
Warning: file_get_contents(http://sharedip/phpinfo.php): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /usr/local/cwpsrv/htdocs/admin/modules/php_info.php(1) : eval()'d code(1) : eval()'d code on line 2

Administrator

you can contact support for this error if you have followed all instructions.
http://centos-webpanel.com/contact

apmuthu

This problem gets set right only if TeamSpeak3 is installed.

Samuel

I have already renamed wp-config file & also changed the database-user-password, but after saving when cuming back to this file, then i find that database-user-password is not being saved in wp-config file.

After changing and saving database-user-password in wp-config file, then if i refresh my website, then its does nothing but same HTTP server Test page.

I have already set my shared IP to my server IP, but still its not working.

Administrator

you will need to follow all informations regarding this issue specified on our wiki.

mena.habib

Can i export my existing wordpress site to use it here on my own server??

brijendrasial

obviously yes. That has nothing to do with any web panel available onlinel

kransbox

Hello, I have the following issue.

I have CentOS VPS, I have installed CWP, I have made a new account, a database, I have downloaded and istalled wordpress with putty, I have renamed and complete the wp-config.php file correctly, I have shared IP, but I still getting apache test page when I broswe to server's IP. Of course I have restart apache.

I'm trying more than 5 hours, searching, experimenting but nothing. Still apache test page.

What could be the problem?

Thank you!


- same here.  We can commiserate.  Turn that 5 hours into three days for me.

You may want to try fixing permissions in CWP.  But I've tried that and it only worked once.

rogero

Did you remove the standard index.html file when you created the domain name

docop

Hi

So I also get error for logging into the wordpress:
1- i created a new user, a new database.
2- I can access my temporary index.html.
3- i rename the index.html file
4- i upload the WP.
5-i open the file paste db user.. and do the installation, wp 5min said : install is ok.
6- when i go to login : i put user and pw and :

    Error you don'T have permission...    I can't log in.

I follow the first post, file and folder are as per the : fix permission. But it's just not working. I can't log in.  I can see the WP page without issues, but login... not.
I try to put permission to 777 on wplogin file and all execute on other file, but not work..

Is there a user need to be member of.. ? is the user need to be member of apache group ? There's no www-data as if a straight install were made.

Thanks for help

Darkroom