Control Web Panel
WebPanel => Aplications => Topic started by: Administrator on January 02, 2014, 01:22:41 AM
-
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.
-
hi.
I try to browse my site via firefox I am still getting my server test page.
varnish is work.
thanks
-
check that you have followed install instructions and set shared ip in settings, after that restart apache.
-
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.
-
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
-
you can contact support for this error if you have followed all instructions.
http://centos-webpanel.com/contact
-
This problem gets set right only if TeamSpeak3 is installed.
-
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.
-
you will need to follow all informations regarding this issue specified on our wiki.
-
Can i export my existing wordpress site to use it here on my own server??
-
obviously yes. That has nothing to do with any web panel available onlinel
-
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.
-
Did you remove the standard index.html file when you created the domain name
-
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
-
are you running mod_security in apache?
-
Hi
Indeed that was the culprit. I haven't figure that yet. The log show me the 950117 was denied. I put some rules, as found over the forum, in mod security :
http://forum.centos-webpanel.com/mod_security/enable-mod_security-for-wordpress/
http://forum.centos-webpanel.com/mod_security/enable-mod_security-for-wordpress/ (http://forum.centos-webpanel.com/mod_security/enable-mod_security-for-wordpress/)
But don't know if it's better to just enable the one show in the Security log each time it pop out or to config as this post..?
Also, after a reboot, the apache web server can't autostart.. is there an option to ?
Thanks again
-
You can auto start http by going to Services Cofig -> ChkConfig and make sure http is set to on for run levels 2 through 5.
Yes you often have to disable rules 1 by 1. I did this an wound up with the following mod_sec Disabled rules (works with Jetpack and W3 total Cache and some other plugins):
## Rules for the CWP ##
SecRuleRemoveById 910006
SecRuleRemoveById 950000
SecRuleRemoveById 950001
SecRuleRemoveById 950005
SecRuleRemoveById 950006
SecRuleRemoveById 950117
SecRuleRemoveById 950907
SecRuleRemoveById 958039
SecRuleRemoveById 958051
SecRuleRemoveById 958291
SecRuleRemoveById 959006
SecRuleRemoveById 959151
SecRuleRemoveById 960008
SecRuleRemoveById 960010
SecRuleRemoveById 960011
SecRuleRemoveById 960012
SecRuleRemoveById 960035
SecRuleRemoveById 960335
SecRuleRemoveById 960904
SecRuleRemoveById 960915
SecRuleRemoveById 970003
SecRuleRemoveById 970015
SecRuleRemoveById 970903
SecRuleRemoveById 973301
SecRuleRemoveById 973302
SecRuleRemoveById 973306
SecRuleRemoveById 973316
SecRuleRemoveById 973330
SecRuleRemoveById 973331
SecRuleRemoveById 973332
SecRuleRemoveById 973334
SecRuleRemoveById 973335
SecRuleRemoveById 973336
SecRuleRemoveById 973344
SecRuleRemoveById 973347
SecRuleRemoveById 981172
SecRuleRemoveById 981240
SecRuleRemoveById 981241
SecRuleRemoveById 981244
SecRuleRemoveById 981248
SecRuleRemoveById 981249
SecRuleRemoveById 981255
SecRuleRemoveById 981256
SecRuleRemoveById 981260
SecRuleRemoveById 981317
SecRuleRemoveById 981318
SecRuleRemoveById 981319
SecRuleRemoveById phpids-17
SecRuleRemoveById phpids-20
SecRuleRemoveById phpids-21
SecRuleRemoveById phpids-30
SecRuleRemoveById phpids-61
SecRuleRemoveById phpids-17
SecRuleRemoveById phpids-20
SecRuleRemoveById phpids-21
SecRuleRemoveById phpids-30
SecRuleRemoveById phpids-61
## Rules for the CWP ##
SecRuleRemoveById 960017
SecRuleRemoveById 960015
SecRuleRemoveById 960009
########################################
## Removed Rules for Joomla, WordPress and Drupal CMSs ## ########################################
## Joomla ##
SecRuleRemoveById 950120
SecRuleRemoveById 950901
SecRuleRemoveById 960024
SecRuleRemoveById 973300
SecRuleRemoveById 973304
SecRuleRemoveById 973333
SecRuleRemoveById 973338
SecRuleRemoveById 981173
SecRuleRemoveById 981245
SecRuleRemoveById 981257
## Wordpress ##
SecRuleRemoveById 950007
SecRuleRemoveById 950010
SecRuleRemoveById 950911
SecRuleRemoveById 958005
SecRuleRemoveById 958006
SecRuleRemoveById 958030
SecRuleRemoveById 958049
SecRuleRemoveById 958056
SecRuleRemoveById 958057
SecRuleRemoveById 959070
SecRuleRemoveById 959073
SecRuleRemoveById 960020
SecRuleRemoveById 973308
SecRuleRemoveById 973309
SecRuleRemoveById 973314
SecRuleRemoveById 973327
SecRuleRemoveById 959071
SecRuleRemoveById 959072
SecRuleRemoveById 981004
SecRuleRemoveById 981242
SecRuleRemoveById 981243
SecRuleRemoveById 981246
SecRuleRemoveById 981320
## Drupal ##
SecRuleRemoveById 981231
## Removed rules for the webftp_simple ##
SecRuleRemoveById 950109
SecRuleRemoveById 950922
SecRuleRemoveById 981000
## phpMyAdmin ##
SecRuleRemoveById 981205
SecRuleRemoveById 970901
-
I'm running into a few issues.
I have successfully migrated wordpress to a centos7 server a few times from my hosted server.
I'm trying with CWP for the first time and seem to have a problem, the HTTP test page continues to load even after I deleted the Index.html file.
I have deleted everything from the public_html folder and readded my wordpress files.
I have modified the wp_config file to reflect the new database which I imported from my live site.
Still unable to load the wordpress site no matter which urls I use. I have restarted the HTTP service and rebooted the sql database still no luck.
Anyone able to help me on this issue?
-
I'm running into a few issues.
I have successfully migrated wordpress to a centos7 server a few times from my hosted server.
I'm trying with CWP for the first time and seem to have a problem, the HTTP test page continues to load even after I deleted the Index.html file.
I have deleted everything from the public_html folder and readded my wordpress files.
I have modified the wp_config file to reflect the new database which I imported from my live site.
Still unable to load the wordpress site no matter which urls I use. I have restarted the HTTP service and rebooted the sql database still no luck.
Anyone able to help me on this issue?
Did you import the site as Root? Check the file permissions and ownership.