Posts By: jonny

MySQL dummy placeholder RPM package for MariaDB

On CentOS 7 MariaDB has (quite rightfully IMHO) replaced MySQL in the repositories however this has caused me a few problems. Since MySQL was so widely used there are other things that have MySQL as a requirement/dependency. Mainly my problem was some puppet modules that wanted the mysql-server package installed before they would proceed with… Read more »

Local Ubuntu Repository

I wanted to set up a local repository for DEB packages I create to be installed among a number of cluster nodes. After building the deb package I added it to my home folder as follows and created the Packages.gz file: apt-get install dpkg-dev mkdir -p /home/jonnymcc/ubuntu_repo cp slurm-14.03.3_14.03.3-1_armhf.deb /home/jonnymcc/ubuntu_repo cd /home/jonnymcc/ubuntu_repo dpkg-scanpackages . /dev/null… Read more »

Nginx Reverse Proxy

centos logo

Using CentOS 6 I installed Nginx with: yum install nginx and amended the config file for the default website i.e. vi /etc/nginx/conf.d/default.conf With the following content: upstream backend_st { server st.domain.co.uk:80; } server { listen 123.123.123.123:8080; server_name frontend.domain.co.uk; include /etc/nginx/default.d/*.conf; access_log /var/log/nginx/log/lamp.eeecs.qub.ac.uk.access.log main; error_log /var/log/nginx/log/lamp.eeecs.qub.ac.uk.error.log; root /usr/share/nginx/html; index index.html index.htm; location / { proxy_pass http://backend_st;… Read more »

Fido U2F Security Key

FIDO U2F Key Opening

So I ordered a FIDO U2F Security Key from a French company ‘Plug-Up’ to have a little play.  It is used in 2-factor authentication so when logging in to a service you first enter your username and password and if correct your are prompted for your second factor (a code sent by SMS or a… Read more »

Environment Modules

Environment Modules allow for management of environment variables  when using multiple compilers, multiple libraries, or even versions of applications that you might need to run. Rather than change $PATH, $LD_LIBRARY_LOAD, or $MANPATH for each you can use Environment Modules to handle the path changes to ensure you run the appropriate version correctly. Installation On CentOS… Read more »

Saving Streaming Video with VLC

VLC Convert Video Stream

I was asked by a relative if a live video stream could be saved for later viewing. I found the (m3u8) address for the live video stream by right-clicking the link on the website and used this in VLC. VLC is freedom software available from the VLC website. From the VLC menu bar I chose… Read more »

Server Technology Sentry Switched CDU

Sentry CDU

A few notes for future reference. I am playing with a power distribution unit from Server Technology  – Model CW-16VE-P32M Initially to configure the device I plugged both the Cabinet Distribution Unit (CDU) unit and a laptop into a switch, setting the IP address to the same subnet as the unit. I set the laptop… Read more »

Favicon Generator

Note to Self: The service at http://realfavicongenerator.net is great for generating favicon’s and icons for other mobile platforms.