Home » Archive

Articles in the Linux Administration Category

Linux Administration »

[9 Nov 2011 | One Comment | ]

This is a holder page for a bit more information on the issue but basically Phonon won’t retain it’s settings. The clearchat works fine but Phonon won’t use it by default or hold the priority you give it.
The short answer is to install pavucontrol
sudo apt-get install pavucontrol
Then run pavucontrol and turn your internal mic off and Phonon will then use your USB Clearchat. Enjoy

Linux Administration, Web Development »

[14 Aug 2011 | No Comment | ]

rsync -av –include=’*/’ –exclude=’*’ /src/path /destination/path
An example where we use it is when building Magento templates and themes, we copy the directory structure across but not the files so that when we need to, we can copy a file across from the base theme without having to create the directory structure before copying the file:
rsync -av –include=’*/’ –exclude=’*’ app/design/frontend/base/default/ app/design/frontend/default/default/

Linux Administration, Open Source, Web Development »

[14 Jun 2011 | No Comment | ]

High Quality – File size ends up being larger than the M4V
for i in *.m4v;do ffmpeg -i $i -ar 22050 -qscale .1 ${i%.*}.flv;done
Quality is almost indiscernible from the original M4V in a laptop
for i in *.m4v;do ffmpeg -i $i -ar 22050 -ab 96k -qscale 2 ${i%.*}.flv;done
Slight degradation in quality. File size approx. 35% less than the original m4v.
for i in *.m4v;do ffmpeg -i $i -ar 22050 -ab 96k -qscale 5 ${i%.*}.flv;done

Linux Administration »

[3 Jun 2011 | No Comment | ]

Debug core dump files:
gdb /usr/bin/php5 /path/to/core.3224
Mass delete core dump files safely.
find . -type f -regex “.*/core\.[0-9]*$” -exec rm -v {} \;
Disable Core dumps system wide

Linux Administration »

[30 May 2011 | 7 Comments | ]

I just bought this laptop yesterday. I’ve just solved issue 1 of 3 (all issues as of 26/7/11)
1. Touchpad isn’t recognised as a touchpad but rather a mouse and so can’t “disable touchpad while typing” causing me to constantly bump it.
2. Suspend / Resume isn’t working.. I will fix this soon (fixed: 26/07/11)
3. Slight high-pitched noise coming from built-in mic. (fixed: 26/07/11)
4. Don’t run ecrypt-fs on your /home partition. It causes a lot of freezing.
5. My grub config now /etc/default/grub now has the following. The semaphore line fixes some …

Linux Administration, Web Development »

[19 Feb 2011 | One Comment | ]

Quite easy really, once you know how.
First we add in the Epel repo for 64bit Centos5
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
and then you need to disableexcludes in yum due to Cpanel disabling Perl from yum updates. So to install git now, we run.
yum –disableexcludes=main install git
Simple, really.

Linux Administration »

[28 Jul 2010 | One Comment | ]

Very simply.
sudo dmidecode –type 17
This gives the following output:
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0×1100, DMI type 17, 27 bytes
Memory Device

Linux Administration »

[16 Jun 2010 | No Comment | ]

Australian Magento Developers, Fontis have published a great Howto to help you setup an Australian store quire and to ensure you are compliant with ATO’s requirements
You can read Fontis’ Australian Magento post here.

Linux Administration »

[19 Mar 2010 | 2 Comments | ]

One of those pain points in Magento is bulk uploading Categories. I know there’s this solution and also this bulk category solution, which are both basically the same thing. I actually feel more comfortable using Python and it also means that I don’t have to install Zend on my local machine to access the remote API.
One struggle I did get stuck on is the “Access Denied” message when connecting. A lot of people are having issues with it. My issue was that I had used the same username for my …

Linux Administration »

[7 Mar 2010 | No Comment | ]

There’s some instructions on ZTE forums on how to get this modem working and it *does work* but it’s convoluted.
I just created a file called /etc/modprobe.d/zte-mf633.conf
and added the following to it:
options usbserial vendor=0x19d2 product=0×0031
and then reboot with the modem in to test it works on a fresh boot. If you insert the modem *after* you have booted, you may have to unmount/eject the cdrom that it is detect as prior to it being detect in connection manager. The above may also interrupt with other usb devices, though my storage …