Linux

How to Add Multiple Routes in Linux Using ip Command Examples

by Karthikeyan Sadhasivam on August 21, 2014

Apart from the default route, you can also configure additional routes.

For example, your server you might have 2 interfaces (eth0 and eth1). By default, all the traffic is routed through interface eth0 irrespective of what IP address you have configured on eth1.

To route the incoming and outgoing traffic through eth1, other than the default route (eth0), you also need to add additional routes for eth1 .
(more…)

15 aptitude Command Examples for Package Management in Linux

by Balakrishnan Mariyappan on August 11, 2014

For Debian based systems like Ubuntu, you can use aptitude command for package management from the command line.

This article explains several aptitude command examples including the following:

  • Install a specific version of a package
  • Install multiple packages using pattern
  • Search for a package using pattern
  • Get packages under a section
  • Don’t update a specific package (Using hold and keep)
  • Mark a package with a specific install type
  • Perform system update
  • Perform safe upgrade

(more…)

10 insserv Command Examples for Linux System Init Scripts

by Karthikeyan Sadhasivam on August 6, 2014

insserv command is used to control the start and stop order of the services that are on a Linux system.

It enables an installed system init script (boot script) by reading comment header of the init script and calculating the dependencies between all the scripts.

Insserv scans for the system facilities in the configuration file /etc/insserv.conf and the directory /etc/insserv.conf.d.
(more…)

How to Record Audio and Save as MP3 File using Audacity

by Balakrishnan Mariyappan on August 5, 2014

Audacity is an open source software for manipulating audio. The following are few important features of audacity:

  • Record live audio
  • Playback recorded audio/sound files
  • Edit sound files by cut, copy & paste.
  • Convert audio from one format to another

Apart from Linux you can also install Audacity on Windows and Mac OS X.

This article explains few essentials features of audacity with screenshots.
(more…)

17 hpacucli Command Examples for Linux on HP Servers

by Karthikeyan Sadhasivam on July 22, 2014

HPACUCLI stands for HP Array Configuration Utility CLI.

As the name suggests, this utility is for HP servers.

Hpacucli is used to create, delete and repair the logical and physical drives on the smart array controllers in HP servers.
(more…)

How to Install and Configure Linux NTP Server and Client

by Karthikeyan Sadhasivam on June 25, 2014

NTP stands for Network Time Protocol.

It is used to synchronize the time on your Linux system with a centralized NTP server.

A local NTP server on the network can be synchronized with an external timing source to keep all the servers in your organization in-sync with an accurate time.
(more…)

How to Setup Linux Etherchannel Bonding for Network Interface HA

by Karthikeyan Sadhasivam on June 17, 2014

In Linux, using etherchannel bonding you can combine two or more physical network interfaces (NIC) together to create a virtual interface.

The IP address will be configured on this virtual interface. If one of the underlying physical adapters goes down, then the other physical adapter is used to handle the communication traffic.

The following are different types of etherchannel bonding modes:
(more…)

We have ntbackup in Windows where we can take the “system state backup” for backing up the domain controller.

This tutorial explains how we can backup the Samba configuration, after you’ve setup Samba as active directory domain controller in Linux.

First, we need to understand what files and folders we are going to backup, and what tools we need to scheduled samba backup.

For Samba, we need to backup two database called as LDB and TDB. We are also looking at backing up the configuration files and sysvol .
(more…)