ERROR OCURRED

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, December 15, 2011

NFS setup in Fedora16

Posted on 2:17 AM by Unknown
To Setup nfs Network File System (NFS) follow the following steps.

Need to edit file like below

#vi /etc/exports

/home/ramank *(rw,sync)


Save the file.

Or you can perform above step by system-config-nfs (gui)

[root@raman ~]# yum install system-config-nfs.noarch

Running Transaction
Installing : system-config-nfs-1.3.51-2.fc15.noarch 1/1

Installed:
system-config-nfs.noarch 0:1.3.51-2.fc15



Now here is catch in fedora 16.

Service name changed in fedora 16.

1st enable the service and then start like below.


[root@raman systemd]# systemctl enable nfs-server.service
ln -s '/lib/systemd/system/nfs-server.service' '/etc/systemd/system/multi-user.target.wants/nfs-server.service'


[root@raman systemd]# systemctl start nfs-server.service



[root@raman ~]# showmount -e 10.131.11.199
Export list for 10.131.11.199:
/home/ramank *



enjoy with your NFS.


Raman
Read More
Posted in | No comments

Friday, December 2, 2011

Install JBoss 6 Application server on RedHat 5

Posted on 2:00 AM by Unknown
Download form here

http://www.jboss.org/jbossas/downloads/

jboss-as-distribution-6.1.0.Final.zip

[root@localhost Desktop]# cp jboss-as-distribution-6.1.0.Final.zip /usr/share/


[root@localhost Desktop]# cd /usr/share/

[root@localhost share]# unzip jboss-as-distribution-6.1.0.Final.zip

now here you can see dir with name jboss-6.1.0.Final

####Now create jboss user & group

[root@localhost share]# groupadd jboss


[root@localhost share]# useradd -s /bin/bash -g jboss jboss


###Give ownership to jboss user to manage

[root@localhost share]# chown -R jboss:jboss jboss-6.1.0.Final


Now set bash profile for jboss.

[root@localhost jboss-6.1.0.Final]# su - jboss

[jboss@localhost ~]$ ls

[jboss@localhost ~]$ vi .bash_profile

export PATH
JAVA_HOME=/usr/java/jdk1.7.0_01
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
JBOSS_HOME=/usr/share/jboss-6.1.0.Final
export JBOSS_HOME

save the file and execute

[jboss@localhost ~]$ . .bash_profile


To test bash profile setting, run following command.

[jboss@localhost ~]$ echo $JAVA_HOME
/usr/java/jdk1.7.0_01

[jboss@localhost ~]$ echo $JBOSS_HOME
/usr/share/jboss-6.1.0.Final


Service script for JBoss i.e Stop/start/restart.

[root@localhost bin]# pwd
/usr/share/jboss-6.1.0.Final/bin

[root@localhost bin]# cp jboss_init_redhat.sh /etc/init.d/jboss

Now edit this file.

18 JBOSS_HOME=${JBOSS_HOME:-"/usr/share/jboss-6.1.0.Final"}

23 #make sure java is in your path
24 JAVAPTH=${JAVAPTH:-"/usr/java/jdk1.7.0_01"}

29 #if JBOSS_HOST specified, use -b to bind jboss services to that address
30 JBOSS_HOST="0.0.0.0"
31 JBOSS_BIND_ADDR=${JBOSS_HOST:+"-b $JBOSS_HOST"}

Note :- HOST 0.0.0.0 mean allow JBoss to bind to any IP.


Now run JBoss service.

[root@localhost bin]# cd /etc/init.d/

[root@localhost init.d]# chmod 755 jboss


[root@localhost init.d]# /etc/init.d/jboss start
JBOSS_CMD_START = cd /usr/share/jboss-6.1.0.Final/bin; /usr/share/jboss-6.1.0.Final/bin/run.sh -c default -b 0.0.0.0


Make sure Jboss service start

try in browser.

http://systemip:8080

Default username-password admin/admin.
Read More
Posted in | No comments

Update Java in RedHat 5.5 /RHEL

Posted on 12:12 AM by Unknown
Step to update update in Rehdat 5.5 32 bit.

1) Check current Java verison.

[root@localhost ~]# java --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


2) Default Java package in RedHat is

java-1.4.2-gcj-compat-1.4.2.0-40jpp.115



Download latest JDK.

http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u1-download-513651.html

Pkg name :- jdk-7u1-linux-i586.rpm


Install the pkg

#rpm -Uvh jdk-7u1-linux-i586.rpm


Then just create symbolic link which point to new java installation.


[root@localhost bin]# ln -s /usr/java/jdk1.7.0_01/bin/java /usr/bin/java

Now test your Java version.


[root@localhost bin]# java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)


That all,now next post Installing JBoss.
Read More
Posted in | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • No package 'lua5.1' found
    hecking for LUA51... no checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met: No package 'lua5.1...
  • response to SOA query was unsuccessful: solved
    check your zone file [root@inf1sysadm1 data]# pwd /var/named/data # cat ind.raman.com.zone $ORIGIN . $TTL 3600 ; 1 hour ind.raman.com IN SO...
  • can't locate your x11 installation Fedora
    While install Conky, system through this error. Solution:- You need to install X11 Software Dev Package. Login on system with root user ...
  • Qmail Installation & Configuration step by step
    Tested under CentOS 5.8  64bit machine. 1)Packges which i installed for Qmail. httpd-2.2.3-76 php-5.1.6-39 perl-5.8.8 -38 gcc-4.1.2 mysql-5....
  • Dell MD3200 SAS Cabling With Diagram
    I have 2 MD3200 with SAS Ports + 2 Power Edge720. Task to connect Both DAS with Both server and make sure Both server showing  all DAS Parti...
  • It is safe to clean windows prefetch folder and registry folder ?
     It is safe to clean windows prefetch folder and registry folder ? Will this boost Windows operating system capabilities ? Many of you hav...
  • Windows 7 & Windows 8 fail to start
    Windows 7 fail to boot, what should I do? Is Windows 7 failing to boot after you installed the loader or after you just installed a fresh ne...
  • Steps how to change VolStatus in Bacula through bonsole.
    In my example MediaId=4 or Volumename=000018L4 shows volstatus is Purged. *list volumes Pool: Default +---------+------------+-----------+--...
  • Adobe Photoshop CS5 Error 16 , Adobe Photoshop CS5 Error 7
    When you install Adobe Photoshop CS5 you might get some errors. In case you get one you will see a code and a little description. Is very im...
  • X connection to localhost:10.0 broken (explicit kill or server shutdown).
    Solution:- With Xhost, you can solve this issue.

Categories

  • Adobe
  • Players
  • Reviews
  • Windows

Blog Archive

  • ►  2013 (27)
    • ►  October (3)
    • ►  August (1)
    • ►  June (1)
    • ►  April (3)
    • ►  February (10)
    • ►  January (9)
  • ►  2012 (29)
    • ►  December (2)
    • ►  November (7)
    • ►  October (10)
    • ►  September (4)
    • ►  August (1)
    • ►  June (2)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ▼  2011 (36)
    • ▼  December (3)
      • NFS setup in Fedora16
      • Install JBoss 6 Application server on RedHat 5
      • Update Java in RedHat 5.5 /RHEL
    • ►  November (3)
    • ►  October (1)
    • ►  September (5)
    • ►  August (4)
    • ►  May (2)
    • ►  April (4)
    • ►  March (5)
    • ►  February (2)
    • ►  January (7)
  • ►  2010 (24)
    • ►  December (1)
    • ►  November (1)
    • ►  October (4)
    • ►  August (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (2)
    • ►  February (5)
    • ►  January (8)
  • ►  2009 (18)
    • ►  December (6)
    • ►  November (3)
    • ►  August (1)
    • ►  July (2)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2008 (16)
    • ►  December (1)
    • ►  October (1)
    • ►  August (1)
    • ►  July (5)
    • ►  April (2)
    • ►  February (1)
    • ►  January (5)
  • ►  2007 (4)
    • ►  July (3)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile