Entries Categorized as 'Linux'

Security Audit, NSDG

July 27, 2008

Security Audit is just finished and we are awaiting STQC’s green signal for it. The Major issue identified last time was the sql injection. Which was corrected on time and they did not find any significant security threat. The security audit was required by NIC, before they provide us public IP. Second level hardening is […]

Linux Commands/Short-cuts

July 10, 2008

Following things are must for a Java programmer who is working on Linux. I am gathering these things here as I am learning things on the Linux platform.

How to change Ownership?

Changing the owner of the file:

chown ownername file-name
e.g.
[ranjan@server1 abc] chown jboss abc.txt

Changing the owner of the directory:

chown -Rvf directory-namee.g.
[ranjan@server1 abc] chown -Rvf jboss xyz

Changing […]

How to Set Environment Variables in Linux

May 24, 2008

How to set PATH environment variable?
How to set JAVA_HOME environment variable?
How to set Java bin directory to PATH?
How to set JBOSS_HOME environment variable? (If you are using JBoss Appliation Server)
How to set ANT_HOME environment variable and its bin to PATH? (If you are using Ant build tool)

If you want to set these variable globally. Then […]