Skip to main content

Posts

Showing posts from October, 2018
First prerequirements are a working apache2 and php7.2 (Ubunti 18.04) environment.Download the basic (like instantclient-basic-linux.x64-12.2.0.1.0.zip) and the sdk (instantclient-sdk-linux.x64-12.2.0.1.0.zip) package from the Oracle Website http://www.oracle.com/technetwork/database/database-technologies/instant-client/downloads/index.htmlUpload both files to your webserver, you can use WinSCP (windows) or rsync/scp (linux) for itUnzip both files on server, in my case, you will get a new folder named "instantclient_12_2"Create destination folder : mkdir /opt/oracleMove and rename the instantclient folder: mv instantclient_12_2 /opt/oracle/instantclientChange rights on folder: chown -R root:www-data /opt/oracleCheck if you have the required packages for installing OCI8: apt install php7.2-dev php-pear build-essential libaio1 Create necessary soft links: ln -s /opt/oracle/instantclient/libclntsh.so.12.1 /opt/oracle/instantclient/libclntsh.so; ln -s /opt/oracle/instantclient/l…

Enabling java plugin in Chromium on Linux

Hi there,

In certain situations you may need to use java plugin in chromium to access certain functions in a website such as server's console accessed via IPMI page.

On Linux ( I use Ubuntu 18.04), install icedtea-plugin package:

sudo apt install icedtea-plugin
To enable chromium to run java, make a symbolic link of icedtea plugin to plugin directory of chromium:

sudo ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so /usr/lib/chromium-browser/plugins/
Have fun!