Skip to main content

Posts

Showing posts with the label Linux

THE BEST OPEN SOURCE SECURITY TOOLS

THE BEST OPEN SOURCE SECURITY TOOLS THE BEST OPEN SOURCE SECURITY TOOL  THE BEST OPEN SOURCE SECURITY TOOLS :- ====================================

Tcpdump Tips & Tricks

Tcpdump Tips & Tricks Tcpdump Tips & Tricks  TCPDUMP USAGE

How to Add the RPMforge Repository in RHEL/CentOS 5

How to Add the RPMforge Repository in RHEL/CentOS 5 How to Add the RPMforge Repository in                            RHEL/CentOS 5 RPMforge  is a third party RPM repository for  Red Hat Enterprise Linux or CentOS. here i am going to     show  how to add  the RPMforge repository in Red Hat Enterprise Linux or CentOS 5. Install yum-priorities yum install yum-priorities Plugins  are enabled in CentOS 5 by default. To make sure that yum-priorities is enabled. Just type following command to check it:- vi /etc/yum/pluginconf.d/priorities.conf Download  and  install  package (i386 – 32bit) wget http://packages.sw.be/rpmforge-release /rpmforge-release-0.3.6-1.el5.rf.i386.rpm # install the rpmforge yum repo rpm -Uhv rpmforge-release-0.3.6-1.el5.rf.i386.rpm # clean up after ourselves rm rpmforge-release-0.3.6-1.el5.rf.i386.rpm Download and install...

Installing Tomcat 6.x on CentOS 5

              Installing Tomcat 6.x on CentOS 5 UPDATE: This post was revised to work with java6u10 and now includes instructions for automated startup config. FYI: if you used this post before 11/06, there have been some major changes to the start up script. This new version is the most basic and easiest. This is a quick and dirty guide for installing Apache Tomcat 6.0.18 on CentOS5. It is based on detailed instructions for CentOS 4 and tomcat 6.0.13 here . If you get no luck, please check out this link for comprehensive explanation and adopt it to your platform. Install pre-requisite 1. Download java JDK 6 Update 10 and Java Runtime Environment (JRE) 6 Update 10 bin ( NOT RPM ) 2. Open terminal, su to root and move downloaded files to /root directory $ su root Password: # mv [.....] 3. Create java environment # mkdir /usr/java # cd /usr/java 4. Execute downloaded jdk and jre bins. # sh /root/jre-6u10-linux-i58...

Installing Java and Apache Tomcat in your CentOS / Redhat Server

Installing Java and Apache Tomcat in your CentOS / Redhat Server Steps : Installing Java SDK Step 1 : SSH into the server using the following command ssh –X root@ip-address-of-server Then provide the root password. Please note that you need to use the root (admin) account itself, since you need super-user privileges to install applications in the server. Step 2 : Install jpackage-utils in the server using yum install jpackage-utils You can also get the packages (using wget) from http://www.jpackage.org/ and install them manually. This will automatically pull the packages from the repository and install them Step 3 : Now we are going to install the Java SE Development Kit 6u22 for Linux. You may check this site to find whether this is latest version or not. Since I’m going to use wget, I need a direct link to download the package.You can grab the package from here http://techblog.googlecode.com/files/jdk-6u22-linux-i586-rpm.bin Now use wget and pull this pa...

Linux Boot Step

LINUX BOOT STEP ??? The following are the 6 high level stages of a typical Linux boot process: 1. BIOS BIOS stands for Basic Input/Output System Performs some system integrity checks Searches, loads, and executes the boot loader program. It looks for boot loader in floppy, cd-rom, or hard drive. You can press a key (typically F12 of F2, but it depends on your system) during the BIOS startup to change the boot sequence. Once the boot loader program is detected and loaded into the memory, BIOS gives the control to it. So, in simple terms BIOS loads and executes the MBR boot loader. 2. MBR MBR stands for Master Boot Record. It is located in the 1st sector of the bootable disk. Typically /dev/hda, or /dev/sda MBR is less than 512 bytes in size. This has three components 1) primary boot loader info in 1st 446 bytes 2) partition table info in next 64 bytes 3) mbr validation check in last 2 bytes. It contains information about GRUB (or LILO in ol...

Yum in Redhat Enterprise Linux 6.1

Download Redhat Enterprise Linux 6.1   Time to look at a few features of yum in RHEL-6.1 now that it's released Search is more userfriendly As we maintain yum we are always looking for the "minor" changes that can make a big difference to the user, and this is probably one of the biggest minor changes. As of late RHEL-5 and RHEL-6.0 "yum search" was great for finding obscure things that you knew something about but with 6.1 we've hopefully made it useful for finding the "everyday" packages you can't remember the exact name of. We did this by excluding a lot of the "extra" hits, when you get a large search result. For instance "yum search kvm manager" is pretty useless in RHEL-6.0, but in RHEL-6.1 you should find what you want very quickly. Example commands: yum search kvm manager yum search python url The updateinfo command The "yum-security" or "yum-plugin-security" package...