Posts By: jonny

sssd ldap: No Group Members shown

Openldap group

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 listed under ‘memberuid’ but when entering: id testuser I was getting: uid=15052(testuser) gid=10000(testgroup) groups=10000(testgroup) when I… Read more »

Minecraft Overviewer

Minecraft Overviewer

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 https://s3.amazonaws.com/Minecraft.Download/versions/${VERSION}/${VERSION}.jar -P ~/.minecraft/versions/${VERSION}/ Now create a config file to tell Overviewer where the assets (texture images etc) are: vi overviewer_config texturepath = “/home/jonny/.minecraft/versions/1.9/1.9.jar” Then run Overviewer telling it the location of your config… Read more »

Gitlab API Command Line Access

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 config file: ~/.python-gitlab.cfg With the content as below but the private_token would need changed for your… Read more »

Restoring a Gitlab Bundle

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 and under the ./repositories/username directory found some .bundle files for each of his projects. After some piddling… Read more »

PhidgetBoard with Raspberry Pi and Tripwire

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 connected the USB cable from the Phidgets Board to the USB port on a Raspberry Pi… Read more »

Batch Auto-Levels on Images

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 course): for FILE in $(ls /home/jonny/tmp/stopmotion/*.JPG); do convert -auto-level $FILE /home/jonny/tmp/stopmotion-fixed/$(basename $FILE)… Read more »

Customise Yakuake Tabs On Start

Yakuake

I’ve been recommending the slide-down terminal Yakuake to people for some time now and I couldn’t live without it myself. Although I use Cinnamon as a desktop I much prefer Yakuake over Guake and can live with the extra RAM usage of the KDE libraries. When logging in I wanted to have tabs created for… Read more »

Bleeding Edge PHP on CentOS 7

The PHP packages in the base / epel repositories are very conservative. To opt for something more current the REMI repo can be used. Install the remi-release package (info)  first: wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm rpm -ivh remi-release-7.rpm This will create the remi specific repo files in the /etc/yum.repo.d directory, specifically: remi-php70.repo remi.repo remi-safe.repo To install later PHP… Read more »

Discourse CentOS – which: no docker.io in

This must be my second or third attempt at Discourse having given up several times before and I may well find reasons to avoid it again. The Discourse advice of just use Ubuntu or using DigitalOcean doesn’t cut it for me. One of the problems I ran into today (after following these docker/discourse instructions) was… Read more »

Arduino Serial Port Menu Greyed Out

On Linux Mint (Ubuntu) I had installed the Arduino IDE from the repository and that had installed version 1.0.5. Despite setting the permissions on the Arduino USB device, the ‘Serial Port’ option in the IDE menu was greyed out and would not allow for selecting the device – it thus defaulted to using COM1 –… Read more »