Installing Apache2 - Debian

I want to Installing Apache2 in my box right now, here we go..

Hmmm.., i'm using an internet connection to install this application.., so first of all we must configure the source list file at /etc/apt/sources.list, i'm using this configuration because its near to my location, maybe you need an another configuration for this ones.., here is mine:

# deb http://kebo.vlsm.org/debian/ etch main

deb http://kebo.vlsm.org/debian/ etch main
deb-src http://kebo.vlsm.org/debian/ etch main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main
test the source list file..

debian:~# apt-get update
Get:1 http://kebo.vlsm.org etch Release.gpg [386B]
Hit http://kebo.vlsm.org etch Release
Ign http://kebo.vlsm.org etch/main Packages/DiffIndex
Ign http://kebo.vlsm.org etch/main Sources/DiffIndex
Hit http://kebo.vlsm.org etch/main Packages
Hit http://kebo.vlsm.org etch/main Sources
Fetched 1B in 0s (2B/s)
Reading package lists... Done
debian:~#
ok.., now lets install the apache2..


debian:~# apt-get install apache2
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
apache2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/41.3kB of archives.
After unpacking 90.1kB of additional disk space will be used.
Selecting previously deselected package apache2.
(Reading database ... 86947 files and directories currently installed.)
Unpacking apache2 (from .../apache2_2.2.3-4+etch6_all.deb) ...
Setting up apache2 (2.2.3-4+etch6) ...
debian:~#
then lets check if apache2 is work or not..

debian:~# ps -ax | grep apache2
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
3702 ? Ss 0:00 /usr/sbin/apache2 -k start
3703 ? S 0:00 /usr/sbin/apache2 -k start
3704 ? Sl 0:00 /usr/sbin/apache2 -k start
3706 ? Sl 0:00 /usr/sbin/apache2 -k start
4152 pts/0 S+ 0:00 grep apache2
debian:~#
Or you can check it by the browser..


That's all.. :D

0 comments:

Post a Comment