Installing MediaWiki using VirtualBox

Similar documents
Tutorial for virtual machine creation and installation of Linux C4Sys iso file in Windows.

The Python Mini-Degree Development Environment Guide

Setting up Ubuntu with VirtualBox

CIS 76 Ethical Hacking Building an open source Pentest Sandbox, carrying out a Remote Code Execution exploit, and Remediating the RCE vulnerability.

Install and Configure Ubuntu on a VirtualBox Virtual Machine

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

L.A.M.P. Stack Part I

Parallel Programming

Installing VirtualBox and Ubuntu

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

Installing LAMP on Ubuntu and (Lucid Lynx, Maverick Meerkat)

Setting up VPS on Ovh public cloud and installing lamp server on Ubuntu instance

Setting Up U P D AT E D 1 / 3 / 1 6

Install latest version of Roundcube (Webmail) on CentOS 7

Apache Manual Install Ubuntu Php Mysql. Phpmyadmin No >>>CLICK HERE<<<

CHAPTER III PLANNING

MediaWiki Tutorial. Step 1:Install MediaWiki. Download files

ULTEO OPEN VIRTUAL DESKTOP DEBIAN WHEEZY (7.0) SUPPORT

Labtainer Student Guide

Your Own Virtual Playground. CS 1585 :: Doug McGeehan

Simulation Manager Configuration Guide

Comparative Bacterial Genomics

OpenStack Havana All-in-One lab on VMware Workstation

Installing PHP on Windows 10 Bash and Starting a Local Server

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

K-RATE INSTALLATION MANUAL

VIRTUAL MACHINES. By Seth Lemanek

TinyNet. Creating Virtual Machines

Mysql Server 4.1 Manually Windows 7 Start Service

Sun VirtualBox Installation Tutorial

bitcurator-access-webtools Quick Start Guide Last updated: May 8th, 2018 Release(s): and later

Installation and Setup Guide

DUAL OS INSTALLATION

Installing Oxwall completely in Amazon Cloud

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

ULTEO OPEN VIRTUAL DESKTOP SUSE LINUX ENTERPRISE SERVER (SLES) 11 SP1 SUPPORT

Getting Started Guide. Installation and Setup Instructions. For version Copyright 2009 Code 42 Software, Inc. All rights reserved

Installation of the DigitalSystemsVM virtual machine

How to Install Oracle VM VirtualBox and Create a Virtual Machine

Title: Demonstrate the linux installation and administration settings.

CST VMWare Documentation

KOHA UBUNTU In Compatible With. 1 P a g e

Click on the VM IMAGES drop-down menu and select VirtualBox Images

Installation Manual InfraManage.NET Installation Instructions for Ubuntu

Guideline for the installation of C-MOR Video Surveillance Virtual Machine on VMware ESX Server

Oracle SOA Suite VirtualBox Appliance. Introduction and Readme

CSCI 350 Virtual Machine Setup Guide

We want to install putty, an ssh client on the laptops. In the web browser goto:

Ubuntu installation alongside windows 8/8.1 and 10

CIS 231 Windows 7 Install Lab #2

Installing FreePBX Official Distro

How to Install Ubuntu on VirtualBox

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs)

WA1649 Java EE 5 Programming Using WebLogic 10. Classroom Setup Guide. Web Age Solutions Inc. Copyright 2011 Web Age Solutions Inc.

Arabic Ubuntu Support

Networking Level Laboratory WSN Software Platform TinyOS: Installation and Configuration

IT Essentials v6.0 Windows 10 Software Labs

BriCS. University of Bristol Cloud Service Simulation Runner. User & Developer Guide. 1 October John Cartlidge & M.

to arrive at the system information display. In MacOS X use the menus

ULTEO OPEN VIRTUAL DESKTOP OPENSUSE 11.3 SUPPORT

KVM Guest Management With Virt-Manager On Ubuntu 8.10

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

ULTEO OPEN VIRTUAL DESKTOP CENTOS 6.0 SUPPORT

Automatic Creation of a Virtual Network with VBoxManage [1]

How to Make a Raspberry Pi Web Server

User Manual of the Pre-built Ubuntu Virtual Machine

Ubuntu installation alongside windows 8/8.1 and 10

WA2423 JavaScript for Web 2.0 Development. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Quick Deployment Step-by-step instructions to deploy Oracle Big Data Lite Virtual Machine

CIS 231 Windows 10 Install Lab # 3

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

Software Installation Manual

Operating Systems Linux 1-2 Measurements Background material

2. Installing OpenBiblio 1.0 on a Windows computer

Installing Ubuntu 8.04 for use with ESP-r 8 May 2009 Jon W. Hand, ESRU, Glasgow, Scotland

Access Control System ACCO NET Installation Manual

Bitnami Ruby for Huawei Enterprise Cloud

TSM800 / TSM1330 Update Instructions

Step-by-step guide for the libradtran virtual machine. A) Installation

1. Install a Virtual Machine Download Ubuntu Create a New Virtual Machine Seamless Operation between Windows an Linux...

CTEC1863/2018F Bonus Lab Page 1 of 5

Due: October 8, 2013: 7.30 PM

Making a Bootable Linux USB Flash Drive with the Universal USB Installer.

Bitnami MEAN for Huawei Enterprise Cloud

Apache Install Instructions Win7 7 Php Mysql. Phpmyadmin Linux >>>CLICK HERE<<<

How to securely isolate Damn Vulnerable Linux with VirtualBox

OPENSTACK CLOUD RUNNING IN A VIRTUAL MACHINE. In Preferences, add 3 Host-only Ethernet Adapters with the following IP Addresses:

WA2342 NoSQL Systems Comparison. Lab Server VM Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Ticketing Service 1 Request Tracker (RT) Installation and Configuration

CS 410/510: Web Security X1: Labs Setup WFP1, WFP2, and Kali VMs on Google Cloud

Installation of OEL5.4 in windows machine (64 bit)

Creating a Yubikey MFA Service in AWS

Getting Started with ESX Server 3i Embedded ESX Server 3i version 3.5 Embedded and VirtualCenter 2.5

QuickStart Guide for Managing Computers. Version

Exercises. Cacti Installation and Configuration

Exercises. Cacti Installation and Configuration

WA2271 Continuous Integration with Jenkins-CI. Classroom Setup Guide. Web Age Solutions Inc.

شرکت توسعه ارتباطات پردیس پارس. owncloud. The last file sharing platform you'll ever need

QUICK START GUIDE Seawolf Bootable and Seawolf VA (Virtual Appliance)

FireFox. CIS 231 Windows 10 Install Lab # 3. 1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Transcription:

Installing MediaWiki using VirtualBox Install VirtualBox with your package manager or download it from the https://www.virtualbox.org/ website and follow the installation instructions. Load an Image For workshops the best way to get a quick start, is if everyone loads a ready made virtual machine image. In this example the virtual machine image is stored on a USB stick as a series of 7zip files. First you need to copy the files from the USB stick to your own hard drive and while the files are copying you can download and install 7zip and Virtualbox: https://www.virtualbox.org/ http://www.7 zip.de/ Once the files are downloaded and 7zip is installed you can extract the virtual machine archive by clicking on the first 7zip archive file and choosing extract here. after extracting the file you can open the image using VirtualBox: After loading the *.vbox / *.vdi file simply press on Start to boot the virtual machine. 1/13

Create your own virtual machine If you want to create your own virtual machine you still have to download an operating system. We will use Ubuntu 16.04. Download the ISO file of the installation disk from: https://www.ubuntu.com/download/desktop After the download is complete you can start virtual box and click on New. Then you need to choose a name for your machine. Ubuntu Mediawiki is a good choice to remember what might be inside the virtual machine. Then we need to choose how much RAM will be available to the machine. We need at least 3GB to run an IDE, the operating system and a web browser comfortably. Allocate more if you can: 2/13

Then we need to choose how much disk space we will give to the guest operating system (the guest being the operating system that runs on the host, which is your physical computer). Choose to Create a virtual hard disk now : In the next screens choose VDI (Virtual Disk Image) and Dynamically Allocated. Then choose the disk space. 15 GB is a good size for Ubuntu and some additional software if you need it. The disk space is allocated dynamically, but resizing partitions later is a little harder, so choose a good value now: 3/13

Click on Create to finish the initial setup. Then click on settings to make some additional choices. In the System settings (Tab: Processor) you can choose to share more than one CPU core with your guest system. Sharing your whole video memory with the guest can also help with performance: 4/13

Finally you need to choose the downloaded disk image as your installation disk: Then click on Start to boot the machine. Be ready to press the spacebar to jump into the Ubuntu setup. Choose a language and then choose Install Ubuntu. 5/13

Then choose the installation language. In the next step you are asked about downloading updates and 3rd party libraries, which we don t need. Then choose to erase your disk (This is the virtual disk we created. It will not affect your host system): 6/13

You are then still asked about your timezone, your keyboard language. Then you are asked to create a username and password for your guest system: After the files have been copied choose to restart the virtual machine. When it is restarted start a terminal (You can find it in the quick launch search). Then we need to install a few things: 7/13

sudo apt get install git sudo apt get install composer sudo apt get install apache2 mysql server php php mysql libapache2 mod php php xml php mbstring sudo apt get install mariadb server After that you can check if the mariadb database is running. On Linux the database is a service. To check use: service mysql status (mariadb takes the place of mysql) 8/13

Now it is time to download Mediawiki like developers do, using git. We can use the open terminal to do a git clone. The w at the end means that we will clone into the w directory. git clone https://gerrit.wikimedia.org/r/p/mediawiki/core.git w 9/13

Go into the w directory (Use ls and cd folder name) to orient yourself and navigate around with the terminal. Then use composer install to install all of Mediawikis dependencies automatically: Then we need to start the webserver. The apache webserver is also a service on Linux. Use service apache2 status to see if it is running. If not use service apache2 start. 10/13

Now we need to go into the standard web server directory and create a link to our folder in our home directory: cd /var/www/html sudo ln s /home/yourusername/w w (create a link from the w directory in your home directory in the current directory and name it w ) After that you should be able to go with your browser to 127.0.0.1/w and look at the Mediawiki startpage. My installtion says that I am still missing some libraries which I need to install now: mbstring and xml. They are actually already installed so I just had to fix the environment: sudo phpenmod mbstring sudo phpenmod xml After restarting the webserver (sudo service apache2 restart) the installation page shows up correctly: 11/13

Now we can start configuring our Mediawiki installation. We will follow the instruction of the installation wizard to create a LocalSettings.php file. On the third page of the setup we need to choose our database connection. Remember that our database server is already running, but we did not create a user and database yet. Go to a terminal and use: sudo mysql_secure_installation 12/13

Answer yes to the question about the root password and set one. Then use: sudo mysql u root p to login into the mysql shell. Then you can use: show databases To create one for the wiki use: CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password'; CREATE DATABASE my_wiki GRANT ALL PRIVILEGES ON *. * TO 'newuser'@'localhost'; Then on the setup page enter that information and click next. If everything worked as expected you reach another database page that asks for example about the character set. I choose UTF 8 here. Then it is time to choose a name for the wiki. And you also have to set the username and password. After a few more easy to answer question you will be prompted to download the 13/13