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 ftp://ftp.au.debian.org/debian stable main contrib non-free
deb-src ftp://ftp.au.debian.org/debian stable main contrib non-free

Begin!

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
exit

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!

Responder

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

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. 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: