Step-by-step Install Guide for Debian: Difference between revisions
No edit summary |
|||
Line 41: | Line 41: | ||
<pre> | <pre> | ||
# reboot | # reboot | ||
</pre> | |||
=== Install web server === | |||
==== Install lighttpd (skip apache) ==== | |||
At this point we'll need to log in again to the server as root and type: | |||
<pre> | |||
# aptitude install lighttpd | |||
</pre> | |||
Press Y to continue the install. | |||
We now need enable CGI scripts | |||
<pre> | |||
# lighty-enable-mod cgi | |||
# /etc/init.d/lighttpd force-reload | |||
</pre> | </pre> |
Revision as of 11:36, 25 August 2008
What you need to start
- etch CD-1
- A test x86 desktop computer, keyboard, monitor, mouse, and firewalled internet connection.
- One hour of time. (seriously!)
Directions
Install Debian
Follow the official guide:
http://www.debian.org/releases/stable/installmanual
Log in the root account and edit the /etc/apt/sources.list file adding the official repository nearest to your connection.
# nano /etc/apt/sources.list
For example, from chili:
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.cl.debian.org/debian/ etch main contrib
deb-src http://ftp.cl.debian.org/debian/ etch main contrib
Now to get all the security updates.
# aptitude update # aptitude dist-upgrade
And reboot to run on the new kernel! (if it is the case)
# reboot
Install web server
Install lighttpd (skip apache)
At this point we'll need to log in again to the server as root and type:
# aptitude install lighttpd
Press Y to continue the install.
We now need enable CGI scripts
# lighty-enable-mod cgi # /etc/init.d/lighttpd force-reload