Skip to content

Instantly share code, notes, and snippets.

@abracu
Last active May 11, 2018 18:59
Show Gist options
  • Save abracu/71b10a3c0d397f3c53d9ed44ba653b22 to your computer and use it in GitHub Desktop.
Save abracu/71b10a3c0d397f3c53d9ed44ba653b22 to your computer and use it in GitHub Desktop.
Instalación Ubuntu 16.04
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