≡ Menu

Introduction to C++11 and C++14 with Example Code Snippet

Whether you’ve been using C++ for a while, or a newbie to programming, you still have to understand the basic details about C++11.

C++ programming language is based on C programming, which has been connected to UNIX from it’s beginning. Creator of C is Dennis Richie.

C++ has added many object oriented features on top of C including: classes, objects, templates, namespaces, few advanced data types, exceptions, references, STL, etc.

C++ is considered as a general purpose language that supports Object oriented programming as well as multithreading. Creator of C++ is Bjorne Strousturp.
(more…)

15 Oracle Exp Command Examples to Export Database Objects

Oracle Export CommandEven if you are a sysadmin or developer, when you have Oracle running in your environment, you might encounter a situation where you have to do some basic DBA tasks.

One such task is to export data from an Oracle database. Using Oracle’s exp utility, it is very easy to dump data from database.

In this tutorial, we’ll explain everything that you need to know to use exp command effectively to export data from your Oracle database, including the following:
(more…)

How to Create and Launch LXC Linux Containers with LXC Commands

LXC Containers are a very quick way to create a psuedo virtual environment.

In the previous LXC article, we explained how to install and configure LXC linux containers.

In this tutorial, we’ll explain how to create a new Linux container, start the container, and login to the LXC virtual console to use the new container.

For demonstration, we’ll be creating a CentOS LXC virtual container in this tutorial, but you can create virtual container for pretty much any Linux distro that you want.
(more…)

How to Install and Setup LXC Linux Containers on CentOS / RHEL / Ubuntu

LXC Linux ContainersLXC stands for Linux Containers.

Linux containers are light-weight “virtualization” methods that runs multiple virtual units simultaneously on a single control host on a single Linux kernel.

The Linux kernel contains cgroups for resource isolation (CPU, memory, block I/O, network, etc, ), which does not require starting any virtual machines.
(more…)

When you have an enterprise application or website that gets lot of hits, your server might be under heavy load. In that case, you may want to consider distributing the load across multiple servers.

Load balancer will distribute the work-load of your system to multiple individual systems, or group of systems to to reduce the amount of load on an individual system, which in turn increases the reliability, efficiency and availability of your enterprise application or website.
(more…)

Happy New Year 2016 – From Geek and the Dolls

We shall never know all the good that a simple smile can do. ~Mother Teresa

Happy New Year!

Happy New Year from Me and My Daughters (Diya and Neha)

Happy New Year from Me and My Daughters (Diya and Neha)

Happy New Year to all TGS readers from Me and My Daughters (Diya and Neha). We wish you and your family a happy and prosperous New Year.
(more…)

How to Create ZFS Filesystem with File Compression on Linux

zfslinuxZFS filesystem is getting a wider recognition on Linux.

In ZFS, you can enable compression at the filesystem level. This will store the data in compressed format, which will save lot of disk space.

In this article, we’ll explain how to create the filesystem from the ZFS storage pool and enable compression on ZFS.
(more…)

How to Configure MongoDB with PHP for XAMPP on Windows

XAMPP is an open source, easy to use and easy to install stack that contains Apache webserver, MySQL database, PHP compiler and Perl.

MongoDB is one of the most widely NoSQL database in market today. We often end up in a situation where we might find it useful to set up mongodb also along with PHP in the XAMPP stack.

Since mongoDB is not an integral part of this stack, we have to set it up manually as the XAMPP installer is not going to take care of it for you.
(more…)