Every morning this week has been met with a significant number of updates screaming for immediate installation and thanks to the handy updates manager, it hasn't been a chore. The reason, of course, for the glut of new packages and fixes is the release of Edgy Eft. The RC has been out for a week now and final release is upon us.
I've had no problems with the updates on my freshly installed desktop machine. I'll have to try a dist-upgrade on my backup server and see if it breaks!
Thursday, October 26, 2006
Monday, October 16, 2006
Gnomebaker burnt!
It would appear that the default installation of GnomeBaker doesn't exactly "work".
While, this helpfully downloaded the aforementioned, installed it and created links to it in the Applications menu, trying to write a CD or DVD doesn't work. It would appear that there are some permissions errors and the app can't get access to the drive :o(. Running the app as root using sudo gnomebaker does work, but is hardly a workable solution in the long term!
I'll continue to browse the forum and blogs for some helpful hints, but at the moment, it seems to be: run it using sudo.
apt-get install gnomebaker
While, this helpfully downloaded the aforementioned, installed it and created links to it in the Applications menu, trying to write a CD or DVD doesn't work. It would appear that there are some permissions errors and the app can't get access to the drive :o(. Running the app as root using sudo gnomebaker does work, but is hardly a workable solution in the long term!
I'll continue to browse the forum and blogs for some helpful hints, but at the moment, it seems to be: run it using sudo.
Friday, September 22, 2006
Beautiful fonts
To get the fonts on Edgy looking fab, it just takes a second to copy the folloing text to a blank file and save it as .fonts.conf in your home directory (/home/username/)
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</fontconfig>
Thursday, September 21, 2006
Edgy Eft
I decided that with Knot 3 hitting the shelves at Ubuntu, I would take the plunge and install it. Sure, it's a development branch and will be inherently unstable, but I reckon that it will be a good experience to install it, check out some of the new features and report some bugs.
My system spec is as follows:
You get presented with a Ubuntu desktop and an "install" icon and after answering some normal setup questions, the installer gets to work, partitioning and installing. My first problem came at restart with this bug:
Given that I have a GeForce 6200 nVidia card with dual head capabilities and 2 19" flat panels, it would be nice to use them! After getting them to work many times in the past, all it took was a quick apt-get nvidia-glx and copy and pasting my xorg.conf from this blog post. A simple gdm restart with Ctrl-Alt-Backspace later and I'm presented with the nVidia splashscreen and a beautiful Xinerama login screen.
We're in production at the moment, so it was hardly surprising that updates were available for me to install - simple procedure with the update manager and no problems yet.
Following the updates another restart was required and the same bug as above was encountered. I was returned to my desktop to set it up how I like - I would post a screenshot, but the handy screenshot utility is only grabbing half the screen!
First real problem arrived after the restart - trying to load the terminal didn't work. It started to load and ended up quiting before opening up the window... it's a pain, but not a deal braker, I'll just use the terminal (Ctrl+Alt+F1). I copied by backup files back to my Edgy machine and distributed them to their correct locations.
The final part of the upgrade was to get my must have pieces of software installed. To be honest, most are installed by default:
And that was it... only took about an hour, which I think has been my quickest reinstall of a system EVER.
I synced the backup repositories with my local machine to ensure that I had all the backups in place and gave unison the chance to create its archives. Copying the 8000+ mp3 files took a little longer than anything else I wanted to do, so the machines got the opportunity to do it overnight!
My system spec is as follows:
- AMD 64 3200 (Venice core)
- 2 GB Corsair RAM
- 200G Seagate SATA hard-drive
- nVidia GeForce 6200 graphics - dual head
You get presented with a Ubuntu desktop and an "install" icon and after answering some normal setup questions, the installer gets to work, partitioning and installing. My first problem came at restart with this bug:
BUG: Soft lockup detected on !CPU#0After the machine was restarted manually :o( it booted double quick - we are still waiting for the splash screen so I had to read the log entries during the boot sequence.
Given that I have a GeForce 6200 nVidia card with dual head capabilities and 2 19" flat panels, it would be nice to use them! After getting them to work many times in the past, all it took was a quick apt-get nvidia-glx and copy and pasting my xorg.conf from this blog post. A simple gdm restart with Ctrl-Alt-Backspace later and I'm presented with the nVidia splashscreen and a beautiful Xinerama login screen.
We're in production at the moment, so it was hardly surprising that updates were available for me to install - simple procedure with the update manager and no problems yet.
Following the updates another restart was required and the same bug as above was encountered. I was returned to my desktop to set it up how I like - I would post a screenshot, but the handy screenshot utility is only grabbing half the screen!
First real problem arrived after the restart - trying to load the terminal didn't work. It started to load and ended up quiting before opening up the window... it's a pain, but not a deal braker, I'll just use the terminal (Ctrl+Alt+F1). I copied by backup files back to my Edgy machine and distributed them to their correct locations.
The final part of the upgrade was to get my must have pieces of software installed. To be honest, most are installed by default:
- Firefox
- Evolution
- Gain
- OpenOffice
- Gimp
And that was it... only took about an hour, which I think has been my quickest reinstall of a system EVER.
I synced the backup repositories with my local machine to ensure that I had all the backups in place and gave unison the chance to create its archives. Copying the 8000+ mp3 files took a little longer than anything else I wanted to do, so the machines got the opportunity to do it overnight!
Friday, September 15, 2006
Ubuntu AMD64 Firefox
A couple of the things that you really want from the internet (on occasion), don't work with the default firefox install from a 64 ubuntu deployment. The two main dealbrakers are flash and java. Real media would be nice, but there are ways round that problem.
I found a nice answer to the problem at the ubuntu forum.
I found a nice answer to the problem at the ubuntu forum.
Wednesday, September 13, 2006
File synchronization
I've been searching for a linux based utility that will allow me to synchronise my files. It needs to be able to act as a backup utility and also as a sync utility for my laptop.
I finally found Unison which is only an "apt-get install" step away from Ubuntu users. If you are using unison, the config files are kept in ~/.unison
Running unison is pretty simple and like all good software, it works simply out of the box but provides plenty of advanced features for those who are interested and read the documentation!
Unison notices when you do your first sync and mentions it to you. It then runs through the directory contents and checks that you want to sync it. If you have a directory called scripts and want to sync it with a backup directory called backup, the two examples below show how you would sync local and remote directories.
I finally found Unison which is only an "apt-get install" step away from Ubuntu users. If you are using unison, the config files are kept in ~/.unison
Running unison is pretty simple and like all good software, it works simply out of the box but provides plenty of advanced features for those who are interested and read the documentation!
Unison notices when you do your first sync and mentions it to you. It then runs through the directory contents and checks that you want to sync it. If you have a directory called scripts and want to sync it with a backup directory called backup, the two examples below show how you would sync local and remote directories.
unison scripts backupYou'll be prompted for authentication and then all is the same as before. It has to be said that constantly typing paths does get tedious and you can therefore create a config file and place it within the .unison directory. For this example, create a file called scripts.prf:
unison scripts ssh://server//path/to/scripts
# You must have exactly 2 root declarationsTo execute the newly saved script, run:
root = scripts
root = ssh://server//path/to/scripts
# If you wish to ignore files
ignore = Name .*
# ignores all files starting with . - ie. hidden files and directories
unison scriptsThere are many other repositries of information related to unison, such as in-depth discussion and the user manual
Wednesday, August 30, 2006
Plesk and spam
I have been having problems with spam on my hosted server running Plesk. I had shelled out the extra cash for the psa-spamassassin addon, thinking that it would make my life easier. Trouble was that the spamassassin implementation was neither easy to manage or all that sensitive.
After reading around, I realised I needed to add some rules and did so using RulesDuJour. Things improved, but I ended up adding too many rule sets and killing the CPU. Excess rules were removed from /etc/spamassassin and the list was pruned.
I was still irritated by the difficultly of easily managing the spam settings of individual accounts using the Plesk plugin and turned to 4psa who offter a separate spamassassin implementation (Spam Guardian) which has far superior administration on an admin/client and per-domain basis.
Now everything is setup and working well with great administration and some stats too.
After reading around, I realised I needed to add some rules and did so using RulesDuJour. Things improved, but I ended up adding too many rule sets and killing the CPU. Excess rules were removed from /etc/spamassassin and the list was pruned.
#!/bin/bash# Version 1.21
# IMPORTANT! Edit the TRUSTED_RULESETS line to choose yourRuleSets
TRUSTED_RULESETS="
SARE_CODING
SARE_HEADER
SARE_SPECIFIC
EVILNUMBERS
SARE_ADULT
SARE_BML
SARE_FRAUD
SARE_SPOOF
SARE_STOCKS
SARE_OEM
SARE_OBFU
SARE_RANDOM
SARE_GENLSUBJ
SARE_REDIRECT
SARE_UNSUB";
SA_DIR="/etc/mail/spamassassin";
MAIL_ADDRESS="support@humblehosting.co.uk";
SINGLE_EMAIL_ONLY="true";
SA_LINT="spamassassin --lint";
SA_RESTART="/etc/init.d/psa-spamassassin";
WGET="wget -N";
PERL="perl";
MAILCMD="mail";
GREP="grep";
RULES_DU_JOUR_SCRIPT="/usr/local/sbin/rules_du_jour";
#### End Local Settings ####
I was still irritated by the difficultly of easily managing the spam settings of individual accounts using the Plesk plugin and turned to 4psa who offter a separate spamassassin implementation (Spam Guardian) which has far superior administration on an admin/client and per-domain basis.
Now everything is setup and working well with great administration and some stats too.
Subscribe to:
Posts (Atom)