Archive for the ‘Linux’ Category

How to configure a static ip in Linux

This is a newbie question I get quite often. Configuring your Linux machine to run on a static IP is easy. Tools like system-config-network and netconfig provide you simple GUIs to do this. For today, I’ll show you how to do this from the command line instead. Navigate to /etc/sysconfig/network-scripts/ [root@baboo]# cd /etc/sysconfig/network-scripts/ Every network […]

Get your free ORACLE Unbreakable Linux DVD kit.

Oracle got into the Linux playing field with it’s Oracle Enterprise Linux which is based on Redhat’s Enterprise Linux. Oracle then put together the Oracle Unbreakable Linux support program to provide full Linux support to their customers. Oracle Unbreakable Linux support is not limited to only Oracle products. Customers can switch any of their current […]

How to send a process to the background

Sending a process to the background in Linux is quite easy. All you need is bg, fg, &, and ctrl+Z ( ^Z ). For this example I will use a simple bash script test.sh I put together to print “Test” every 5 seconds. #!/bin/bash #This script will print “Test” every 5 seconds # while [ […]

How to disable directory listing in Tomcat

This is how you turn off directory list for yr Tomcat server. 1. Edit the default servlet in the {$CATALINA_HOME}/conf/web.xml file. 2. Look for the <init-param> section within the <servlet section> <servlet> <servlet-name>default</servlet-name> <servlet-class> org.apache.catalina.servlets.DefaultServlet </servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> 3. Change the <param-value> to false for the <param-name>listing</param-name> […]

Received my Ubuntu 8.04 LTS

Received my Ubuntu 8.04 LTS Hardy Heron cds in the mail today. Who doesn’t like to receive internatioanl packages with goodies? The best part is when I tell my non OSS  friends that the cds were shipped free of charge. You will be suprised to know that many people don’t believe that there are people […]

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak