redhat

How to Change your Hostname without Rebooting in RedHat Linux

This tutorial covers changing your hostname in RedHat Linux without having to do a reboot for the changes to take effect. I’ve tested this on RedHat 7.3, 9, Fedora Core 3, and CentOS 4.1. It should work for all the versions in between since they all closely follow the same RedHat configuration. What’s the point [...]

How to change Hostname in Redhat

You have to edit Two files for changing hostname in Redhat. /etc/hostname /etc/sysconfig/network RedHat based system use the file /etc/sysconfig/network to read the saved hostname at system boot. This is set using the init script /etc/rc.d/rc.sysinit /etc/sysconfig/network NETWORKING=yes HOSTNAME=”plain.domainname.com” GATEWAY=”192.168.0.1″ GATEWAYDEV=”eth0″ FORWARD_IPV4=”yes” So in order to preserve your change on system reboot edit this file [...]

How to install Bugzilla under Redhat/Centos

Bugzilla is a Web-based general-purpose bugtracker and testing tool originally developed and used by the Mozilla project, and licensed under the Mozilla Public License. Released as open source software by Netscape Communications in 1998, it has been adopted by a variety of organizations for use as a defect tracker for both free software and proprietary [...]

How to Assign Disk Quotas in Redhat

A simplistic approach would be to simply divide the disk space by the number of users and/or groups using it. For example, if the system has a 100GB disk drive and 20 users, each user will be given a hard limit of no more than 5GB

A Quick Guide To Install SUBVERSION

Subversion depends on a number of third party tools and libraries.Some of them are only required to run a Subversion server; others are necessary just for a Subversion client. This section explains what other tools and libraries will be required so that Subversion can be built with the set of features you want

How to Install and run Snare under Linux

The Snare Server builds on the success of our Open Source audit & event log agents. When used in combination, our Snare agents, and Server provide a robust and effective resource for event log management.

How to Set time on Linux

It is very importent to set the time on a linux box when we run web server or mysql on the system . Type the redhat-config-date command at the command line to start the time and date properties tool. # redhat-config-date OR type setup and select time zone configuration (good for remote text based Linux [...]

How to add additional swap Memory

First, we need to know what is swap memory? Generally, this is a temporary memory storage for an OS to utilize while the OS is trying to get more busy process managing another separate threads from another running applications.Assuming you already have an existing swap partition, which is usual by default installation, and we would [...]

50 quick linux command tips part 3

1. How to know which ports are listening from your IP address? # nmap -sT -O your-ip-address 2. How to grep an exact match? # grep -w textfile.txt 3. How to reverse grep matches? # grep -v textfile.txt # 4. How to know which service name is what port? Assuming port 443 # cat testfile.txt [...]

How to recover root password on linux

Finally, the well known root password recovery is here to stay. This old time favorite superuser root password recovery in linux comes as handy as a toolbox. Recovering root password in linux is as handy as newbie users during the very first linux installations. The simplest way to recover root password before kernel can be [...]

How to block yahoo chat messenger

A very old tip and trick on blocking yahoo chat messenger from connecting to internet, as per request. Considering an approved management policies, there are several ways to block yahoo chat messenger from connecting to internet coming from inside your network, depending on what equipment and boxes you have on ground. If you happen to [...]

How to do MAC address packet filtering using IPTables

Media Access Control address (MAC address) or Ethernet Hardware Address (EHA) or hardware address or adapter address is a quasi-unique identifier attached to most network adapters (NICs). It is a number that acts like a name for a particular network adapter, so, for example, the network cards (or built-in network adapters) in two different computers [...]

How to Determine RedHat and Fedora release version

A quick blog post on how to determine your Fedora release name and its release version. For several years of staying and working under a company with multiple linux distributions and versions, multiple OS upgrades and server redundcancy backups makes it somehow confusing and difficult to differentiate which release name and version was a specific [...]

How to Install Bandwidth Shaper – Trickle on Fedora

Shaping bandwidth traffic has been a usual part of job function from any IT company infrastructure providing online services to the web. From small scale company to enterprise scale, bandwidth shaping needs to be implemented and applied properly and effectively. Here’s one lightweight linux traffic shaper that makes use of existing network traffic shaping that [...]