Skip to content

Instantly share code, notes, and snippets.

@ionixjunior
Last active December 21, 2016 01:15
Show Gist options
  • Save ionixjunior/58f060a5a22c93048caa to your computer and use it in GitHub Desktop.
Save ionixjunior/58f060a5a22c93048caa to your computer and use it in GitHub Desktop.
MediaWiki installation for Ubuntu
# Dependencies
apt-get -y install php5
apt-get -y install php5-mysql
apt-get -y install php5-gd
apt-get -y install php5-intl
apt-get -y install php-apc
apt-get -y install apache2
apt-get -y install libapache2-mod-php5
apt-get -y install mysql-server
apt-get -y install mysql-client
apt-get -y install git
# MediaWiki
wget https://releases.wikimedia.org/mediawiki/1.28/mediawiki-1.28.0.tar.gz
tar -zxf mediawiki-1.28.0.tar.gz
mv mediawiki-1.28.0 wiki
mv wiki /var/www/html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment