understanding

How to Force history not to remember a particular command using HISTCONTROL

It is possible to instruct history to ignore a command when executing a command. # export HISTCONTROL=ignorespace # ls -ltr # pwd # service httpd stop [Note that there is a space at the beginning of service] # history | tail -3 67 ls -ltr 68 pwd 69 history | tail -3

A brief to various iptables commands

We will use an example based approach to examine the various iptables commands. In this first example, we will create a very simple set of rules to set up a Stateful Packet Inspection (SPI) firewall that will allow all outgoing connections but block all unwanted incoming connections:

How to Allow or Deny countries with Apache htaccess

First you need to understand the meaning of these two rules in the htaccess file. If you set “deny” in the script for countries “US,CA” (USA and Canada), all traffic from USA or Canada will be blocked. On the other hand, if you set “allow” it will only accept traffic from these two countries, all [...]

How to configure xinetd package in fedora

 xinetd, the eXtended InterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon. xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started [...]

An Introduction to Basic IPv4 Routing

All of the operations considered in this article are operations upon a router, whether that router is a Linux box or Cisco dedicated hardware or some other type of machine. In this chapter I consider the traditional methods of IPv4 routing as using static configurations that are manually input by the network administrator. 1.1 Traditional [...]

An introduction to VPN -vpn white paper

The Virtual Private Network – VPN – has attracted the attention of many organizations looking to both expand their networking capabilities and reduce their costs. The VPN can be found in workplaces and homes, where they allow employees to safely log into company networks. Telecommuters and those who travel often find a VPN a more [...]

How to use Grep command – Linux Popular Command

Grep is by far the most popular command that exists in Unix. Though some may argue about that, but once you begin using grep, it would always be present in all your complex commands that you think of executing at the shell prompt. grep stands for ‘global regular expression printer‘ . Which makes no sense [...]

How to Use User Accounting to discover information on Linux Box

User accounting can be used to discover information about who is currently using the system. While you cannot necessarily verify the integrity of this information once your machine has been exploited, it can be a useful tool to track the systems a particular user has logged into, what time he or she logged in, when [...]

How to Configure a DHCP Server – FreeBSD system

Unlike the built-in dhclient, your FreeBSD system does not come with DHCP server software. This is because you only need to configure a DHCP server if you want to lease out IP configuration for your own network. However, there are two ports that allow you to create your own DHCP server. The first is known [...]

How to remove a Trojan, Virus, Worm, or other Malware.

If you use a computer, read the newspaper, or watch the news, you will know about computer viruses or other malware. These are those malicious programs that once they infect your machine will start causing havoc on your computer. What many people do not know is that there are many different types of infections that [...]

Understanding DAS,NAS and SAN.

While one type of storage media is usually sufficient for smaller companies, large enterprises will often have a mixed storage environment, implementing different mediums for specific departments, workgroups and remote offices. In this paper, we will provide an overview of DAS, NAS and SAN to help you determine which solution, or combination of solutions, will best help you achieve your business goals

How to Install VMWare Workstation on Fedora 8

Installing VMware Workstation software on Fedora 8 should not be a problem at all using Fedora rpm package installer. Considering an old postof installing VMWare on Fedora 7, I have encountered a strange installation issue and changes of installing VMWare workstations 6.02 on Fedora 8. Here’s how to install VMWare Workstation 6.0.2 on Fedora 8. Pre-Requirements First, check [...]

How to Disable IPv6 Completely

Disabling IPv6 protocol is only recommended if your network is not using IPv6 IP addresses and/or you are not offering any IPb6-based host services. I have heard stories about IPv4-based networks making their network a little bit slower than normal when IPv6 IP address is being enabled from their hosts. If you wish to disable [...]

How to Configure and build bonding in Linux

Most popular distro kernels ship with the bonding driver already available as a module and the ifenslave user level control program installed and ready for use. If your distro does not, or you have need to compile bonding from source (e.g., configuring and installing a mainline kernel from kernel.org), you’ll need to perform the following [...]