Using Red Hat / CentOS etc one method of resetting the root user password is to boot into single user mode. To do so, interrupt the booting process if necessary so that you see the Grub boot menu: Press the 'e' keyboard button to edit the boot... » More
The goal here was to be able to log in to the MySQL command prompt be simply typing mysql rather than: mysql -u root -p This is particularly useful for automation of routine backups etc. mysql_config_editor The command mysql_config_editor has... » More
Just recording a few of these steps for future reference. Pull the MySQL image from the hub: docker pull mysql/mysql-server:latest Run an instance: docker run -it -d -p 33060:3306 --name mysql-for-jonny -e MYSQL_ROOT_PASSWORD=opensesame -d... » More
I had been allowing normal users to create groups within Gitlab but subsequently discovered some confusion among users between groups and projects. Some users had been creating a group with a single project when a project with multiple members was more... » More
With several machines configured to use OpenLdap for user and group authentication/permissions I was having the problem that the getent and id commands were not returning all the group information. My groups exist in the Ldap directory with members... » More
Just some instructions to remind myself how I got the Minecraft Overviewer working on CentOS. wget http://overviewer.org/builds/el6-64/7/overviewer-0.12.109.rpm yum install overviewer-0.12.109.rpm VERSION=1.9 wget... » More
There appears to be a few methods for managing a Gitlab installation from the command line. I liked python-gitlab and I installed it onto Linux Mint/Ubuntu as follows: apt-get install python-pip pip install python-gitlab After installation I created a... » More
I had an odd request today from a guy who had deleted his GitLab project and his local repos. I had been making backups using: gitlab-rake gitlab:backup:create and sifting through the backups under /var/opt/gitlab/backups/ I extracted the latest tar... » More
I very luckily got landed with a: Phidgets Board 8/8/8 (1018) Lanbao PR18S-TM10DNO Photoelectric Tripwire Sensor (3525) I wired the Tripwire sensor to the Phidget board as described in the wiring diagram and as shown in the video: I... » More
I had a thousand image files the kids had photographed when creating a stop motion video. An 'auto-levels' on many of the images was required to brighten them up so at the command line I used the following (with ImageMagick already installed of... » More