Posts Tagged ‘Linux’

Amazon EC2 Linux AMIs

If you use Amazon Elastic Compute Cloud (EC2), you are always given choices of AMIs (by default; there are plenty of other AMIs available for your base-os): Amazon Linux AMI, Red Hat Enterprise Linux, SUSE Enterprise Server and Ubuntu. In terms of cost, the Amazon Linux AMI is the cheapest, followed by SUSE then RHEL. 

I use EC2 a lot for testing, and recently had to pay a “RHEL tax” as I needed to run a RHEL environment. For most uses I’m sure you can be satisfied by the Amazon Linux AMI. The last numbers suggest Amazon Linux is #2 in terms of usage on EC2.

Anyway, recently Amazon Linux AMI came out with the 2014.03 release (see release notes). You can install MySQL 5.1.73 or MySQL 5.5.36 (the latter makes the most sense today) easily without additional repositories.

The most interesting part of the release notes though? When the 2014.09 release comes out, it would mark 3 years since they’ve gone GA with the Amazon Linux AMI. They are likely to remove MySQL 5.1 (its old and deprecated upstream). And:

We are considering switching from MySQL to MariaDB.

This should be interesting going forward. MariaDB in the EC2 AMI would be a welcome addition naturally. I do wonder if the choice will be offered in RDS too. I will be watching the forums closely

MariaDB in Red Hat Software Collections

Towards the end of last year, I was asked to investigate the Red Hat Software Collections by someone that popped by one of my talks. SkySQL has been working heavily with Red Hat, and with Fedora 19 shipping MariaDB as a default, it seems like MariaDB is getting even more distribution. The Red Hat Software Collections 1.0 Beta is now available for users of Red Hat Enterprise Linux 6.

From a database standpoint, users now get MariaDB 5.5. I encourage all to try it, as it is an in-situ upgrade. It is described as:

MariaDB version 5.5, which introduces an easy-to-adopt alternative for MySQL for Red Hat Enterprise Linux users. Binary compatibility allows MySQL users to drop-in MariaDB without converting data files.

Sweet. But for database users, it also includes MySQL 5.5 (better than 5.1.69), and PostgreSQL 9.2 (better than 8.4.13). After listening to Rasmus Lerdorf talk about PHP 5.4, I’m glad that I can now use it with RHEL6.

I wonder if there will be CentOS Software Collections as well?

Read an article in PCWorld about Software Collections (see a press release too). There’s some developer documentation from Red Hat, and some draft documentation from Fedora too.

Thanks SkySQL, Team MariaDB and Red Hat!

Switch to Linux if Windows 8 is a hassle

Retreat in sales of PCs turns into rout – FT.com: “‘At the beginning, retailers don’t know how to explain it to customers,’ says Mikako Kitagawa, principal analyst at Gartner. ‘Marketing the new [operating system] to consumers takes extra effort.’”

Well, skip Windows 8 altogether and just switch to Linux. And for more elegant hardware, there’s always the Mac.

Using MariaDB on CentOS 6

This is just for testing purposes, but you might want to play around with MariaDB 5.5.29 coming via the CentOS 6 repositories as mentioned in this post. Please test it out and report bugs if required. The process was simple on a fresh install:

yum update
cd /etc/yum.repos.d/
wget http://dev.centos.org/centos/6/mariadb/mariadb.repo
yum list mariadb\*
yum install mariadb-server mariadb
/etc/init.d/mysqld start

That’s it, it just works. It comes with MEMORY, CSV, MRG_MYISAM, BLACKHOLE, MyISAM, PERFORMANCE_SCHEMA, ARCHIVE, FEDERATED, InnoDB (XtraDB) and Aria.

Remember this replaces mysql-libs, and is set to replace MySQL in your install. Here’s hoping it hits mainline CentOS soon.

Ubuntu updated on the ThinkPad Edge 11″ (magorian)

Breakfast of champions! Soft boiled egg done correctly w/o cup/holderI’ve been using Ubuntu on my Thinkpad Edge 11″ (which has the machine name: magorian) for quite some time now (from 10.10). Today I did an update from 12.04 to 12.04.1 and found my wifi stopped working. Turning the card on/off using the Fn+F9 key seemed to be the fix. Minor niggle.

Some resources: Ubuntu on Thinkpad Edge 11/13/14/15 is a great place to see common problems & fixes. The ThinkWiki also has a page for the Edge 11″.

The update to 12.10 is currently going on and is expected to take 1.7GB of downloads.

I’m thinking about upgrading the RAM from 2GB -> 4GB (I’m seeing prices that are really cheap for this kind of RAM – less than RM100 ~USD33). I have to admit that the machine definitely feels a lot snappier than my aging MacBook Pro (lovegood). 

Why do Mac & Linux users pay more for things?

I just purchased The Humble eBook Bundle. I primarily use a Mac OSX based laptop (my MacBook Pro), and secondarily use Linux in various flavours (a Lenovo ThinkPad runs Ubuntu, various boxes run a combination of that and Fedora & CentOS, and virtual machines are growing).

It seems not only with regards to Orbitz showing better, more expensive, hotels to Mac users, even when it comes to the Humble Bundle, Mac and Linux users pay more. Are we just conditioned to pay more than Microsoft Windows users?

I’m glad to support DRM-free e-books & great content. Who knows, I might discover something new.


i