<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hans Rasmussen &#187; Ubuntu</title>
	<atom:link href="http://www.hansrasmussen.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hansrasmussen.com</link>
	<description>info@hansrasmussen.com, +46 (0)723 207008</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:59:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing LAMP (easy way)</title>
		<link>http://www.hansrasmussen.com/2010/02/installing-lamp-easy-way/</link>
		<comments>http://www.hansrasmussen.com/2010/02/installing-lamp-easy-way/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:41:39 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=41</guid>
		<description><![CDATA[I previously wrote about how to install WordPress on Ubuntu with some information on how to setup Apache, mySQL, PHP. A faster way (if you do not care about selecting and configuring manually) sudo tasksel install lamp-server]]></description>
			<content:encoded><![CDATA[<p>I previously wrote about how to install WordPress on Ubuntu with some information on how to setup Apache, mySQL, PHP.</p>
<p>A faster way (if you do not care about selecting and configuring manually)</p>
<p>sudo tasksel install lamp-server</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/installing-lamp-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up WordPress on Ubuntu</title>
		<link>http://www.hansrasmussen.com/2010/02/setting-up-wordpress-on-ubuntu/</link>
		<comments>http://www.hansrasmussen.com/2010/02/setting-up-wordpress-on-ubuntu/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 23:39:57 +0000</pubDate>
		<dc:creator>Hans Rasmussen</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.hansrasmussen.com/?p=38</guid>
		<description><![CDATA[There are a few good blogs so I decided to install/configure WordPress on Ubuntu 7.1 workstation to see what is was all about. Since I wasn&#8217;t using any packaging tools I tried to make it through a terminal window. That wasn&#8217;t that easy as I thought so I thought I&#8217;d give some documentation about the steps. Most [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few good blogs so I decided to install/configure WordPress on Ubuntu 7.1 workstation to see what is was all about.</p>
<p>Since I wasn&#8217;t using any packaging tools I tried to make it through a terminal window. That wasn&#8217;t that easy as I thought so I thought I&#8217;d give some documentation about the steps. Most of if was found through &#8220;Google&#8221;, but some also by reading further into different documentation on each of the websites for each technology.</p>
<p>Installing Ubuntu 7.10 was easy. Inserted the CD booted my laptop answered a few questions and in 20 min I was running my Ubuntu 7.10 workstation. Even gave it a running on the software updates and it was all ready in a few minutes.</p>
<p>First you need to install Apache2 so in a terminal window you need to type</p>
<p><strong>sudo apt-get install apache2</strong></p>
<p>Now when Apache is installed you want to install PHP and other necessary libraries for Apache</p>
<p><strong>sudo apt-get install php5</strong></p>
<p>sudo apt-get install libapache2-mod-php5</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>When PHP is installed you want to install MySQL and other necessary libraries so that PHP, Apache and MySQL integrates. Notice when you install you will be requested to create a password for user &#8216;root&#8217;. Please remember this password. It is needed later on.</p>
<p><strong>sudo apt-get install mysql-server</strong></p>
<p>sudo apt-get install mysql-client</p>
<p>sudo apt-get install php5-mysql</p>
<p>sudo apt-get install libapache2-mod-auth-mysql</p>
<p>WordPress also supports URL-rewriting (a technique that enables friendly URLs instead of cryptic mypage.php?id=298)</p>
<p><strong>sudo a2enmod rewrite</strong></p>
<p>sudo gedit /etc/apache2/sites-enabled/000-default</p>
<p>Change AllowOverride None to AllowOverride All</p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>Now when everything is installed you need to create a database and a database user for WordPress in order to complete the instructions on WordPress website. Notice that when you create a user (with the grant usage command) that you need to do this 3 times (once for localhost, once for IP for localhost and once for the hostname of your computer)</p>
<p><strong>mysql -u root -p&#8217;YourpasswordFromInstall&#8217;</strong>(you are now logged in)</p>
<p><strong>CREATE DATABASE wordpress;</strong> <strong>&#8216;wordpressuser&#8217;@'yourcomputername&#8217;</strong><strong>;</strong>(you have now created users and given users privileges to wordpress database so you can now try to logon with newly created user)</p>
<p>grant usage on *.* to &#8216;wordpressuser&#8217;@'localhost&#8217; identified by &#8216;wordpresspassword&#8217;;</p>
<p>grant usage on *.* to &#8216;wordpressuser&#8217;@&#8217;127.0.0.1&#8242; identified by &#8216;wordpresspassword&#8217;;</p>
<p>grant usage on *.* to &#8216;wordpressuser&#8217;@'yourcomputername&#8217; identified by &#8216;wordpresspassword&#8217;;</p>
<p>grant all privileges on wordpress.* to &#8216;wordpressuser&#8217;@'localhost&#8217;;</p>
<p>grant all privileges on wordpress.* to &#8216;wordpressuser&#8217;@&#8217;127.0.0.1&#8242;;</p>
<p>grant all privileges on wordpress.* to</p>
<p>exit;</p>
<p><strong>mysql -u wordpressuser -p&#8217;wordpresspassword&#8217; wordpress</strong>(if everything has gone alright, you should now be logged in)</p>
<p>Now your Ubuntu should be ready for the instructions given at WordPress own website</p>
<p><a href="http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install">http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install</a></p>
<p>A tip is that the root for Apache is in folder /var/www and if you wish to use WordPress as a subdirectory you should copy wordpress directory to here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hansrasmussen.com/2010/02/setting-up-wordpress-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

