Last active
May 11, 2018 18:59
-
-
Save abracu/71b10a3c0d397f3c53d9ed44ba653b22 to your computer and use it in GitHub Desktop.
Instalación Ubuntu 16.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update && apt-get upgrade | |
apt-get install apache2 | |
systemctl enable apache2 | |
apt-get install mysql-server | |
mysql_secure_installation | |
systemctl enable mysql | |
apt-get install php7.0 libapache2-mod-php7.0 php7.0-mysql | |
sudo apt-get install php7.0-mcrypt php7.0-curl php7.0-gd php7.0-imap php7.0-mbstring php7.0-mcrypt | |
systemctl restart apache2 | |
apt-get install leafpad | |
service apache2 restart | |
sudo apt-get install a2ensite | |
sudo apt-get install vim | |
vim /etc/mysql/mysql.conf.d/mysqld.cnf | |
sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION | |
service mysql restart | |
sudo service apache2 restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment