php7 szerver telepítés debian 9-en

apt-get -y install curl mysql-server mysql-client mariadb-server mariadb-client apache2 php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-gd php7.0-intl php-pear php-imagick php7.0-imap php7.0-mcrypt php-memcache php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext phpmyadmin git php7.0-zip 
mysql_secure_installation

mysql -u root -p

CREATE USER 'admin'@'localhost' IDENTIFIED BY 'jelszó';
GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;
exit;

curl -sL https://deb.nodesource.com/setup_8.x | bash -
apt-get install -y nodejs build-essential
npm install -g google-closure-compiler-js

 

Szólj hozzá!