willianmacedo
(usa Debian)
Enviado em 09/12/2016 - 18:25h
apt-get -y install mariadb-server mariadb-client
mysql_secure_installation
mysql -u root -p
quit
apt-get -y install apache2
apt-get -y install php7.0 libapache2-mod-php7.0
systemctl restart apache2
nano /var/www/html/info.php
colar codigo abaixo
<?php
phpinfo();
?>
chown www-data:www-data /var/www/html/info.php
apt-cache search php7.0
apt-get -y install php7.0-mysql php7.0-curl php7.0-gd php7.0-imap php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext
/etc/init.d/apache2 restart
apt-get install php7.0-apcu php7.0-apcu-bc
/etc/init.d/apache2 restart
rm -f /var/www/html/info.php
a2enmod ssl
a2ensite default-ssl
/etc/init.d/apache2 restart
apt-get -y install phpmyadmin
nano /etc/apache2/apache2.conf
incluir as 2 primeiras linhas abaixo
ServerName localhost
include /etc/phpmyadmin/apache.conf
# It is split into several files forming the configuration hierarchy outlined
# below, all located in the /etc/apache2/ directory:
#
# /etc/apache2/
# |-- apache2.conf
# | `-- ports.conf
# |-- mods-enabled
# | |-- *.load
# | `-- *.conf
# |-- conf-enabled
# | `-- *.conf
# `-- sites-enabled
# `-- *.conf
/etc/init.d/apache2 restart
faltou só Git
mas esse e facil
abraxxxxx