Installing Magento 2.x and PHP 7.0 on Debian Jessie x64

Step by Step

gpg --keyserver --recv-key 89DF5277 && gpg -a --export 89DF5277 | apt-key add

Add sources

nano /etc/apt/sources.list

deb jessie all
deb-src jessie all
apt-get update
apt-get install php7.0-cli php7.0-fpm php7.0-mysql php7.0-curl php7.0-gd php7.0-imagick php7.0-mcrypt php7.0-memcached php7.0-imap python-software-properties software-properties-common php7.0 php7.0 php7.0-common php7.0-gd php7.0-mysql php7.0-mcrypt php7.0-curl php7.0-intl php7.0-xsl php7.0-mbstring php7.0-zip php7.0-bcmath php7.0-iconv -y

Install Percona Database Server

wget$(lsb_release -sc)_all.deb
dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb

Update the repo

apt-get update
apt-get install percona-server-server-5.7 percona-server-client-5.7 -y

Once above is installed simply download Nginx for Jessie – which is already compiled with all the modules and Pagespeed



Leave a Reply

Your email address will not be published. Required fields are marked *