Debian Etch, Wordpress+mysql: setup-mysql script = permission denied
hi,
i am installing wordpress on debian etch. i have followed the instructions on this link... http://linux.justinhartman.com/Wordp...tion_on_Debian everything is fine until i reach Enable Your New Sites where i am instructed to run Quote:
Quote:
next i am instructed to Setup MySQL Database & Wordpress Config File where i am suppose to run... Quote:
i get this error... Quote:
subsequently i have tried to setup the database and config file using phpmyadmin to try and finish the install. however when i try to go through the final steps of the wordpress setup i get... Quote:
it appears that the error related to the failure of this step where i was suppose to setup a new database and create a config file at /etc/wordpress/config-example.com.php but got "permission denied" even though i am root. please advise. |
Quote:
|
hi,
i have posted the contents of /usr/share/wordpress/wp-config.php because it is quite short. i don't see where i am suppose to add the things you mentioned. i have created the database using myphpadmin. and i am trying to track down the README.Debian file wp-config.php refers to. Quote:
|
Quote:
Your wp-config.php is different from what I have in my system. Here is my wp-config.php file: Quote:
|
the error that is reported when i try to run the wordpress setup appears to be a result of the failure to create the database and config file the debian wordpress install expects when it runs wp-config.php as is.
i dare not change my wp-config.php because of the warning in its comments. and because the architecture of my debian wordpress install appears to be significantly different from yours. instead i am trying to track down the reason i get "permission denied" when i run /usr/share/doc/wordpress/examples/setup-mysql but ty for offering the contents of your wp-config.php. :) |
Have you looked through the WordPress Codex? That has a wealth of information on getting started. I would suggest the following sites to begin with:
http://codex.wordpress.org/New_To_Wo...Where_to_Start http://codex.wordpress.org/Getting_S...s#Installation http://codex.wordpress.org/Getting_S...oting_and_Help There are many more docs and they should be pleanty to get you started and give you an undersatnding of the steps to take. |
I've got several instances of wordpress and drupal running on my server. It is a debian based server.
The first thing I do is create a new database through phpmyadmin. Then I open the wordpress folder I've downloaded from their site. I take the file called wp-config-sample.php, open it, enter the appropriate db information and save it as wp-config.php. Then I upload the entire contents of the wordpress folder to my root folder on the apache server, in my case /var/www/example/. Once it is uploaded you simply call the site up in your browser and follow the instructions. The whole process shouldn't take more than five minutes. |
ty to everyone who suggested the wordpress codex and instructions at wordpress.org.
over the past few months i have run those instructions and studied the wordpress codex. however, i was unable to get custom permalinks to work on my debian etch server. subsequently i have removed the original 5min install and its databases and tried to use the debian package manager apt-get in the hopes that the apt-get script would do a better job of updating the necessary files and so-forth. i need to rephrase my question to get this issue resolved because it is a mysql issue not a wordpress issue.:hattip: |
this was the solution...
http://www.linuxquestions.org/questi...m-root-800647/ |
oznola,
I have updated your thread's title per your thoughts in Post #8; if there's any problem with the rename, feel free to contact me or hit the REPORT button and suggest a different/better title. EDIT: Updated title again per suggestion by the OP. Cheers! Sasha |
All times are GMT -5. The time now is 11:56 AM. |