LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2012, 08:18 AM   #1
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Rep: Reputation: 30
Smile installing and using wordpress


Hi

I have posted a query in the software forum, but think I need to go back a step to 'beginner level', so can I ask if anyone can point me at a good tutorial which will explain how to install and configure wordpress.

I already have a deb 6 squeeze desktop box with apache2 installed and just want to use a local install of wordpress to create a website which I may eventually publish.

The danger with the above is it sounds like I know what I'm talking about doesn't it....

thanks for any help on the basics steps of what to do.

I am o.k with apt get wordpress but what do I do once it's installed?
 
Old 08-28-2012, 01:24 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,831
Blog Entries: 36

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
There should be a configuration for it in /etc/httpd/conf.d/ or /etc/apache2/conf.d/ directories. In addition to that the files should be installed somewhere in /var/www/. I'm not on debian so I can't verify to be sure.

Wordpress depends on a webserver and in all likelyhood in your case that web server is Apache httpd. You need to install and setup mysql (create a user and database). Then visit the wordpress URL to set up the database and other specific config options you desire.

e.g. here's mysql code.
Code:
CREATE USER 'wordpress'@'localhost' IDENTIFIED BY 'wordpress';
CREATE DATABASE wordpress;
GRANT ALL PRIVILEGES ON wordpress.* TO 'wordpress'@'localhost' IDENTIFIED BY 'wordpress';
Then when you're going through the setup for wordpress select localhost to be the database (mysql and httpd should be running), and then choose the user/password to be wordpress since that's what we set up in our sample commands.

Remember to set up a firewall on your system. If you don't have a firewall configured then your mysql database (default port 3306) is open to vulnerabilities and it will be easy to hack your wordpress and even possibly your system.

Personally I'd rather download the latest wordpress from their website and then manually install it within /var/www/. You never know when the repository package could be outdated or, even worse, automatically upgraded and break your blog. If you do it more manually you'll learn more about it and you'll have more control when upgrading versions where security is a high risk. Being a php app there is a high risk running it. Therefore it is always recommended to pay attention to new updates and be diligent about upgrading to the latest stable bugfix release.

Last edited by sag47; 08-28-2012 at 01:29 PM.
 
Old 08-28-2012, 01:37 PM   #3
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Wordpress is famous for its easy install, here are instructions I have followed about a dozen times with good results:

http://codex.wordpress.org/Installing_WordPress
 
Old 08-31-2012, 04:45 PM   #4
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Original Poster
Rep: Reputation: 30
Smile thanks

thanks for the info. When i install and navigate to the wordpress directory http://localhost/wordpress I just see a directory of files. Where do I go next?
thanks
Paul
 
Old 08-31-2012, 10:05 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,333
Blog Entries: 12

Rep: Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729Reputation: 2729
This is a shot in the dark, but do you have MySQL running with a database configured for WordPress to use and did you configure the file wp-config.php in a text editor?

Odds are you can answer most of your questions at the WordPress codex. The WordPress docs are excellent.

Last edited by frankbell; 08-31-2012 at 10:07 PM.
 
Old 09-01-2012, 05:59 PM   #6
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,037

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Assuming you have carefully and methodically followed all steps up to that point, then:

Quote:
6. Run the WordPress installation script by accessing wp-admin/install.php in a web browser.

If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
(In your case obviously change http://example.com to http://localhost/wordpress)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing WordPress on Ubuntu 12.04 Bob Fletcher Linux - Software 2 08-22-2012 07:35 AM
LXer: Installing Webuzo Wordpress Stack LXer Syndicated Linux News 0 02-06-2012 08:50 AM
[SOLVED] installing BITNAMI (wordpress) on Ubuntu 10.04 den_. Linux - Software 10 11-06-2010 02:08 PM
LXer: Installing WordPress 3.0 on Ubuntu 10.04 (Lucid Lynx) LXer Syndicated Linux News 0 07-08-2010 10:10 PM
Installing Wordpress into multiple directories oadvantage General 2 04-28-2006 05:34 PM


All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration