Thursday, June 13, 2013

VirtualBox Commands for Linux

1.Install Dependency Packages for VirtualBox

# yum update
# yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms

2.Install VirtualBox 4.2.10

    # yum install VirtualBox-4.2

3.Rebuild Kernel Modules for VirtualBox 4.2.10

# /etc/init.d/vboxdrv setup
OR
# service vboxdrv setup

4.Start VirtualBox

#VirtualBox

5.Update VirtualBox

# yum update VirtualBox-4.2


6.Remove VirtualBox

# cd /etc/yum.repos.d/
# rm -rf virtualbox.repo
# yum remove VirtualBox-4.2

Enable X11 forwarding




 Enable X11 forwarding

While doing ssh use the option -X to enable X11 forwarding.

$ ssh username@hostname -X
Enable trusted X11 forwarding, by using the -Y option,

$ ssh username@hostname -Y

Oracle virtualbox installation error on linux 5.6 (64 bit)



Oracle virtualbox installation error on linux 5.6 (64 bit) 

The errors while configure oracle virtual box on Linux.
Download VirtualBox for Redhat 5 64bit
Oracle VirtualBox Download

Error 1: 

[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139
error: Failed dependencies:
        libSDL-1.2.so.0()(64bit) is needed by VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64

Solution:- 

========
when you face above error, you should install two rpms like follows [you can get it from your OS DVD (/media/RH../Packages/)]

SDL-1.2.14-2.el6.i686.rpm
SDL-1.2.14-2.el6.x86_64.rpm


[root@acb]# rpm -Uvh SDL-1.2.10-8.el5.i386.rpm
warning: SDL-1.2.10-8.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:SDL                    ########################################### [100%]
[root@abc]# rpm -Uvh SDL-1.2.10-8.el5.x86_64.rpm
warning: SDL-1.2.10-8.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:SDL                    ########################################### [100%]
Again I try to Install VirtualBox,
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature:
Preparing...                ########################################### [100%]
   1:VirtualBox-4.1         ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS [FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)
This time virtulbox was installed but i got a dkms error. this condition , you need to download
dkms-2.1.1.2-1.el5.rf.noarch.rpm package.
dkms-2.1.1.2-1.el5.rf.noarch.rpm
[root@abc]# rpm -Uvh dkms-2.1.1.2-1.el5.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79                                                                     e6
error: Failed dependencies:
        kernel-devel is needed by dkms-2.1.1.2-1.el5.rf.noarch
Dependencies rpm package need. the above kernel-devel get it from OS DVD.
[root@abc]# rpm -Uvh kernel-devel-2.6.18-238.el5.x86_64.rpm
warning: kernel-devel-2.6.18-238.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID                                                                      37017186
Preparing...                ########################################### [100%]
   1:kernel-devel           ########################################### [100%]
[root@abc]# rpm -Uvh dkms-2.1.1.2-1.el5.rf.noarch.rpm
warning: dkms-2.1.1.2-1.el5.rf.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79                                                                     e6
Preparing...                ########################################### [100%]
   1:dkms                   ########################################### [100%]
Again I try to install Oracle Virtulbox
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY,                                                                      key ID 98ab5139
Preparing...                ########################################### [100%]
        package VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64 is already installed


It show package already Installed, just remove this rpm package and install it again.
[root@abc]# rpm -e VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64
[root@abc]# rpm -Uvh VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm
warning: VirtualBox-4.1-4.1.4_74291_rhel5-1.x86_64.rpm: Header V4 DSA signature: NOKEY,                                                                      key ID 98ab5139
Preparing...                ########################################### [100%]
   1:VirtualBox-4.1         ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS [  OK  ]
Starting VirtualBox kernel modules [  OK  ]
[root@abc]#

Rebuild Kerel Modules for VirtualBox 

#service vboxdrv setup
Or /etc/init.d/vboxdrv setup

Start VirtualBox

#VirtualBox
OR
Now Everything was okay.
Go to –> Applications –> System Tools –> Oracle VM VirtualBox

Monday, June 10, 2013

How to add or remove the "About This Page" link on E-Business Suite Framework pages


1.In order to add the "About This page " link ,need to set profile at user level

         Personalize Self-Service Defn =yes
         FND: Diagnostics = Yes
         FND: Personalization Region Link Enabled = YES
         Disable Self-Service Personal = NO (Only at Site)

2.In order to remove  the "About This page " link ,need to set profile at user level

            Personalize Self-Service Defn =No
            FND: Diagnostics = No

Ref:  400042.1