Viewing all posts tagged with EEEPC

Back home

Installing Apache 2 on the eeePC running Ubuntu

1st January 2009

I’ve just installed Apache 2 and PHP5 on my little EEEpc running Ubuntu and I was quite pleased with how easily it went on there despite a few little niggles.

So because its the new year and because the Krypton Factor is back on TV (minus the flight sim! - what were they thinking?) heres how I did it for anyone that might be trying.

Firstly you will need to get and install all the required bits and bobs namely apache 2 and php 5, so fire up a shell and do the following:

sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart

Hopefully all will have gone swimmingly and you can test your install by going to http://127.0.0.1 in your favorite web browser

The first issue I came across with this install was that apache couldn’t work out its hostname properly so was having a guess at it. Although this works fine locally anything trying to access your web server from elsewhere might have a bit of trouble finding it. Fortunately this is easy enough to fix. Again in the shell find out your hostname by issuing the fhostname command:

hostname

copy the result of the command so we can add it to the apache configuration file…

sudo vi /etc/apache2/httpd.conf

and add a server name command followed by the host name you copied earlier e.g.

ServerName my-host-name

Non vi lovers might like to know you need to press ‘i’ before you can add anything to the file and you need to press esc then type ‘:wq’ followed by return to write the file and quit.

Restart apache with ‘sudo /etc/init.d/apache2 restart’ and away you go.

The next issue I encountered was a missing log file directory after reboot which was stopping the httpd service from starting automatically. Simply add the directory and set the permissions to fix this one:

sudo mkdir /var/log/apache2/
sudo chmod 751 /var/log/apache2/

Bingo! all done. Don’t say I never give you nowt.

Tagged with: EEEPC, Ubuntu, Apache, PHP, skillz, Krypton Factorback to top ^

Ubuntu on the eeePC

10th June 2008

So I recently convinced myself to buy a little ASUS eeePc as my entry into the world of laptop computing. I'm a bit of a stickler when it comes to PC's, I think they should look like they've been lifted straight out of a 70's lab scenario and sound similar to a harrier jump jet, but for some reason the eeePC really appeals to me.

Basically its small and cheap enough to chuck it in my Jack Bauer man bag with all my other band gubbins and its clever enough to be able to borrow all the unsecured wifi juice I can find (not that I condone that kind of thing).

After around 30 seconds It was apparent that the fun skool 3 esque Xandros distro wasn't going to give me everything that I wanted, although I'm sure it will be perfect for kids and anyone who just wants a portable internet hot pipe.

I read up quite a lot on this first and found this to be the most complete and accurate tutorial:

http://trenteee.blogspot.com/2007/12/howto-install-ubuntu-on-eee-pc-with_10.html

It took me about an hour an now I have a lovely little ubuntu box. Some people have had bother with the madwifi drivers I found the forums at eeepcuser quite useful even if they are a bit out of date sometimes.

Rock on.

Tagged with: EEEPC, Man-bag, Ubuntuback to top ^