ItecSoftware Logo

How To Clean Up Ubuntu Grub2 Boot Loader Menu

By Peter Gilg on
grub2 boot loader

How to clean up and edit the Ubuntu Grub2 boot loader menu differs quite a bit from previous versions. As Ubuntu nominated the new version 2 of the Grub boot manager as of 9.10, so they did away wit the old and problematic menu.lst file.

Grub2 boot loader is a leap forward in many ways, and most of the annoyances from menu.lst are gone. Yet, if you don’t clean up old versions of kernel entries, the boot list can quickly get ...

read more

Listed in Linux, Ubuntu

Tags: grub, grub 2, Synaptic, ubuntu

Install PHP 5.2 on Ubuntu 10.04 Lucid Lynx

By Peter Gilg on
install php5 ubuntu

There are many reasons why we want to install PHP 5.2 on Ubuntu 10.04 Lucid Lynx, the most prominent is that many web packages are not compatible yet with PHP 5.3. Drupal 6 being a prime example.

But there is no automated method out of the box, and there are now several scripts floating around the Internet that may work or just partially work. A major concern is the ability to update, easily switch to PHP 5.3 when the application is ...

read more

Listed in Linux, Web Development

Tags: Lucid Lynx, php 5.2

Best New Chrome Extensions For Developers

By Peter Gilg on
chrome extensions developers

With increasing popularity in Google’s Chrome browser, so increases the demand for extensions. This is especially true for Developers, as we are used to such a nice variety of high quality tools in Firefox. And the more tools are available on one browser, the more that browser is used in developing web sites, resulting in higher quality web experience for end users on that platform. Btw., did you know that Google Chrome surpasses Safari in US browser market (macstories.net)? The ...

read more

Listed in Linux, SEO, Web Development

Tags: chrome, extension

Testing Memcached Using Telnet Commands

By Peter Gilg on
memcached telnet

Troubleshooting memcached is not so transparent as some other technologies, but testing memcached using telnet commands can give us quite some insight on what’s happening under the hood.

The following tutorial on testing memcached with telnet from the command line is a short list of useful commands to inspect a running memcached instance.

How to find the IP address and port to connect ps aux | grep memcached

The above will give us the process running memcached, with listening ip address and port. If ...

read more

Listed in Linux, Web Development

Tags: memcache, memcached, telnet

Burn vob Files To DVD On Mac / Linux

By Peter Gilg on
burn vob to dvd mac

If you’ve got some .vob files and wonder how to get those onto a DVD and actually play it on your DVD player, you may get or already have some strange results. The files might just be listed on the DVD, without the disc actually playing the movie as a DVD, or the disc may play the first vob section, then the second has no sound. And there is a plethora of issues and scenarios, just not the one you were ...

read more

Listed in Linux, Mac

Tags: Disk Utility, dvd, Toast, vob

Track And Parse Twitter Messages Stream

By Peter Gilg on
parse twitter stream

With the increasing buzz about Twitter and its messages, more web developers want to incorporate a stream of Twitter messages into their websites.

Ever wanted to listen, track and parse tweets from a Twitter stream from an individual user? It’s quite an easy task, if you know the right URL’s to parse. Curl is a great little tool to get sources from almost any web resource and Curl has roots in Linux command like and PHP, just to name a couple.

Let’s ...

read more

Listed in Linux, Shell Scripting, Web Development

Tags: parse twitter feed, tweet, twitter

MySQL – How To Analyze, Repair and Optimize all Tables

By Peter Gilg on
mysql analyze repair optimize

Whether you’re a DBA or just host your own blog, database maintenance is a task you’ll have to perform sooner or later. Either the website gets slow, data becomes corrupt or worse, the server crashes, having a few commands handy will be golden. So how do we perform a mysql repair and optimize all databases?

Many MySQL GUI clients allow for analyze, repair and optimize functions, but they usually are limited to one table at a time, or to a maximum ...

read more

Listed in Linux, MySQL, Web Development

Tags: analyze table, MySQL, mysqlcheck, optimize, repair table

Install true type Fonts in Ubuntu

By Peter Gilg on
install true type fonts

Install true type fonts in Ubuntu is a rather easy task, but often we don’t take the time to look for nice fonts and install them. Whether for local use in out OS, or for graphic or web design, a nice font gives personality and character.

With literally thousands of free fonts available on the Internet, from sites such as 1001 Free Fonts or DaFont, who could resist to add that extra spice to their documents or websites. A carefully chosen ...

read more

Listed in Linux, Useful Stuff, Web Development

Tags: fonts, true-type, ttf, ttf in ubuntu

How to recover a lost Linux root password

By Peter Gilg on
recover linux root password

Forgot your root password? Nice going. What now? Reinstall the machine from ground up? Sadly enough, I’ve seen this happening all too often while it’s surprisingly easy to change the password knowing the correct procedure. While this doesn’t work in all cases (like if you secured your machine with a GRUB password and forgot that as well), but here’s the procedure in case of a CentOS Linux machine.

Recover Linux root password in Cent OS

Start off by rebooting your system. At ...

read more

Listed in Linux, Useful Stuff

Tags: forgot root password, grub, recover password, root password, single-user mode

Install JSON PHP Extension on CentOs or RedHat

By Peter Gilg on
install json extension linux

JSON (JavaScript Object Notation) is the serialization format that is much lighter than it’s older sibling XML. In addition, JSON is native to JavaScript and it’s object oriented paradigm, hence makes it them perfect partners.

Instead of serializing your code manually, that is writing your own classes and functions, there is a PHP extension that takes on most of the work for you. You just have to install it.

Since I had numerous requests for info and questions relating to JSON extension ...

read more

Listed in Linux, Web Development

Tags: CentOS, JSON, php, Redhat