Skip to content

Instantly share code, notes, and snippets.

@Domin8-IPTV
Last active February 18, 2020 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Domin8-IPTV/2da2e7538e11604bcc59265e8e36638c to your computer and use it in GitHub Desktop.
Save Domin8-IPTV/2da2e7538e11604bcc59265e8e36638c to your computer and use it in GitHub Desktop.
apache2.sh
#!/bin/bash
apt-get update && apt-get upgrade
apt-get install apache2
apt-get install libapache2-mod-php5
apt-get install mcrypt
apt-get install curl
apt-get install php5-curl
apt-get install php5-mcrypt
a2enmod rewrite
php5enmod mcrypt
service apache2 restart
sudo apt-get update
sudo apt-get install mysql-server
sudo mysql_secure_installation
sudo mysql_install_db
sudo apt-get update
sudo apt-get install phpmyadmin
service apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment