Entries by andrew

Russians Move to GNU/Linux

This could be the biggest single government push for free / open source software we've seen yet.

Prime Minister Vladimir Putin today signed a document that describes the timetable for the transition of power structures on free software (OSS):

The document is ... called a "transition plan of the federal authorities and federal budgetary institutions on the use of free software, and covers the period from 2011 to 2015

This policy will be enacted 2nd quarter 2012. Could 2012 be the 'year of Linux' for Russians, of at least those in Government service?

— Andrew

2010 - The year open source went invisible

The big open source news in 2010 is that open source became essentially invisible.

It's taken a while, but now it seems main stream media have realised that OSS (Open Source Software) is not the secret sauce for technology startups and online juggernauts: it is an unavoidable necessity.

in 2010 we saw open source pervade every area of software, and it became particularly evident in the strategies of web giants like Facebook and Google. For such companies, open source wasn't a business model, per se. Instead, it became an essential element of a great variety of business models ...

— Andrew

Django PIL Error - The file you uploaded was either not an image or a corrupted image.

When uploading an image with Django admin, or a Django based CMS, you receive the following error:

Upload a valid image. The file you uploaded was either not an image or a corrupted image.

The solution, on CentOS, Red Hat and Fedora, is to ensure that Python Image Library (PIL) is installed and compiled after libjpeg-devel is installed:

sudo yum install libjpeg-devel
workon mysite
pip uninstall PIL
pip install PIL

This will compile PIL with the correct JPG support and fix the error above.

— Andrew

Google gets hacked, Ditches Windows

Google is phasing out the internal use of Microsoft’s ubiquitous Windows operating system because of security concerns, according to several Google employees.

Google ditches Windows on security concerns

— Andrew

Django Resources

After spending the last 6 weeks trawling the Internet for Django resources, I thought it would be worthwhile putting together a page with the best Django resources. So here it is folks! NB. More to come in the following weeks! I will endeavor to keep this page updated over will be adding a lot more content as I have time. Updated, 14th May 2010.

Resource Sites




— Andrew

Novell Wins vs. SCO, confirms Novell’s ownership of the Unix copyrights

Novell is very pleased with the jury’s decision confirming Novell’s ownership of the Unix copyrights, which SCO had asserted to own in its attack on Linux. Novell remains committed to promoting Linux, including by defending Linux on the intellectual property front.

Read more from the source: http://www.novell.com/prblogs/?p=2153

The Salt Lake Tribune has a complete write up of the story: http://www.sltrib.com/news/ci_14786202

— Andrew

How to Install WordPress on CentOS 5 in five minutes flat

Ok, so you need to install WordPress on a CentOS or Red Hat server, and the boss has only given you five minutes, then read on because here you can do it in less...

This how to assumes that you have a clean installed CentOS 5 or Red Hat server, but it will probably work just fine with Fedora as well. If you already have MySQL or Apache installed then you might need to make provisions for the existing setup to avoid any conflict.

So without further waffle, here it is. Fire up a root shell and continue:

Install the ...

— Andrew

How to Install Drupal on CentOS 5 in five minutes flat

Ok so you're in a hurry to install Drupal. Don't fret. It is esay as pie!

Run the following commands from a root shell!

yum -y install mysql-server httpd php php-mysql unzip wget

chkconfig httpd on
chkconfig mysqld on

/etc/init.d/mysqld start
/etc/init.d/httpd start

echo 'CREATE DATABASE drupal;' | mysql
echo "GRANT ALL PRIVILEGES ON drupal.* TO 'drupal'@'localhost' IDENTIFIED BY 'drupal';" | mysql
echo "FLUSH PRIVILEGES;" | mysql

cd /var/www/html/
wget http://ftp.drupal.org/files/projects/drupal-6.16.tar.gz
tar -xzf drupal-6.16.tar.gz --strip-components=1
rm drupal-6.16.tar ...

— Andrew

How to install Django-CMS on CentOS 5.4 with Python 2.6

The other day I was playing around with Django CMS and battling to get it installed on CentOS 5.4. I thought I'd put these notes together in the hope that someone might find them useful. NB. These instructions are not 100% polished, but should be sufficient to get you up and running.

This will install Django 1.1.1 and Python 2.6 on CentOS 5.4, using Apache and mod_python!

Special thanks to fink from #django-cms on irc.freenode.net for his patience and advice, and the other bloggers around the globe that have written useful articles ...

— Andrew

How to Configure Eaton Ellipse ASR UPS with CentOS 5

Here's a quick post showing how to configure and setup an Eaton Ellipse ASR 1500 UPS with CentOS 5 using NUT in about 5 minutes flat!

Firstly install NUT. To do that we'll need to install Fedora EPEL.

# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

Then we install NUT.

# yum install nut
# chkconfig ups on

Add the following to /etc/ups/ups.conf.

    driver = usbhid-ups
    port = auto
    desc = "Eaton Ellipse ASR 1500"

Add a UPS user to /etc/ups/upsd.users. Please change your password to something sensible.

            password ...

— Andrew

Page 3 of 5 « 1 2 3 4 5 »

Site theme originally by styleshout.com