Mediawiki/Installing/Ubuntu
From r00tedvw.com wiki
Installing | Multiple Instances | Ubuntu Installation
Installation Overview
All of the instructions below were done on Ubuntu 14.04 LTS
Install required packages
Below is a list of all the packages required by Mediawiki for installation on Ubuntu.
~$ sudo apt-get update && sudo apt-get install apache2 mysql-server php5 php5-mysql libapache2-mod-php5 ImageMagick
Alternatively, if you think you have already installed some of the packages, you can quickly check
~$ dpkg -s [package name] | grep Status ie. ~$ dpkg -s imagemagick | grep Status Status: install ok installed
setup mysql
make sure mysql is started
~$ sudo service mysqld status or ~$ sudo service mysqld start
setup the basics
~$ sudo mysql_secure_installation Set root password? [Y/n] y Remove anonymous users? [Y/n] y Disallow root login remotely? [Y/n] y Remove test database and access to it? [Y/n] y Reload privilege tables now? [Y/n] y
login to db
~$ mysql -u root -p