I have been busy this week trying to imagine the main characters of my Comic Series Moo — The Sales Man.
I came up with two characters, the first one is Moo of course “DUH!!!” here is a quick sketch of how I imagine him in my head:

[right click and open in a new tab/window]
Moo “his real name is Mo2ness, an Arabic name” is a junior sales engineer in the Information Technology field, he lacks self confidence, always feeling guilty about something, he thinks he is the most intelligent person in the whole universe, and he is hoping someday to have a girlfriend!.
As you can see he is bold “as most Egyptian guys”, and I intended to make his head very big and I gave him a long neck “”probably this will be the main theme of all the other characters”. To add the geeky effect, I have attached those GIGANTIC eye glasses
.
The second character is Suu, Suu is working as a secretary in the same company as Moo. She is the series Hottie
, and of course Moo has a crush on her, and she knows that and using this fact for her own advantage and finally she is a raw model of a Heart Breaker
.
[right click and open in a new tab/window]
now folks stay tuned, my first comic strip is on its way
Wow!! I am really amazed how I managed to live up till this age. Today I have completed 24 years!!
I am writing this post while sitting in a hotel apartment in Dubai all alone
(For curious people the hotel name is Kirklees Hotel which is really cool BTW) waiting for a Thai lady to have a Soapy Massage
.
Now its time to blow the candles
1.upto(24) do |candle|
blow candle
end
and last thing I want to say to special someone I MISS YOU (yes you!!)..
Chaw
Yesterday I wanted to host a web application that I have developed to let my friends play with it and tell me their opinion in it. At the moment I have only one home server machine that runs Microsoft Windowzzz XP professional “yes my other machines are dead
” I wanted to find a quick yet efficient way to host my app without paying a penny
and thank God I did find a way, here are the steps that you can follow to host whatever you want on your home server:
Steps:
1- Download/get
VMWare workstation 6.0 (ACE edition).
2- Download UBUNTU 7.10 Server Edition “Yes, I couldn’t wait another 18 days to get the new release
“.
3- Install UBUNTU “guest OS” on the VMWare.
Note: Be sure to configure your virtual machine to use bridged networking.
4- Start your new guest OS (see the below screenshot).
5- Inside UBUNTU install apache2 web server “You can install it during the installation process of UBUNTU and select to install a LAMP server” to do that type the following in your command prompt:
sudo apt-get install apache2
6- After installing apache2 web server, edit the file /etc/apache2/ports.conf to change the port on which apache2 listens for requests “You might be wondering why
well it is a good thing from security point of view” :
sudo vim /etc/apache2/ports.conf
and then change port from 80 “which is the default” to lets say port 5555 “You must be sure that this port is not occupied by another application!!” :
Listen 5555
and finally save and close the file.
7- No we face a problem that our ISP is providing us a dynamic IP not a static one, so we need to figure out a way on how can we map our dynamic IP to a domain name ??!! Fortunately someone has done all the effort for us and provided it to us as a free service
. Now leave UBUNTU for a couple of minutes
, open your web browser on Windowz and go to the following URL http://www.no-ip.com/ no-ip provides a free service that automatically updates our dynamic IP with a specific domain “This is called Dynamic DNS”. When you open no-ip website, first you have to choose the free service that this great company provides and create a new account (see the screenshot below):

8- After a successful registration process you should have an active account, now we need to add a host. Click on Add link in the Hosts/Redirects menu (step 1 in the below screenshot), you will be presented by new page where you enter your new host details (step2 in the below screenshot), and when you finish entering the required information press Create Host button (step 3 the in below screenshot) :

9- The last step we are going to do and I promise after that we will get back to UBUNTU
. In no-ip website click on Downloads link (step 1 in the below screenshot), and click to download no-ip updater client for our platform which is Microsoft Windowz (step 2 in the below screenshot)

You may wonder what is the updater thingy? why are we downloading it? The no-ip updater client is the voodoo behind all this, it constantly checks whether our external IP is changed or not and if it did change it will automatically update and remaps the new IP with our host/domain “very neat haaa
“. After the download process is finished start installing it. You should see something similar to this:

You must check the check box(es) beside your host(s) and click update.. Now no-ip has our latest IP in its database.
10- As promised we will switch back to our beloved UBUNTU, now its time to configure our network interface (eth0). In the command prompt, open and edit the file /etc/network/interfaces:
sudo vim /etc/network/interfaces
and modfiy the setting of your eth0 interface like this:
auto eth0
iface eth0 inet static
address e.g. 192.168.0.3
netmask e.g. 255.255.255.0
network e.g. 192.168.0.0
broadcast e.g. 255.255.255.0
gateway e.g. 192.168.0.1
save and close the file, to apply our changes we need to restart the network by typing the following command:
sudo /etc/init.d/networking restart
11- Finally!, the last step
, We need to configure our web server (apache2) to work correctly with our new host/domain. We can achieve this my using apache2’s virtual hosts. In your command prompt type the following:
cd /etc/apache2/sites-available
and now create a new file by typing the following:
sudo vim myNewSite
and insert the following text:
<VirtualHost your-eth0-IP >
ServerAdmin admin_email
ServerName your_new_domain
ServerAlias www.your_new_domain
DocumentRoot /var/www/
</VirtualHost>
save and close the file, then execute the following command:
cd /etc/apache2/sites-enabled
sudo a2ensite myNewSite
and the last thing, we must restart our web server to reflect the changes we made:
sudo /etc/init.d/apache2 restart
12- Yes I lied this is the last step
we need to configure our router to do some Network Address Translation (NAT). I will show you how you can do this on D-Link DSL-520T “why you say
because this is the model of my router
” fire up your web browser and go to the following URL http://192.168.1.1 then type the admin username and password. Click on Advanced link (see step 1the screenshot below) and select Virtual server link from the left menu (see step 2 in the screenshot below) and be sure that IP of your linux box is selected in LAN IP combo box (see step 3 in the screenshot below), then choose user radio button from categories (see step 4 in the screenshot below), and finally click on Add button (see Step 5 in the screenshot below):
When you clicked on the Add button a new page is loaded in which you specify a name for the service you want the router to do the NATing for and its port number(s):
and when you enter the information needed press the Apply button (Step 2 in the above screenshot). Now we should return back to the Virtual Server page and pick the newly created service “in our case webserver” from Available Rules list (see the below screenshot) and click on Add> button (see step 2 in the below screenshot), and finally click on Apply Button (Step 3 in the below screenshot):
Now its time to save and reboot our router.
PHEEEWW we are done
, now you can access your web server from any place through this URL http://you_new_host:port/ where port is the port on which your web server listens on.
Feel free to ask me any question, or if you have a problem in one of the steps, by leaving a comment..
Chaw







