To install WAS 8.5.5 (WebSphere Application Server), you must first install IM (Installation Manager ).
Environment
Remote CentOS 6.5 64bit Server
Local Thinkpad
Download the installation package InstalMgr1.6.2_LNX_X86_64_WAS_8.5.5.zip and upload it to the server.
Run Xming on the local Thinkpad
Open Putty. Note that the Enable X11 forwarding option of Putty should be enabled. Otherwise, Xming cannot display the graphical installation interface locally.
Open the session of the Server to connect to the remote Server
Install
12 unzip InstalMgr1.6.2_LNX_X86_64_WAS_8.5.5.zip
./Install
Complete
The next step is to add Repo and install WAS.
There was an episode before, and you can skip it if you don't want.
During the first installation, the install command returns the following error:
[Root @ dstsmdlab im] #./install
00:00. 55 ERROR [main] org. eclipse. equinox. log. internal. ExtendedLogReaderServiceFactory safeLogged
Cocould not load SWT library. Reasons:
/Tmp/im/configuration/org. eclipse. osgi/bundles/29/1/. cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
Swt-pi-gtk (Not found in java. library. path)
/Root/. swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
/Root/. swt/lib/linux/x86/libswt-pi-gtk.so (/root/. swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
Java. lang. UnsatisfiedLinkError: cocould not load SWT library. Reasons:
/Tmp/im/configuration/org. eclipse. osgi/bundles/29/1/. cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
Swt-pi-gtk (Not found in java. library. path)
/Root/. swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
/Root/. swt/lib/linux/x86/libswt-pi-gtk.so (/root/. swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
Java. lang. UnsatisfiedLinkError: cocould not load SWT library. Reasons:
/Tmp/im/configuration/org. eclipse. osgi/bundles/29/1/. cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
Swt-pi-gtk (Not found in java. library. path)
/Root/. swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)
/Root/. swt/lib/linux/x86/libswt-pi-gtk.so (/root/. swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
At org. eclipse. swt. internal. Library. loadLibrary (Library. java: 331)
At org. eclipse. swt. internal. Library. loadLibrary (Library. java: 240)
At org. eclipse. swt. internal. gtk. OS. <clinit> (OS. java: 22)
At java. lang. J9VMInternals. initializeImpl (Native Method)
...
The displayed failed to initialize. See the log/tmp/im/configuration/1391762016115.log for details.
Find the so file and add it to the load path.
[Root @ dstsmdlab tmp] # find/usr-name libgtk-x11-2.0 *
/Usr/lib64/libgtk-x11-2.0.so
/Usr/lib64/libgtk-x11-2.0.so.0.2000.1
/Usr/lib64/libgtk-x11-2.0.so.0
[Root @ dstsmdlab tmp] # LD_LIBRARY_PATH =/usr/lib64 & export LD_LIBRARY_PATH
[Root @ dstsmdlab tmp] # cd im
[Root @ dstsmdlab im] #./install
00:00. 56 ERROR [main] org. eclipse. equinox. log. internal. ExtendedLogReaderServiceFactory safeLogged
Cocould not load SWT library. Reasons:
/Tmp/im/configuration/org. eclipse. osgi/bundles/29/1/. cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)
Swt-pi-gtk (Not found in java. library. path)
/Root/. swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)
/Root/. swt/lib/linux/x86/libswt-pi-gtk.so (/root/. swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
Java. lang. UnsatisfiedLinkError: cocould not load SWT library. Reasons:
/Tmp/im/configuration/org. eclipse. osgi/bundles/29/1/. cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)
Swt-pi-gtk (Not found in java. library. path)
/Root/. swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)
/Root/. swt/lib/linux/x86/libswt-pi-gtk.so (/root/. swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
Java. lang. UnsatisfiedLinkError: cocould not load SWT library. Reasons:
/Tmp/im/configuration/org. eclipse. osgi/bundles/29/1/. cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)
Swt-pi-gtk (Not found in java. library. path)
/Root/. swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)
/Root/. swt/lib/linux/x86/libswt-pi-gtk.so (/root/. swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)
At org. eclipse. swt. internal. Library. loadLibrary (Library. java: 331)
At org. eclipse. swt. internal. Library. loadLibrary (Library. java: 240)
At org. eclipse. swt. internal. gtk. OS. <clinit> (OS. java: 22)
At java. lang. J9VMInternals. initializeImpl (Native Method)
...
The displayed failed to initialize. See the log/tmp/im/configuration/1391762503195.log for details.
Still cannot. But the error has obviously changed. Thinking, thinking... I suddenly got angry. The above error implies that the number of so digits is incorrect. My server is 64-bit and it requires 32-bit so... suddenly realized... you guessed it. I changed a 64-bit IM installation package. Okay.