Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
unitybase
ubjs
Commits
c272217b
Commit
c272217b
authored
Oct 23, 2021
by
Pavel Mashliakovskiy
🤹🏻
Browse files
added Oracle instant client setup instruction
parent
471c00f0
Pipeline
#32750
passed with stage
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tutorials/database_tuning.md
View file @
c272217b
...
...
@@ -97,7 +97,39 @@ ubConfig section example:
},
...
]
```
### Oracle
### Oracle (UB server EE)
#### Setup Oracle client
Download a zip version
[
Basic Light Package (ZIP)
](
https://www.oracle.com/database/technologies/instant-client/downloads.html
)
Execute under
`sudo`
:
For instantClient 19
```
bash
unzip instantclient-basiclite-linux.x64-19.6.0.0.0dbru.zip
mv
instantclient_19_6 /usr/lib
cd
/usr/lib/instantclient_19_6
rm
-f
./libclntsh.so
ln
-s
libclntsh.so.19.1 libclntsh.so
pwd
>
/etc/ld.so.conf.d/oracle.conf
apt
install
libaio1
ldconfig
```
For instantClient 12
```
bash
unzip instantclient-basiclite-linux.x64-19.6.0.0.0dbru.zip
unzip instantclient-basiclite-linux.x64-12.2.0.1.0.zip
mv
instantclient_12_2 /usr/lib
cd
/usr/lib/instantclient_12_2
ln
-s
libclntsh.so.12.1 libclntsh.so
pwd
>
/etc/ld.so.conf.d/oracle.conf
apt
install
libaio1
ldconfig
```
Full client with sqlplus can be found here: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
#### Setup Oracle connection
Connection parameters can be specified in
`tnsnames.ora`
- in this case
`serverName`
in the ubConfig should be a TNS name,
or directly in the TNS string passed to the
`serverName`
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment