inside the mind of a linux admin

Unity sucks: Install Gnome 3 on Ubuntu 11.04

As you’re probably aware, the latest Ubuntu version looks very different. This isn’t a coincidence, they’ve changed from Gnome to Unity. Since Ubuntu started to build their own shell Unity, they have ditched Gnome shell entirely. You won’t even find Gnome 3 on the official repos! Many people within my industry and within the Linux […]

Read More

Pandora on Linux: pianobar

“pianobar” is a free/open-source, console-based replacement for pandora’s flash player. “pianobarfly” is a patched version of it, which adds some pretty awesome features including capturing music from your stream into a local .mp3 file format. Features – play and manage (create, add more music, delete, rename, …) your stations – rate played songs and let […]

Read More

Unity: Move vertical launcher to another monitor

Those of you making the conversion from gnome to unity in this latest Ubuntu release will notice quite a few changes. When I installed 11.04 on my office workstation (with dual monitors), Unity’s vertical launcher appeared in the middle of the two screens (on the very left of the right hand monitor). This is probably […]

Read More

Ubuntu 11.04 released – Natty Narwhal

Canonical has announced the official release of Ubuntu 11.04, codenamed Natty Narwhal. This major update introduces the new Unity desktop shell, which is designed to improve ease of use and deliver a more modern user experience. Ubuntu founder Mark Shuttleworth unveiled the Unity project a year ago during an Ubuntu Developer Summit keynote in Brussels. […]

Read More

Repair and optimize all mysql tables from CLI

Here’s how to check, repair and optimize all your mysql tables in all databases on a server… mysqlcheck -u root -p – -auto-repair –check –optimize –all-databases Note: you do not have to have root to do this, simply replace -u root with -u yourusername That’s it.. (Remember if you are using a tool like phpmyadmin […]

Read More

Mass updating zone file serial numbers with sed

If you’ve ever administered a DNS (name server), than you know that serial numbers mean a lot. But what happens when you have several [hundreds|thousands] of zone that you need to make a mass-change to. That’s easy enough, there’s tons of ways to do that with sed, awk, or simple tools like “replace”. However, once […]

Read More

Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273

Recently, I’ve seen cPanel upgrade throwing errors during upcp such as: # /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. Fix: wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual Then force the upgrade: /scripts/upcp –force Share on FacebookTweet

Read More

Ubuntu 10.04.02 LTS released

Erik

Friday, February 18, 2011

ubuntu linux

No Comment

The second maintenance update of Ubuntu 10.04 LTS has been released. Ubuntu 10.04 LTS will be supported with routine maintenance updates until April 2013 on desktops and April 2015 on servers, The release integrates ‘numerous post-release updates’ including security updates and ‘corrections for high-impact bugs, with a focus on maintaining stability and compatibility with Ubuntu […]

Read More

Howto: Delete files by inode number

Ever mistakenly pipe output to a file with special characters that you couldn’t remove? -rw-r–r– 1 eriks eriks 4 2011-02-10 22:37 –fooface Good luck. Anytime you pass any sort of command to this file, it’s going to interpret it as a flag. You can’t fool rm, echo, sed, or anything else into actually deeming this […]

Read More