October 31, 2012October 31, 2012Tech Bash check a variable is a number or text #!/bin/bash var=a if [ "$var" -eq "$var" ] 2>/dev/null then echo number else echo not a number fi Redirection of […]
September 28, 2012Tech Disable LightDM Ubuntu You can disable GDM with the following command: Code: echo “manual” | sudo tee -a /etc/init/gdm.override The splash screen can cause some […]
August 20, 2012August 20, 2012Tech AppArmor Locking MySql moved data folder in Ubuntu I found that AppArmor was the culprit by examining the syslog, and was able to successfully change the mysql data location by […]
May 29, 2012May 29, 2012Tech Using SED to extract text between 2 markers sed -n ‘/FOO/,/BAR/p’ test.txt This will extract all text between place holders FOO and BAR from the text file test.txt
February 9, 2012March 19, 2012Tech Setting up a Linux server for OS X clients Setting up a Linux server for OS X clients Setting up a Linux server for OS X clients – Deepport.net
January 10, 2012Tech Installing Apple’s calendarserver on Ubuntu http://www.deanspot.org/content/installing-apples-calendarserver-ubuntu
January 5, 2012April 23, 2012Tech Problem rotating Postfix Logs Ubuntu http://www.linuxquestions.org/questions/linux-software-2/problem-rotating-postfix-logs-478744/ Problem rotating Postfix logs
December 13, 2011January 3, 2012Tech SNMP Ubuntu not listening on IP address net-SNMP on deb installs needs to have it’s run string changed so that it will listen to SNMP requests. goto edit /etc/default/snmpd […]
October 17, 2011October 17, 2011Tech Run Command line app as owner chmod “+s” Purpose of this blog is to just break this loooog Sannata mode. Many people might be aware of this, but […]
September 30, 2011Tech ISCSI TARGET on Ubuntu This guide explains how you can set up an iSCSI target and an iSCSI initiator (client), both running Ubuntu 10.04. The iSCSI […]