Posts Tagged howto

Asterisk / Freebz on Centos 5.3 easy howto

Posted by on Tuesday, 7 July, 2009

Found at http://www.prestonmoore.com/archives/51-Asterisk-Freebx-on-Centos-5.3.html

Install Centos 5.3

yum update && reboot
wget http://www.nzlinux.com/wp-content/uploads/files/centos53pbx.sh
nano centos53pbx.sh # change "passw0rd" and IP address
sh centos53pbx.sh

Finished


Getting m4a to work with rhythmbox (itunes to mp3 conversion)

Posted by on Monday, 6 July, 2009

Note: This tutorial is related to Ubuntu, however the clueful can use it easily enough

My kids old apple bit the dust the other day, so i thought ‘stuff buying another overpriced machine, their linux box can suffice’
They use gnome, and are familiar with rhythmbox – which i might add, works brilliantly with iPods.

So after a few days the kids started moaning that half the music had disappered. I double checked, and it turns out half it bought of iTunes was in m4a format which wasnt readable.
Solutions!
If you are not tied to rhythmbox then jump in and install xmms and xmms-faad packages.

If you are then this is the solution.
Install the Medibuntu sources
sudo wget http://www.medibuntu.org/sources.list.d/`lsb_release -cs`.list --output-document=/etc/apt/sources.list.d/medibuntu.list; sudo apt-get -q update; sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring; sudo apt-get -q update

Then install the following packages
sudo apt-get install libavcodec-unstripped-52 libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0 ffmpeg

Now convert!
ffmpeg -i file.m4a -acodec libmp3lame file.mp3

Now you need to add the id3 tags,
id3tool -t "title of song" -a "album name" -r "Artist" file.mp3

Bingo!


Upgrading Virtualmin GPL to Virtualmin Pro Centos bug fix

Posted by on Wednesday, 1 July, 2009

Virtualmin is a fantastic piece of software which allows the not-so-techy run a full hosting server nicely,  however I’ve come accross a bug that seems to happen mostly in Centos 5 when trying to upgrade and you happened to have used the rpm to install

This is how you do it.

Login to Virtualmin. Click on System Settings . Click on “Upgrade to Virtualmin Pro” and enter your serial number etc.

Now if you get the following error

Failed to upgrade to Virtualmin Pro : No Virtualmin GPL repository was found in /etc/yum.repos.d/virtualmin.repo

Put this into /etc/yum.repos.d/virtualmin.repo

[virtualmin]
name=Red Hat Enterprise $releasever - $basearch - Virtualmin
baseurl=http://software.virtualmin.com/gpl/rhel/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

[virtualmin-universal]
name=Virtualmin Distribution Neutral
baseurl=http://software.virtualmin.com/gpl/universal/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

Then try again. It should all go well now for you and be able to update.