Search found 508 matches

by LHammonds
Thu Feb 15, 2018 4:22 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Website Backup

MediaWiki Backup There are various methods of backup that can be utilized but for this server, I will simply use RSync and tar. RSync will mirror the files in the production folder to a local backup folder. The archive will be created from this backup folder. Here are the folders I consider importa...
by LHammonds
Thu Feb 15, 2018 4:19 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Scripting

Scripting Much of the solutions beyond this point involve scripts (programming snippets / automated commands). In particular, they are Bash Scripts. I chose this due to its popularity and the fact it comes with Ubuntu. I try to make use of what comes with the system without requiring additional sof...
by LHammonds
Thu Feb 15, 2018 4:16 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Upgrading MediaWiki

Upgrading MediWiki Please refer to the MediaWiki Upgrade instructions as they are your primary source of information. The documentation below is what I did to upgrade a MediaWiki 1.25.1 instance to 1.28.0 Make sure you have a recent backup of the MediaWiki site and its database. Setup the new versi...
by LHammonds
Thu Feb 15, 2018 3:52 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Maintanence Templates

Maintenance Templates Setting up templates is a powerful feature that can help keep your site in shape as it grows over time. Here are some basic templates to use that will help with maintenance tasks. If you find a page that needs formatting changes, you can quickly edit that page and add: {{Clean...
by LHammonds
Thu Feb 15, 2018 3:22 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

First Pages

It is a good idea to add some basic structure to your wiki. For example, have something like these pages on the main page for everyone to see / reference: Category List - http://wiki.mydomain.com/index.php/Special:Categories Tutorial on How to Post Posting Guidelines Things that need to be done
by LHammonds
Thu Feb 15, 2018 2:44 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Install Extension - Scribunto

Install Extension - Scribunto Scribunto provides a framework for embedding scripting languages (specifically Lua) into MediaWiki pages. Visit the Extension Distributor Search for Scribunto and download the version that matches your MediaWiki version Get the URL, download it from your server and ext...
by LHammonds
Thu Feb 15, 2018 1:45 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Customization - Logo

Custom Logo Create a logo image in PNG format that has the dimensions of 135 x 160 pixels. Save it to \\ 192.168.107.23 \share\mylogo.png On the server console, type the following: chown www-data:root /srv/samba/share/mylogo.png chmod 0644 /srv/samba/share/mylogo.png mv /srv/samba/share/mylogo.png ...
by LHammonds
Thu Feb 15, 2018 1:44 pm
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Customization - Web Site Icon

Add Web Site Icon If you want a custom icon to show up to the left of URL in the address bar, you need to follow these steps. Create a 16x16 image that is 16 colors (4-bit) with dimensions of 16x16 pixels and save it as a .BMP file called favicon.bmp Use your favorite icon editor to convert the BMP...
by LHammonds
Thu Feb 15, 2018 11:58 am
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Install MediaWiki

Install MediaWiki At the time of this writing, MediaWiki's current version is 1.28.1 so we will be downloading and installing that archive. Connect to the MediaWiki server using PuTTY. At the login prompt, login with your administrator account ( administrator / myadminpass ) and then temporarily gr...
by LHammonds
Thu Feb 15, 2018 11:57 am
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Install MediaWiki Prerequisites

Install MediaWiki Prerequisites At the server console, type the following to install the additional modules and restart the web service : apt -y install php7.0-mysql php7.0-gd php7.0-intl php7.0-curl php7.0-mbstring imagemagick service apache2 restart To make sure the modules are loaded, we will cr...
by LHammonds
Thu Feb 15, 2018 11:56 am
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Install Web Server

Install Apache Web Server Connect to the SRV-Wiki server using PuTTY. At the login prompt, login with your administrator account ( administrator / myadminpass ) and then temporarily grant yourself super user privileges by typing sudo su Type the following commands: apt -y install apache2 php7.0 lib...
by LHammonds
Thu Feb 15, 2018 11:55 am
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Configure Database

Configure MariaDB / MySQL In this scenario, a dedicated and general-purpose database server already exists and it will be used to hold the application's database. Connect to the MariaDB/MySQL server using PuTTY. At the login prompt, login with your administrator account ( administrator / myadminpas...
by LHammonds
Thu Feb 15, 2018 11:54 am
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

Server Installations

Installation of Ubuntu Server This documentation will assume you have installed Ubuntu Server according to this article: How to install and configure Ubuntu Server It is assumed that the server was configured according to that article with the exceptions that the assumptions in red (variables above...
by LHammonds
Thu Feb 15, 2018 11:52 am
Forum: Tutorials
Topic: How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS
Replies: 13
Views: 138

How to Install MediaWiki 1.30.0 on Ubuntu Server 16.04 LTS

Greetings and salutations, I hope this thread will be helpful to those who follow in my foot steps as well as getting any advice based on what I have done / documented. This is a Work-In-Progress topic so I will be updating this thread as I learn more about Ubuntu and MediaWiki. To discuss this thre...
by LHammonds
Thu Feb 15, 2018 11:09 am
Forum: Tutorials
Topic: My Notes for Installing Nagios on Ubuntu Server 16.04 LTS
Replies: 15
Views: 2229

Custom Plugin - Check ESXi Hardware

Custom Plugin - Check ESXi Hardware Reference: Original source I use this custom script to check the health of my ESXi servers. It is run directly from the Nagios server. This script requires the PyWBEM Python library. Here is how to install it: aptitude -y install python-pywbem You then need to ad...
by LHammonds
Thu Feb 15, 2018 11:08 am
Forum: Tutorials
Topic: My Notes for Installing Nagios on Ubuntu Server 16.04 LTS
Replies: 15
Views: 2229

Custom Plugin - Check APT MotD

Custom Plugin - Check APT MotD Reference: Original source This plugin is a bit different from the built-in APT check for Linux servers. This plugin was designed to give the same kind of messages that you get when you login to an Ubuntu console. One thing this script will catch that the built-in APT...
by LHammonds
Thu Feb 15, 2018 11:08 am
Forum: Tutorials
Topic: My Notes for Installing Nagios on Ubuntu Server 16.04 LTS
Replies: 15
Views: 2229

Custom Plugin - Check HTTPS

Custom Plugin - Check HTTPS On one of my Linux servers, I have a web mail service that I wanted to keep an eye on. However, the check_http did not work because the server only uses SSL (HTTPS) on port 443. I did not see a check_https command so I tried my hand at making one and it works like a cham...
by LHammonds
Thu Feb 15, 2018 10:56 am
Forum: Tutorials
Topic: My Notes for Installing Nagios on Ubuntu Server 16.04 LTS
Replies: 15
Views: 2229

Monitoring MySQL Server

Monitoring MySQL Server The script will be executed on the remote Linux server so we will be making use of NRPE. On the remote MySQL server, install the Nagios plugins, NRPE server and NRPE plugin as mentioned earlier for remote Linux servers. An extra step to allow the check_mysql plugin to work i...
by LHammonds
Thu Feb 15, 2018 10:51 am
Forum: Tutorials
Topic: My Notes for Installing Nagios on Ubuntu Server 16.04 LTS
Replies: 15
Views: 2229

Contacts

Contacts It would be a good idea to define contact groups and associate services to them. Further down, define your contacts and what contact groups they belong to. This will make it easier to maintain, even if you have a small shop or grow to a large shop, maintenance is primarily handled at the c...
by LHammonds
Thu Feb 15, 2018 10:48 am
Forum: Tutorials
Topic: My Notes for Installing Nagios on Ubuntu Server 16.04 LTS
Replies: 15
Views: 2229

Samples continued

Sample Network Switch Config File Here is my basic shell for a switch: NOTE: The MIB codes are specific to the hardware, you probably will need to research the MIB that matches your hardware. ############################################################################### # Switches.cfg # # Last Mod...