Tuesday, March 16, 2010

Running apache2 server on ubuntu and tracking its activity..

This is a simple guide to install and run apache2 server on ubuntu and track the server activity while it is running.

Install apache2 server on ubuntu through terminal..

sudo apt-get install apache2


Track server by running following command in a separate terminal

tail -f /var/log/apache2/error.log

now you can see the server activity being logged in this terminal.

Start apache2 server

cd /etc/init.d
sudo ./apache2 start

You can also do

sudo ./apache2 --help

to view all available commands.

Now go to http://localhost in your browser

The message 'It works!' will be displayed. (the file displayed is index.html in /var/www folder)

Sunday, February 28, 2010

Running Ubuntu inside Windows

Love this! No more rebooting for windows or ubuntu. No need for a separate VM. I am running ubuntu inside windows and can access both ubuntu and windows programs at the same time. Right now I am running IE on windows while downloading packages on Synaptic Package Manager on ubuntu.

I am running Vista with 3GB RAM and core 2 duo processor and things run pretty much normal without slowing down.

Totally recommend this for anyone using Windows and Ubuntu on dual boot.


Here's a screenshot of what ubuntu inside windows looks like on my machine.


Reblog this post [with Zemanta]

Tuesday, February 9, 2010

Send SMS for free to dialog Sri Lanka numbers from your email

This is not an ideal way to send SMS but it works, its easy and its free! Well not 100% free because to activate it the SMS receiver must dial 711. That will cost around Rs 3/-.

next go to your email program and create a new message.
in the 'To' field put the email address(es) in the following format

77xxxxxxx@dialog.lk

(this is the dialog number of the receiver followed by '@dialog.lk')

in the 'Subject' field put your message (this should be less than 120 characters)
leave message body blank
send the message
the receiver will get the message immediately.

This is an easy way to send short SMS alerts for free to a group of people. I found this method out while referring to the 'Pocket Office' service offered by dialog.

http://www.dialog.lk/personal/mobile/features-and-vas/messaging/pocket-office/

If anyone knows of a better way to send SMS for free to dialog please let me know. I tried out different services available online but none of them worked.

Friday, January 29, 2010

Avatar Craze!

Okay I'm a huge fan of the movie and I'm deeply dissapointed I can't watch it in 3D! Just thought I'd post some of my favourite Avatar pics/wallpapers here in my blog.