Difference between revisions of "Azure VM/Ubuntu"
From SETV Springfield Technical Wiki
(Created page) (Tag: Visual edit) |
m (Tag: Visual edit) |
||
Line 33: | Line 33: | ||
sudo tar -xvzf /pathtofile/mediawiki-*.tar.gz | sudo tar -xvzf /pathtofile/mediawiki-*.tar.gz | ||
sudo mv mediawiki-*/* /var/www/wiki | sudo mv mediawiki-*/* /var/www/wiki | ||
+ | [[Category:Platinum Healthcare IT]] |
Latest revision as of 07:55, 12 March 2017
This article discusses how to deploy an Ubuntu server in Azure.
At the time of this writing, two portals are used to manage Azure, we used "Virtual Machines (classic)" to deploy the VM.
Contents
Installing LAMP stack
Once connected, this operates like any other Ubuntu server.
Update and Install Apache2
sudo apt-get update
sudo apt-get install apache2
Install MySQL
sudo apt-get install mysql-server
sudo mysql_secure_installation
Install PHP
sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql
sudo apt-get install libapache2-mod-php php-xml php-mbstring php-apcu php-intl inkscape php-gd php-cli
Add index.php
to dir.conf
sudo nano /etc/apache2/mods-enabled/dir.conf
sudo service apache2 restart
Install MediaWiki
cd /tarballs
sudo wget https://releases.wikimedia.org/mediawiki/1.28/mediawiki-1.28.0.tar.gz
sudo tar -xvzf /pathtofile/mediawiki-*.tar.gz sudo mv mediawiki-*/* /var/www/wiki