Rodiq » Page 'how to install wordpress on ubuntu festy fawn'

how to install wordpress on ubuntu festy fawn

Step one: go to http://www.wordpress.com/download and download the latest release (the wordpress package did not work for me)

Step two: unzip the wordpress release in /var/www (you may install apache2 first)

Step three: follow famous 5 minutes install: http://codex.wordpress.org/Installing_WordPress

Comments: for creating a mysql database:

mysqladmin create database_name
mysql
> GRANT ALL PRIVILEGES ON database_name.* TO ‘username’@'localhost’ IDENTIFIED BY ‘password’;
> FLUSH PRIVILEGES;
For hosting your domain: buy a domain, for free hosting you may want to use www.mydomain.com, then configure a virtual server in

/etc/apache2/modules.d/90_vhosts.conf

<VirtualHost *:80>
ServerName www.rodiq.ro
ServerAlias rodiq.ro
DocumentRoot /data/www/wordpress
CustomLog logs/access_log.rodiq.ro.log combined
ErrorLog logs/error_log.rodiq.ro.log
<Directory “/var/www/wordpress”>
AllowOverride All
AuthUserFile /etc/passwd_apache
AuthGroupFile /etc/groups_apache
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
For having your server accessible from outside, you have to change in the database the hostname:

update wp_options set option_value = ‘http://www.rodiq.ro’ where option_name = ‘siteurl’;
update wp_options set option_value = ‘http://www.rodiq.ro’ where option_name = ‘home’;

Good luck!

Share and Enjoy:
  • Digg
  • StumbleUpon
  • Facebook
  • Google Bookmarks
  • Reddit
  • RSS

2 comments to “how to install wordpress on ubuntu festy fawn”

  1. Pretty awesome article. Thanks! – CowDir

  2. it is great!

Leave a comment


9 × = forty five