Update and upgrade Moodle using Git

Git provides the easiest way to manage Moodle code, including updates and upgrades. An update is a minor version change such as from 3.3.2 to 3.3.3 for example, whereas an upgrade involves a major version change such as from 3.3 to 3.4. These examples were all run on CentOS Enterprise Linux 7 but should be similar for any Linux distro.

Continue reading “Update and upgrade Moodle using Git”

Mininet on CentOS 7 KVM

Mininet is a Linux-based network emulator which enables the prototyping, development and sharing of OpenFlow and Software-Defined Networking (SDN) networks. Given the growing importance of these networking technologies, Mininet has potential as a teaching tool in the IT lab.  This post describes how to get Mininet running in KVM on CentOS 7, and introduces some basic commands and workflows.

Continue reading “Mininet on CentOS 7 KVM”

Certbot solves HTTPS

There is general agreement these days that the internet as a whole needs to be more secure from eavesdropping and content hijacking. This could be achieved by a general move from HTTP to HTTPS as the default protocol, but for years the issue of the certificates required to do this has been dominated by the SSL certificate mafia. This cartel which includes Symantec, RapidSSL, GeoTrust and Thawte has discouraged the widespread adoption of HTTPS by making it an expensive and tedious chore. Not any more.

Continue reading “Certbot solves HTTPS”

Zabbix and ICTNWK403

The unit ICTNWK403 Manage network and data integrity covers a mixed bag of skills and knowledge around the “development of asset protection processes, determining threats and implementing controls to mitigate risk“: in other words, keeping the show on the road.¬†Topics range from the management of user accounts, file permissions, assets and backups to handling environmental and virus/malware threats and deploying network monitoring systems.

Continue reading “Zabbix and ICTNWK403”

CentOS 7 firewalld NAT router

gearsThis post outlines how to build a simple router using firewalld and dnsmasq on CentOS 7.3. The problem this router solves for us at SuniTAFE is that it isolates virtual networks being built or used by students on VMWare ESX hosts from the main college network, while still allowing student access to the college network for DNS forwarding and internet access purposes.

Continue reading “CentOS 7 firewalld NAT router”

Update CentOS 7 to Golang 1.6

wowCentOS 7 is a rock-solid development and production platform, but this stability often means that default web-related packages are outdated. It turns out golang is no exception: the default CentOS 7 version is 1.4, whereas I wanted 1.6. There have been some changes in golang project layout between the two versions and I figured I may as well get with the program and update before starting a new API project.

Continue reading “Update CentOS 7 to Golang 1.6”