Posts Categorized: open source

Gitlab Omnibus – Change the Nginx Port

Ignore original text below. The correct method is to amend the /etc/gitlab/gitlab.rb file with the port e.g.: external_url “https://gitlab.domain.co.uk:8443” nginx[‘ssl_certificate’] = “/etc/pki/tls/certs/pubkey.pem” nginx[‘ssl_certificate_key’] = “/etc/pki/tls/private/privkey.pem” Then run: gitlab-ctl reconfigure   Doing a ps -ef | grep nginx allowed me to track down the configuration file: /var/opt/gitlab/nginx/etc/gitlab-http.conf That file specified the port number (see below) and… Read more »

Munin Bootstrap Template: Munstrap

Alternative Munin Template

So after playing around with an alternative template from Munin 1.x I took some time to amend the standard Munin templates using Twitter Bootstrap as a base. The Munstrap files are available from GitHub. The files on GitHub include bootstrap (version 3.0.2) licensed under Apache License (and from bootstrap v 3.2 MIT license). The instructions… Read more »

Twiki Installation and Setup Overview

Twiki Installation

I am not necessarily a fan of this software as I find it a bit less than intuitive to use but I set it up on one of our CentOS servers for someone else and thought I would jot a few notes about the process. Install dependencies: yum –disablerepo=rpmforge –enablerepo=epel install httpd gdal-perl perl-CGI perl-CGI-Session… Read more »

Replacing Google Reader with Tiny Tiny RSS

I followed the installation instructions on the Tiny Tiny RSS website – downloading and extracting the tar file, importing the SQL into MySQL mysql -u root -pTopSecret –database reader < ./schema/ttrss_schema_mysql.sql Copy the dist config file to config.php and edited it with the database details then visited the URL. I then allowed writing to the… Read more »

Recording Streaming Video with XVidCap

xvidcap video capture of flash video on Ubuntu 12.10

I wanted to record a streamed video on Ubuntu 12.10 from a web page that did not offer a download facility. This could be useful if you needed to record a video not offered for download, for example from websites such as BBC iPlayer, ITV Player, RTE Player, 4OD, Portable North Pole (PNP). I used… Read more »

Samsung TV Channel Editing

samtoolbox

I wanted to configure the channel numbers on my Samsung┬áLE40C580 but using the remote control on the TV was a bit frustrating. I found that within the TV menu I could export/import the channel list to a USB drive. Changing the file extension to .zip allows extracting the file to view the contents: I discovered… Read more »

My Raspberry Pi has Landed

So my Raspberry Pi arrived a few days ago and I have now managed to get it out of the wrapper. After realising that I should have been using an SD card in the dedicated SD Card slot rather than trying to boot from one of the USB ports I was up and running. On… Read more »

Converting Squid Timestamps

I found the following perl snippet here to convert a squid log file into one with readable times: #! /usr/bin/perl -ps/^\d+\.\d+/localtime $&/e; It can be used like this:./timeconvert.pl inputfile.txt > outputfile-withhumantime.txt

Reset Lost Joomla Password

To reset a lost Joomla admin user password log in to the MySQL database and set the password field in the jos_users table to: d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199 This will allow you to login as admin with a password of secret. Reset the password from within Joomla afterwards.