Skip to content

Commit 1ea4880

Browse files
updates from Johnny
1 parent 42e1d1c commit 1ea4880

File tree

1 file changed

+51
-40
lines changed

1 file changed

+51
-40
lines changed

documentation/1.0/content/setup/install.md

Lines changed: 51 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -9,57 +9,68 @@ description: "Install the WKT UI application and check for updates."
99
1. Download the latest WebLogic Kubernetes Toolkit UI (WKT UI) application installers from the [GitHub Releases section](https://github.com/oracle/weblogic-toolkit-ui/releases) of this repository.
1010
2. Simply run the appropriate installer for your operating system.
1111

12-
**NOTE**: On Linux, to get _all_ the dependencies and have them installed in the correct order, you need to use the package manager to install the `rpm` or `deb` file.
12+
{{% notice note %}}
13+
On Linux, to get _all_ the dependencies and have them installed in the correct order, you need to use the package manager to install the `rpm` or `deb` file.
14+
{{% /notice %}}
1315

14-
- On Oracle/RedHat/CentOS (and some others), use either `yum` or `dnf`; for example:
15-
```
16-
sudo yum localinstall wktui-1.0.0.x86_64.rpm
17-
```
16+
### Prerequisites
17+
18+
For RPM-based systems, such as Oracle, RedHat, CentOS, and some others:
19+
20+
For storing credentials in the OS native credentials store, you must have a desktop environment. If your system does not have a graphical desktop environment,
21+
you can install one; for example, installing GNOME Desktop on Oracle Linux:
1822

19-
- On Ubuntu, use `apt-get`; for example:
23+
https://support.oracle.com/knowledge/Oracle%20Linux%20and%20Virtualization/2717454_1.html
24+
25+
For storing credentials as an encrypted project file, and for a minimum GUI requirement, make sure the following packages are installed in your system:
2026
```
21-
sudo dpkg -i wktui_1.0.0_amd64.deb
27+
sudo dnf update
28+
sudo dnf install libxshmfence libdrm.x86_64 libgbm alsa-lib xauth atk-devel.x86_64 java-atk-wrapper.x86_64
29+
sudo reboot
2230
```
23-
You may see output like the following:
31+
For Debian-based systems, such as Ubuntu and Debian:
32+
33+
For storing credentials in the OS native credentials store, you must have a desktop environment. If your system does not have a graphical desktop environment,
34+
you can install one; for example, installing GNOME on Ubuntu 20x:
2435
```
25-
Selecting previously unselected package wktui.
26-
(Reading database ... 70158 files and directories currently installed.)
27-
Preparing to unpack wktui_1.0.0_amd64.deb ...
28-
Unpacking wktui (1.0.0-784) ...
29-
dpkg: dependency problems prevent configuration of wktui:
30-
wktui depends on gconf2; however:
31-
Package gconf2 is not installed.
32-
wktui depends on gconf-service; however:
33-
Package gconf-service is not installed.
34-
wktui depends on libnotify4; however:
35-
Package libnotify4 is not installed.
36-
wktui depends on libappindicator1; however:
37-
Package libappindicator1 is not installed.
38-
wktui depends on libxtst6; however:
39-
Package libxtst6 is not installed.
40-
wktui depends on libsecret-1-dev; however:
41-
Package libsecret-1-dev is not installed.
42-
43-
dpkg: error processing package wktui (--install):
44-
dependency problems - leaving unconfigured
45-
Processing triggers for shared-mime-info (1.15-1) ...
46-
Processing triggers for mime-support (3.64ubuntu1) ...
47-
Errors were encountered while processing:
48-
wktui
36+
sudo apt install gnome-session gdm3
37+
sudo reboot
4938
```
50-
If so, then run:
39+
40+
### Installation
41+
For RPM-based systems, download the latest `wktui` `rpm` package from https://github.com/oracle/weblogic-toolkit-ui/releases, then use either `yum` or `dnf`; for example:
5142
```
52-
sudo apt-get install -f
43+
sudo yum -y localinstall wktui_1.0.0_amd64.rpm
5344
```
54-
If you run `wktui` from an OS terminal shell, then you may see this:
45+
46+
For Debian-based systems, download the latest `wktui` `deb` package from https://github.com/oracle/weblogic-toolkit-ui/releases, then run:
5547
```
56-
wktui
57-
libGL error: No matching fbConfigs or visuals found
58-
libGL error: failed to load driver: swrast```
48+
sudo apt install ./wktui_1.0.0_amd64.deb
5949
```
60-
This is harmless and can be removed by setting this environment variable before launching `wktui`:
6150

62-
`export LIBGL_ALWAYS_INDIRECT=1`
51+
#### Helpful Hints
52+
53+
- When launching `wktui`, if you see this:
54+
```
55+
libGL error: No matching fbConfigs or visuals found
56+
libGL error: failed to load driver: swrast
57+
```
58+
This is harmless and can be removed by setting the environment variable:
59+
60+
`export LIBGL_ALWAYS_INDIRECT=1`
61+
62+
63+
- If you are storing credentials in the OS native store, and you see this failure message:
64+
```
65+
Error occurred in handler for 'save-project': Error: Failed to save credential for image.
66+
imageRegistryPushUser: Error: No such interface "org.freedesktop.Secret.Collection" on object at path /
67+
org/freedesktop/secrets/collection/login
68+
at /tmp/.mount_WebLogpIPFto/resources/app.asar/app/js/credentialManager.js:92:32
69+
```
70+
You can solve it by running this command (only once) before launching `wktui`:
71+
72+
`dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY`
73+
6374
6475
6576
### Application Startup

0 commit comments

Comments
 (0)