i`m beginner docker user.
My development environment operates oracle EE 19.3 version in Docker CE 19.03.5. (RHEL7.7)
I would like to apply Oracle Patch (PSR,PSU,CPU,interim, etc.) to oracle engines that are being operated on existing docker containers and then export them. However, it is frustrating because no method can be found even when I try Google.
I want to patch Oracle 19c EE, which is on the docker, and then make it a new image.
How do I apply patches after downloading the patch file from Oracle?
Please Let me know.
When you download the patch zip file there is a readme file in it. It will tell you which commands you need to execute to apply the patch.
Related
I'm trying to configure the plugin dadbod (https://github.com/tpope/vim-dadbod) and must confess I don't know vimscript well enough to comprehend the code :(
I'm stuck on configuring the database adapters. Irrespective of what URL I try, I just get the message
DB: no adapter for SQL Server.
I've also tried SQLite and Postgres with the same results.
In the WIKI, there's a statement: Supports a modern array of backends - which makes me think I haven't configured "the backend" perhaps? I have the jdbc SQL Server driver installed, and set a JAVA_HOME environment variable which works fine with DBeaver and with Azure Data Studio.
I haven't been able to find anything on the web about how to configure dadbod beyond the command structure. Am I missing something obvious about how the plugin works?
Your help greatly appreciated!
The vim-dadbod plugin was definitely not installed correctly. I did a clean install of Vim, then installed the package manager Vundle. Following Vundle's instructions I was able to install vim-dadbod.
I'll be posting a followup later, but the issue is no longer the plugin itself!
Hi can someone provide detailed installation steps to install Oracle data integrator 11g or 12c on my mac book pro. I am very new to Mac and I am a business analyst, so would appreciate if you could be specific in giving the instructions.
ODI can be run in OS X.
Today I have installed ODI 12c2.1.3 version in my macbook pro.
For sure, there is no information is available to fix the issues. I hope this will help others.
As we know the default installation directly doesn't work. I have done some changes in default configurations and lib. I am running setup on jdk8. I am assuming you have already installed ODI
Changes you have to made is as follows
odi.conf
File Path - <Oracle Home>/Middleware/Oracle_Home/odi/studio/bin
Append the below lines to odi.conf
AddVMOption -Dswing.defaultlaf=com.apple.laf.AquaLookAndFeel
AddJavaLibFile ../extensions/oracle.odi.navigator.12/lib/jide-common.jar
Download the latest jidesoft demo zip from http://www.jidesoft.com/products/download.htm
Link I have used - http://www.jidesoft.com/products/1.4/jide_demo.zip
extract the zip file and rename the file to jide-common.jar and copy it to location
<Oracle Home>/Middleware/Oracle_Home/odi/studio/extensions/oracle.odi.navigator.12/lib
After this go to
cd <Oracle Home>/Middleware/Oracle_Home/odi/studio/bin/
./odi -verbose
You should not see any error.
As this jidesoft jar is an evaluation version. you should follow their terms and conditions.
ODI Studio 11g can be installed on Mac OS X by downloading the Oracle Data Integrator Companion. I'm not sure it's the most reliable way to use ODI though.
You will first need that you have the right version of Java installed. You can check on the certification matrix and if needed install a new JDK.
Then unzip the companion archive, browse to the studio folder, unzip the other archive in there, browse to oracledi/client and start odi.sh. There might be a dialog box asking for the location of the JDK on the first start.
ODI Studio 12c doesn't run on OS X so far.
If the goal is just to try ODI and quickly learn it, I actually would rather recommend to download the free ODI Getting Started Virtual Machine that runs on Virtual Box. Everything will already be set up with an Oracle database, Golden Gate and much more.
I've had a look at the chef community cookbook for installing sql server and it appears that it's tailored for installing SQL express, but I can't seem to work out how to install a standard or developer edition.
The README on the GitHub page (https://github.com/chef-cookbooks/sql_server) says you can just point it to any installation package, however I can't see how you would do this for an ISO (or even the extracted contents of an ISO) given that there's no single EXE package on the ISO media.
Am I missing something obvious, or will I need to roll my own recipe for installing SQL from an ISO (or contents of ISO)? Ideally I would like to host the installation media on a central package repository behind my firewall.
Option 1:
Customized cookbook is the best option for you use case. Like you said, host .ISO on central repo and create a cookbook that mounts the .ISO drive to run the installation. You should leverage that cookbook template and re-write that windows_package block in the server.rb to install using keyword 'source' with path to the mounted installation files. However, this will be a major work (from past experience...) so if you have only one or two nodes that need to run the cookbook, go with Option 2.
Option 2:
If you have only one or two nodes that need to run the cookbook, I would suggest you to run the basic 'sql_server::server' then upgrade to the version you want using the GUI with the PID product key.
Note that this process can be automated as well using Powershell script. If you are familiar with Powershell, you can automate it using powershell_script block.
ISOs are intended for DVD images but if you have an ISO shredder (search online for free tools) you'll see a setup.exe in there. Run that and it'll bring you to the installation center where you can choose to install a new instance and do a bunch of other things. It's a wizard type interface so just read the instructions on each page and you should be able to provide the relevant info where needed to successfully complete the installation
I download jdeveloper studio edition and install it in C:\Oracle\Middleware
then I install weblogic instance using C:\Oracle\Middleware\wlserver_10.3\common\bin\config.exe
to C:\myproject\domains\myweblogic
Then download DMS_11.1.0.0.0_WINDOWS.zip and install it to C:\Oracle\Middleware\Mobile.
thereafter cant start
C:\Oracle\Middleware\Mobile\Mobile\Server\bin\runmobileserver.bat
unless i change the variable to this batch file
set DOMAIN_DIR=C:\myproject\domains\myweblogic
what do I do next to see that it works?
is there a simple example that creates a sigle table and synchronized between server and mobile clients?
very difficult to find information on this technology. interfere very popular tags (Oracle, Database).
If you install Database Mobile Server directly in the WebLogic directory, you will not need to edit the batch file. For instance, I believe the default install directory is:
C:\Oracle\Middleware\wlserver_10.3
So if you used the default install directory, you would install Database Mobile Server there, with no added 'Mobile' or other directory. If you chose to install WebLogic elsewhere, then replace the above with that directory.
There is another small issue to be aware of.
The installer will give you warning about installing in a non-empty
directory. You should click through the warning. This is a known issue
documented in the Release Notes.
Regarding your other question about a demo, there is a Java demo found in
<MOBILE_HOME>\Mobile\Server\demos\consolidator_api
You will need to download a client and perform a sync, which is documented here:
http://download.oracle.com/docs/cd/E22663_01/doc.11100/e22681/instsqlite.htm#BABGAACI
I hope that helps, good luck with your project. Let me know if you have further questions.
Eric Jensen, Oracle PM
The development machine I work on has Ubuntu Jaunty Jackalope as its operating system. I have been presented with data for a project I'm working on in the form of an .accdb file created by Microsoft Access. I do not own a copy of Microsoft Access. I do have Open Office installed and would be willing to install any software package available to my operating system. Is there a way I can open or transform this file so that I can view and edit the data on my computer? Is there another format that the Access database could be saved as that I would be able to open?
There are two open source tools available however they only work on MDB format files. Can you ask the supplier of the ACCDB file to give it to you in MDB format?
MDB Tools is a set of open source libraries and utilities to facilitate exporting data from MS Access databases (mdb files) without using the Microsoft DLLs.
Jackcess is a pure Java library for reading from and writing to MS Access databases. It is part of the OpenHMS project from Health Market Science, Inc. . It is not an application. There is no GUI. It's a library, intended for other developers to use to build Java applications. It appears to be much newer than MDB tools, is more active and has write support.
Jackcess now supports everything from Access 97 (read-only), 2000, 2003, 2007, and 2010 (read-write), both .mdb and .accdb files.
Dumping the file can be as easy as
import com.healthmarketscience.jackcess.*;
import java.io.*;
public class AccessExport {
public static void main(String []args) throws IOException {
System.out.println(Database.open(new File(args[0])).getTable(args[1]).display());
}
}
(of course, you need a java compiler, libcommons-logging-java, libcommons-lang-java and you have to pass the .accdb filename as the first and the table name as the second parameter).
-Marcel
I just had this same problem on an Ubuntu 14.01 AWS EC2 instance and I was able to accomplish this task (convert .accdb file to CSV on Ubuntu) by using access2csv. I had to install Git, install Java, and install ant, but then was able to convert the .accdb files I had to CSV by typing:
$ java -jar access2csv.jar myfile.accdb
It uses Jackcess so you get the same functionality without having to write your own Java code to accomplish this basic task. Each table is returned as its own CSV file.
You can also access the schema by passing the --schema option:
java -jar access2csv.jar myfile.accdb --schema
Hope this is helpful. It certainly was for me.
A good format to view and work with on Linux would be CSV.
As the accepted answer suggests MDB Tools does the job. To export all the tables on Linux to CSV format try this command:
mdb-tables -d ',' database.accdb| xargs -L1 -d',' -I{} bash -c 'mdb-export database.accdb "$1" >"$1".csv' -- {}
You can use mdbtools also into windows via WSL (Ubuntu on Windows or Debian on Windows):
Then install it in console with:
sudo apt install mdbtools
This may be of interest: How to convert accdb to a postgres database
I am not sure if Wine would suit, but it might be worth a look.
I found this blog: http://tahsinabrar.com/open-a-microsoft-access-accdb-file-in-ubuntu/
In case the link is broken, the contents say:
We can use the UCanAccess JDBC driver to connect to Access databases
(.mdb and .accdb) in LibreOffice Base. Here’s how I did it on a clean
install of Ubuntu 14.04 LTS.
First, I installed LibreOffice Base itself
sudo apt-get install libreoffice-base
Then I downloaded UCanAccess to my Downloads folder and unzipped it.
I launched LibreOffice (not Base, just LibreOffice itself)
LibreOffice.png
and chose Tools > Options
On the Advanced tab I clicked the “Class Path…” button and then added
the following five (5) JAR files using the “Add Archive…” button:
/home/abrar/Downloads/UCanAccess-2.0.9.5-bin/ucanaccess-2.0.9.5.jar
/home/abrar/Downloads/UCanAccess-2.0.9.5-bin/lib/commons-lang-2.6.jar
/home/abrar/Downloads/UCanAccess-2.0.9.5-bin/lib/commons-logging-1.1.1.jar
/home/abrar/Downloads/UCanAccess-2.0.9.5-bin/lib/hsqldb.jar
/home/abrar/Downloads/UCanAccess-2.0.9.5-bin/lib/jackcess-2.1.0.jar
Note that you must close and re-open LibreOffice for the new Class
Path values to take effect.
Then I launched LibreOffice Base, and in Step 1 of the wizard I chose
“Connect to an existing database (JDBC)”
The Access file I wanted to manipulate was named “baseTest.accdb” in
my Downloads folder, so in Step 2 the “Datasource URL” was
jdbc:ucanaccess:///home/abrar/Downloads/baseTest.accdb
and the “JDBC driver class” was
net.ucanaccess.jdbc.UcanaccessDriver
In Step 3, I left the “User name” field empty and just clicked “Next
”.
In Step 4, I saved the LibreOffice Base database as “accdbTest.odb” in
my Documents folder.
When the wizard completed it opened my LibreOffice database and I
could see the tables in the .accdb file
But you have download and unzip UCANACCESS first from here: http://ucanaccess.sourceforge.net/site.html
I can see all the tables in LibreOffice Base. Here is one:
I guess you want to extract data from tables, not code from modules. I do not know specifically Ubuntu but I guess you can connect to the access file using an ODBC connection (or, if available, OLEDB connection) and extract the data? Depending on the connection type, you might still need to know the tables names in order to import them.
Microsoft Access Runtime is a free software. You can install it in Ubntu using Wine and then open the accdb database.
Im not sure if there are any native tools, but you can always install a copy of windows and install a free view for accdb files or install a trial of Access.