Saturday, 15 September 2012

the web server

to setup a web server. we have a lot of choices, list of web server . for this project i like to use apache web server, and maybe would try IIS for a result comparison later. =)

to setup an apache web server, i would like it to run on ubuntu.

first, install ubuntu.
to enable root account on ubuntu, follow guide on this enable root howto

after finish installation, first thing you to do is to update&upgrade the os.
for ubuntu, you use "apt-get update" & "apt-get upgrade". reboot.

update 2012/09/16: sometimes, you need to add "sudo" in front of the command "apt-get". if you get error unable to locate package

now we can install apache web server. here are a few links that can follow as a guide in order to install and configure apache web server on ubuntu. or maybe you can just google it =)

1. link1
2. link2 - from ubuntu site

you can istall it by type "apt-get install apache2"

to test whether it installed correctly or not, just simply "ifconfig" to get your ip add.
open your browser, paste the ip add, and click go.
you should get reply from apache web server,

It works!

This is the default web page for this server.
The web server software is running but no content has been added, yet.

update 2012/09/16:
i install PHP5 and the Apache PHP5 module as follows:
apt-get install php5 libapache2-mod-php5
after that must restart Apache:
/etc/init.d/apache2 restart

Installing apache on ubuntu is straight forward and easy.
Good luck!

Sunday, 9 September 2012

the adventure of life is to learn

so today i decide to start blogging. hopefully it will become my habits. :) this blog create as a tools for me to help me in doing my project. mainly focus on network security, especially on ids. i will document my project on this blog. by the end of this year, i wish i can complete my project. =)