• Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Únete a otros 2 seguidores

  • Calendario de Actividades

    enero 2009
    L M X J V S D
    « Dic   Feb »
  • Reciente Comentarios

    tech drawing symbols en UBUNTU DEBIAN LINUX minihowto…
    chris en UBUNTU DEBIAN LINUX minihowto…
    Anónimo en Como Habilitar el un usuario G…
    dzup en CentOS Howto Dinamic…
    programavoip en CentOS Howto Dinamic…
  • Blog Stats

    • 11,804 hits

Debian Etch Apache, PHP (Building a test http deamon using Apache)

We are going to install a test http daemon using Apache, will install lots of stuff, this is NOT for production boxes, be carefull.
First we are in Debian.

uname -a
Linux alex 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007 i686 GNU/Linux

Our source.list file content:

cat /etc/apt/sources.list
deb stable main contrib non-free
deb-src stable main contrib non-free


su root
apt-get update
apt-get upgrade

You can skip this if you are not installing sudo
Please note _YOURUSER_ string bellow!.
If you like using sudo without prompting your root’s password in every command that require root access, replace _YOURUSER_ with your shell username, or if you wish dont use sudo at all, remember if not using sudo eliminate sudo from the commands and become root.

su root
apt-get install sudo
echo "_YOURUSER_ ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers

Continue as follows:

sudo apt-get install apache2 libapache2-mod-php5 python-pyopenssl python-twisted php5-memcache bzip2 xml-core lsb-release file libssl-dev libldap2-dev ntp memcached python python-ldap

sudo apt-get install php5-mysql php5-xmlrpc mcrypt mysql-server-5.0 mysql-client-5.0 build-essential ssl-cert less php5-curl php5-gd php5-imap php5-ldap php5-mcrypt

Note: This is ONLY installation, you still need to do the ‘config’ deal to each of those packages.
Now you can browse into your new http://localhost daemon.
Done, enjoy!



Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de

Estás comentando usando tu cuenta de Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: