This module is for installing and configuring Oracle Instant Client
The module can be used on a new or existing Webmin installation
Step 1: Get the repo from Github:
git clone https://github.com/cited/Oracle-Instant-Client.git
Step 2: Change name:
mv Oracle-Instant-Client oci
Step 4 Create the Webmin wbm.gz file:
tar -cvzf oci.wbm.gz oci/
Step 5: Install the module (Ubuntu):
/usr/share/webmin/install-module.pl oci.wbm.gz
Step 5: Install the module (Rocky/Alma):
/usr/libexec/webmin/install-module.pl oci.wbm.gz
Once the module is installed, go to Servers >> Oracle Instant Client
Click throught the Set Up Wizard
Select the package(s) you want to install
Once completed, the panel should look like below:
If you selected SQLPlus, you can test functionality via the Webmin terminal app:
Start SQL Plus
PHP oci funcationality can be tested using below
<?php
$c = @oci_connect("username", "password", "hostname/servicename(pdb)");
if (!$c) {
print "Sorry! The connection to the database failed. Please try again later.";
die();
}
else {
print "Congrats! You've connected to an Oracle database!";
oci_close($c);
}
?>
- Issue Tracker: github.com/cited/Oracle-Instant-Client/issues
- Source Code: github.com/AcuGIS/Oracle-Instant-Client
If you are having issues, please let us know. We have a mailing list located at: [email protected]
The project is licensed under the BSD license.