≡ Menu

RedisRedis is an in-memory key-value pair database.

Redis is extremely fast, as the operation happens in the memory. Redis also provides on-disk persistence and built-in replication.

In Redis, you can use these data structures: 1) String 2) Hash 3) List 4) Set 5) Sorted Set.

There is no integer or float data type in Redis. But, you can use string as integer, and there are few String commands that will allow you to manipulate string values are numbers.

In this tutorial, we’ll explain all the following Redis string (and number) commands with examples.
(more…)

12 Chef Knife Cookbook Command Examples

Chef LogoWhen you are using Chef to manage all your servers and network equipments, you should first create cookbooks and appropriate recipes.

On all your remote servers, you’ll use chef-client to execute the recipes from the cookbook.

In this tutorial, we’ll explain how to use knife command to create and manage your Chef cookbooks.
(more…)

How to Optimize MySQL Tables and Defragment to Recover Space

MySQL Application LogoIf your application is performing lot of deletes and updates on MySQL database, then there is a high possibility that your MySQL data files are fragmented.

This will result in lot of unused space, and also might affect performance.

So, it is highly recommended that you defrag your MySQL tables on an ongoing basis.

This tutorial explains how to optimize MySQL to defrag tables and reclaim unused space.
(more…)

15 Essential Amazon AWS EC2 CLI Command Examples

Amazon AWS LogoThe easy way to manage an Amazon AWS EC2 server is from the AWS management console GUI.

But, if your environment has multiple servers, then it gets bit tedious to manage it from the AWS GUI.

Also, if you are Linux sysadmin, you would prefer to manage your EC2 instances from the command line.

Pretty much anything that you can do from AWS console UI can be done from the command line.
(more…)

10 Oracle UNDO Tablespace Management Examples

Oracle Logo on PlaneIf you have Oracle database running on your environment, even if you are a developer or linux sysadmin, you might end-up doing some basic DBA tasks on development instance.

One of the essential DBA task is to manage UNDO on your Oracle database.

Oracle will temporarily store the data manipulation transactions in the UNDO area until those transactions are permanently committed.

This tutorial will explain everything that you need to know to manage UNDO on your Oracle database.
(more…)

When you get your hands on a chromebook, the first thing that you’ll notice is the keyboard looks different.

Chromebook is missing DELETE and CapsLock Key (along with few other keys) that you are used to seeing in a keyboard.

This tutorial explains everything that you need to know about your Chromebook keyboard shortcuts.
(more…)

If you are new to docker, and if you have taken over a system that already has docker application running, you should at least know how to maintain it.

This quick tutorial explains how to start, stop, remove, restart, and view status of docker container application using docker-compose.

docker-compose is very helpful when you are managing a complex multi container docker application.
(more…)

AutoHotKey LogoOn Windows platform, most remote desktop application does not behave kindly for special keys.

Microsoft’s mstsc forwards special keys to the remote machine when window is maximized.

Realvnc does a little better job, where you can configured it to leave special keys to local machine.

So, the main problem is that we can use Alt-Tab either on local machine or remote machine, but not on both!
(more…)