Oracle E-business suite: virtual host names solution for R12.2
#download the source code [applmgr@apps ~]$
wget https://github.com/nonspecialist/fakehostname/archive/master.zip
[applmgr@apps ~]$
unzip master.zip [applmgr@apps ~]$ cd fakehostname-master/ #compile 32bit library [applmgr@apps fakehostname-master]$
gcc -fPIC -m32 -shared -Wl,-soname,libfakehostname.so.1 -ldl -o libfakehostname.so.1 fakehostname.c #compile 64bit library [applmgr@apps fakehostname-master]$
gcc -fPIC -m64 -shared -Wl,-soname,libfakehostname64.so.1 -ldl -o libfakehostname64.so.1 fakehostname.c
[applmgr@apps fakehostname-master]$
ls libfakehostname* libfakehostname64.so.1 libfakehostname.so.1 #copy the 32bit library to /usr/lib [applmgr@apps fakehostname-master]$
sudo cp libfakehostname.so.1 /usr/lib #copy 64bit library to /usr/lib64 with same name as 32bit library [applmgr@apps fakehostname-master]$
sudo cp libfakehostname64.so.1 /usr/lib64/libfakehostname.so.1 #set LD_PRELOAD to the library name. Do not use the absolute path [applmgr@apps ~]$
export LD_PRELOAD="libfakehostname.so.1" #test the fake hostname [applmgr@apps ~]$ hostname apps.example.com [applmgr@apps ~]$
export MYHOSTNAME=virtapps.example.com [applmgr@apps ~]$ hostname virtapps.example.com
On this page
Share this
Share this
More resources
Learn more about Pythian by reading the following blogs and articles.
Oracle E-business suite: Virtual host names solution
Oracle E-business suite: Virtual host names solution
Nov 27, 2015 12:00:00 AM
1
min read
Oracle E-Business Suite: Virtual host names
Oracle E-Business Suite: Virtual host names
Oct 6, 2015 12:00:00 AM
1
min read
Install EBS 12.2.2 Vision in Virtualbox from OVM templates

Install EBS 12.2.2 Vision in Virtualbox from OVM templates
Dec 20, 2013 8:54:00 AM
40
min read
Ready to unlock value from your data?
With Pythian, you can accomplish your data transformation goals and more.