I set up Apache and installed PHP 5 on my laptop computer running Linux/Ubuntu 10.10, but I couldn't get locally (localhost) run scripts to send emails. Following both the links below (bits from both) got things working. NOTE: for the root email I put my usually email, ie. smith@gmail.com.
http://www.davidhurst.co.uk/2007/06/19/php-mail-and-ssmtp-on-debian-linux/
http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/
Thursday, 16 December 2010
Tuesday, 30 November 2010
QMU Edinburgh Remote Desktop - Ubuntu 10.10 Citrix Client

How to access remote desktop on the Queen Margaret University Edinburgh network with Ubuntu (10.10) and Citrix client.
Install the Citrix client through the Ubuntu Software Centre - Applications>Ubuntu Software Centre
Now, follow the instructions here: http://www.qmu.ac.uk/it/certificates/IntRootCertLinux.PDF linked to from this page: http://www.qmu.ac.uk/it/certificates.htm
Copy the crt file to...
/home/username/ICAClient/linuxx86/keystore/cacerts
To move the crt file to the right location you have to open the file manager with root permissions. Open a terminal Applications>Acessories>Terminal and type
gksudo nautilus
enter your password and copy the file from where ever youb saved it (likely to be your desktop of hom/downloads folder) a copy it to the location mentioned above. finally, make sure the permissions of the file are correct. It has to be owned by Root. Right click on the crt file and under the Permissions tab change the owner and group to Root - see the screenshot below.
Saturday, 27 November 2010
Convert iTunes M4A files to MP3 on Linux
Convert iTunes M4A files to MP3 on Linux
http://pragmattica.wordpress.com/2008/01/17/convert-itunes-m4a-files-to-mp3-on-linux/Recursive conversion - so easy and makes me so happy :)
./ConvertToMP3.py /home/itunes /home/mp3s --copymp3s
http://pragmattica.wordpress.com/2008/01/17/convert-itunes-m4a-files-to-mp3-on-linux/Recursive conversion - so easy and makes me so happy :)
The command... will copy all files that are already mp3s in the iTunes library in to the new folder as well...good by iTines... you will not be missed!
./ConvertToMP3.py /home/itunes /home/mp3s --copymp3s
Wednesday, 24 November 2010
gvSIG Android Linux Ubuntu 10.10 and Cache-able Maps
1) Install gvSIG Mini on my HTC Hero running cooked 2.2 Android trough the Android Market Place.
2) Install gvSIG on my Laptop running Linux Ubuntu 10.10. Download and follow instructions here: http://www.gvsig.org/web/projects/gvsig-desktop/official - use the full BIN package (I installed 1.10 and it worked with the 1.9 plug-in - see below)
3)Install the gvSIG phone cache plug-in, download and install instructions here: https://confluence.prodevelop.es/display/GVMN/Phone+Cache
4) Read the gvSIG phone cache plug-in user instructions here: https://confluence.prodevelop.es/display/GVMN/Phone+Cache+Documentation
2) Install gvSIG on my Laptop running Linux Ubuntu 10.10. Download and follow instructions here: http://www.gvsig.org/web/projects/gvsig-desktop/official - use the full BIN package (I installed 1.10 and it worked with the 1.9 plug-in - see below)
3)Install the gvSIG phone cache plug-in, download and install instructions here: https://confluence.prodevelop.es/display/GVMN/Phone+Cache
4) Read the gvSIG phone cache plug-in user instructions here: https://confluence.prodevelop.es/display/GVMN/Phone+Cache+Documentation
Friday, 15 October 2010
Add BBC Radio 4 to Synology Audio Station
Download the ASX file from http://bbcstreams.com/ (right click on the (link) and save as filename.txt
Done
Open the saved file with Gedit and copy the line
mms://wmlive-acl.bbc.co.uk/wms/bbc_ami/radio4/radio4_bb_live_eq1_sl0?BBC-UID=d4ec8a9b7be2b54f4179473740e0ac2
Paste in to User Defined Synology Audio Station URL field and change the mms to http.
Friday, 8 October 2010
Weekly Backup with Ubuntu, Rsync, Anacron and 2 Internal Hard Disks
1) Edit /etc/anacrontab
Code:
sudo gedit /etc/anacrontab
2) Add line to the bottom of the txt document - for more info see http://linuxgazette.net/104/odonovan.html
Code:
1 1 backup rsync -ravz /home /media/
Code:
sudo gedit /etc/anacrontab
2) Add line to the bottom of the txt document - for more info see http://linuxgazette.net/104/odonovan.html
Code:
1 1 backup rsync -ravz /home /media/
where the fields mean:
1- the period in days indicating how often this command should be executed
1- the delay in minutes after Anacron begins before it should execute this command
- backup
- a unique identifier for this job so Anacron can keep track of when it was last executed
rsync...- the command to execute
Subscribe to:
Posts (Atom)