Wednesday, July 8, 2015

Installing LAMP on Debian 8.0 (Jessie)

Here are steps to install LAMP on Debian 7.1 Wheezy:
1. Open your terminal as a root (Super User)
2. Installing MySQL
# apt-get install mysql-server mysql-client
set password for root (super user)
3. Installing Apache
# apt-get install apache2
4. Install PHP
# apt-get install php5 libapache2-mod-php5
5. Restart your apache2
# /etc/init.d/apache2 restart
6. Search module
# apt-cache search php5
7. Install other modules
# apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-pspell php5-recode php5-snmp php5-tidy php5-sqlite php5-xmlrpc
8. Restart your apache2 using step 5, and test your installation using browser with URL http://localhost

No comments:

Post a Comment