Debian LAMP

From Braindisconnect
Revision as of 15:20, 24 March 2019 by Jbutler (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Add to /etc/apt/sources.list:

# dotdeb.org updated php, apache, mysql
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all

Download the key:

wget https://www.dotdeb.org/dotdeb.gpg

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

reboot

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

http://yourwebpage/