Debian LAMP

From Braindisconnect
Jump to navigationJump to search

Add to /etc/apt/sources.list:

# updated php, apache, mysql
deb wheezy all
deb-src wheezy all

Download the key:


Add the Key to APT:

apt-key add dotdeb.gpg

Install the Packages

  • These packages are specifically for what I need, it doesn't hurt to have them as there are no running processes outside of MySQL and Apache.
apt-get update
apt-get -y install apache2 apache2-doc autoconf automake bison ca-certificates ethtool flex g++ gcc gcc-4.4 libapache2-mod-php5 libcrypt-ssleay-perl libmysqlclient-dev libnet1 libnet1-dev libpcre3 libpcre3-dev libphp-adodb libssl-dev libtool libwww-perl make mysql-client mysql-common mysql-server ntp php5-cli php5-gd php5-mysql php-pear sysstat


Navigate to your new webpage - replace yourwebpage with your actual server name or IP: