Logged!

Logged! | Mayank Agarwal's Weblog

If you are wondering how can we check whether an environment variable is set or not in the system, here are few methods :
1. Manually

a. Run “set” command on the shell prompt, it will list out all the variables set in the system :
# set
b. Run “echo” command on the shell to print the value [...]

, , , , , , , ,

Oct/09

12

Exporting File System for NFS in Linux

In Linux, we can export a directory for NFS clients by editing the /etc/exports file.
The /etc/exports file contains an entry for each directory that can be exported to NFS clients. This file is read automatically by the exportfs command during during system start-up through rc.nfs script. It execute [...]

, , , ,

Oct/09

12

java.lang.UnsupportedClassVersionError

How to resolve this “java.lang.UnsupportedClassVersionError” error ?
This exception can occur when the source is built targeting a JDK that is not supported by the JDK attempting to run it.
For example, if an application is built targeting only JDK 1.5,  and we try to run it using JDK 1.4, the above exception will occur.

java.lang.UnsupportedClassVersionError

Bookmark

,

RedHat Linux
# cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 ( Nahant Update 8 )
SUSE Linux
# cat /etc/SuSE-release
SUSE Linux Enterprise Desktop 10 (x86_64)
VERSION = 10
Sun Solaris
# cat /etc/release
Solaris 10 6/06 s10s_u2wos_09a SPARC
Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 09 June 2006
Ubuntu Linux
# cat /etc/issue
Ubuntu 6.10 n l
HP UX
# uname [...]

, , , , , , , ,

Sep/09

14

Enabling Telnet/Ftp Services on RHEL

Linux is configured to run the Telnet and FTP server, but by default, these services are not enabled.
Enabling Services
Telnet
To enable the telnet service, login to the server as the root user account and run the following commands:
# chkconfig telnet on
# service xinetd reload
Reloading configuration: [ OK ]
FTP
The FTP server (wu-ftpd) is no longer [...]

, , , , ,

Older posts >>

SEO Powered by Platinum SEO from Techblissonline