标签:
你可以在这里找到原文。
已经安装和配置好下列OS环境:
- Oracle Linux 6.5 64bit
- Hostname: sgd.example.com
- IP: 192.168.56.110
已经配置好一个可用的Yum源。
本例使用了一个本地FTP(ftp://192.168.56.254/pub/iso
)作为Yum源。而且,SGD的安装包已经下载好,重命名为SGD5.2forLin.zip
,同时上传到这个FTP上(ftp://192.168.56.254/pub/SGD5.2forLin.zip
)。
所有的安装操作都是以root用户来进行的。
修改/etc/hosts
文件,在末尾加入IP与主机名的映射。
[root@sgd ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.56.110 sgd sgd.example.com
关闭防火墙:
[root@sgd ~]# chkconfig iptables off
[root@sgd ~]# service iptables stop
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
禁用SELinux,为使设置生效,需要重启系统:
[root@sgd ~]# vim /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@sgd ~]# reboot
重启之后,确认防火墙为开启,SELinux已经禁用:
[root@sgd ~]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
Chain FORWARD (policy ACCEPT)
num target prot opt source destination
Chain OUTPUT (policy ACCEPT)
num target prot opt source destination
[root@sgd ~]# getenforce
Disabled
创建临时文件夹/root/sgd-install
,并将下载好的SGD安装包保存到该文件夹。
[root@sgd ~]# mkdir sgd-install
[root@sgd ~]# cd sgd-install/
[root@sgd sgd-install]# lftp 192.168.56.254
lftp 192.168.56.254:~> cd pub/
lftp 192.168.56.254:/pub> get SGD5.2forLin.zip
550848465 bytes transferred in 16 seconds (33.24M/s)
lftp 192.168.56.254:/pub> bye
[root@sgd sgd-install]# ls
SGD5.2forLin.zip
解压SGD安装包:
[root@sgd sgd-install]# unzip SGD5.2forLin.zip
Archive: SGD5.2forLin.zip
inflating: tta-5.20-903.x86_64.rpm
开始安装:
[root@sgd sgd-install]# yum install --nogpgcheck tta-5.20-903.x86_64.rpm
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Examining tta-5.20-903.x86_64.rpm: tta-5.20-903.x86_64
Marking tta-5.20-903.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package tta.x86_64 0:5.20-903 will be installed
--> Processing Dependency: ld-linux.so.2 for package: tta-5.20-903.x86_64
--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.1.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.2.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.2.4) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.3.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.3.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: tta-5.20-903.x86_64
--> Processing Dependency: libcrypt.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libcrypt.so.1(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libdl.so.2 for package: tta-5.20-903.x86_64
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcc_s.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcc_s.so.1(GCC_3.4) for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcrypt.so.11 for package: tta-5.20-903.x86_64
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libkeyutils.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libm.so.6(GLIBC_2.1) for package: tta-5.20-903.x86_64
--> Processing Dependency: libnsl.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libpam.so.0 for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0 for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.1) for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.1.1) for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.2.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.3.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libpthread.so.0(GLIBC_2.4) for package: tta-5.20-903.x86_64
--> Processing Dependency: libresolv.so.2 for package: tta-5.20-903.x86_64
--> Processing Dependency: libresolv.so.2(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libresolv.so.2(GLIBC_2.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: librt.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: librt.so.1(GLIBC_2.2) for package: tta-5.20-903.x86_64
--> Processing Dependency: libstdc++.so.6 for package: tta-5.20-903.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package: tta-5.20-903.x86_64
--> Processing Dependency: libthread_db.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libthread_db.so.1(GLIBC_2.1.3) for package: tta-5.20-903.x86_64
--> Processing Dependency: libutil.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libutil.so.1(GLIBC_2.0) for package: tta-5.20-903.x86_64
--> Processing Dependency: libuuid.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libz.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libbz2.so.1 for package: tta-5.20-903.x86_64
--> Processing Dependency: libXtst.so.6 for package: tta-5.20-903.x86_64
--> Processing Dependency: libXm.so.3 for package: tta-5.20-903.x86_64
--> Processing Dependency: libXm.so.4 for package: tta-5.20-903.x86_64
--> Processing Dependency: openmotif for package: tta-5.20-903.x86_64
--> Running transaction check
---> Package bzip2-libs.i686 0:1.0.5-7.el6_0 will be installed
---> Package glibc.i686 0:2.12-1.132.el6 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.132.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.132.el6.i686
---> Package keyutils-libs.i686 0:1.4-4.el6 will be installed
---> Package libXtst.i686 0:1.2.1-2.el6 will be installed
--> Processing Dependency: libXi.so.6 for package: libXtst-1.2.1-2.el6.i686
--> Processing Dependency: libXext.so.6 for package: libXtst-1.2.1-2.el6.i686
--> Processing Dependency: libX11.so.6 for package: libXtst-1.2.1-2.el6.i686
---> Package libgcc.i686 0:4.4.7-4.el6 will be installed
---> Package libgcrypt.i686 0:1.4.5-11.el6_4 will be installed
--> Processing Dependency: libgpg-error.so.0 for package: libgcrypt-1.4.5-11.el6_4.i686
---> Package libstdc++.i686 0:4.4.7-4.el6 will be installed
---> Package libuuid.i686 0:2.17.2-12.14.el6 will be installed
---> Package openmotif.i686 0:2.3.3-6.1.el6_4 will be installed
HighAvailability/filelists_db | 49 kB 00:00
LoadBalancer/filelists_db | 3.9 kB 00:00
ResilientStorage/filelists_db | 40 kB 00:00
ScalableFileSystem/filelists_db | 3.6 kB 00:00
Server/filelists_db | 3.3 MB 00:00
UEK3/filelists_db | 339 kB 00:00
ftp/filelists_db | 3.3 MB 00:00
--> Processing Dependency: libICE.so.6 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libpng12.so.0(PNG12_0) for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libSM.so.6 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libXp.so.6 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libjpeg.so.62 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libXft.so.2 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2) for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libXt.so.6 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libpng12.so.0 for package: openmotif-2.3.3-6.1.el6_4.i686
--> Processing Dependency: libXmu.so.6 for package: openmotif-2.3.3-6.1.el6_4.i686
---> Package openmotif22.i686 0:2.2.3-19.el6 will be installed
---> Package pam.i686 0:1.1.1-17.el6 will be installed
--> Processing Dependency: libcrack.so.2 for package: pam-1.1.1-17.el6.i686
--> Processing Dependency: libaudit.so.1 for package: pam-1.1.1-17.el6.i686
--> Processing Dependency: libselinux.so.1 for package: pam-1.1.1-17.el6.i686
--> Processing Dependency: libdb-4.7.so for package: pam-1.1.1-17.el6.i686
---> Package zlib.i686 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package audit-libs.i686 0:2.2-2.el6 will be installed
---> Package cracklib.i686 0:2.8.16-4.el6 will be installed
---> Package db4.i686 0:4.7.25-18.el6_4 will be installed
---> Package libICE.i686 0:1.0.6-1.el6 will be installed
---> Package libSM.i686 0:1.2.1-2.el6 will be installed
---> Package libX11.i686 0:1.5.0-4.el6 will be installed
--> Processing Dependency: libxcb.so.1 for package: libX11-1.5.0-4.el6.i686
---> Package libXext.i686 0:1.3.1-2.el6 will be installed
---> Package libXft.i686 0:2.3.1-2.el6 will be installed
--> Processing Dependency: libXrender.so.1 for package: libXft-2.3.1-2.el6.i686
--> Processing Dependency: libfreetype.so.6 for package: libXft-2.3.1-2.el6.i686
--> Processing Dependency: libfontconfig.so.1 for package: libXft-2.3.1-2.el6.i686
---> Package libXi.i686 0:1.6.1-3.el6 will be installed
---> Package libXmu.i686 0:1.1.1-2.el6 will be installed
---> Package libXp.i686 0:1.0.0-15.1.el6 will be installed
--> Processing Dependency: libXau.so.6 for package: libXp-1.0.0-15.1.el6.i686
---> Package libXt.i686 0:1.1.3-1.el6 will be installed
---> Package libgpg-error.i686 0:1.7-4.el6 will be installed
---> Package libjpeg-turbo.i686 0:1.2.1-1.el6 will be installed
---> Package libpng.i686 2:1.2.49-1.el6_2 will be installed
---> Package libselinux.i686 0:2.0.94-5.3.el6_4.1 will be installed
---> Package nss-softokn-freebl.i686 0:3.14.3-9.el6 will be installed
--> Running transaction check
---> Package fontconfig.i686 0:2.8.0-3.el6 will be installed
--> Processing Dependency: libexpat.so.1 for package: fontconfig-2.8.0-3.el6.i686
---> Package freetype.i686 0:2.3.11-14.el6_3.1 will be installed
---> Package libXau.i686 0:1.0.6-4.el6 will be installed
---> Package libXrender.i686 0:0.9.7-2.el6 will be installed
---> Package libxcb.i686 0:1.8.1-1.el6 will be installed
--> Running transaction check
---> Package expat.i686 0:2.0.1-11.el6_2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================
Installing:
tta x86_64 5.20-903 /tta-5.20-903.x86_64 757 M
Installing for dependencies:
audit-libs i686 2.2-2.el6 Server 60 k
bzip2-libs i686 1.0.5-7.el6_0 Server 36 k
cracklib i686 2.8.16-4.el6 Server 69 k
db4 i686 4.7.25-18.el6_4 Server 579 k
expat i686 2.0.1-11.el6_2 Server 78 k
fontconfig i686 2.8.0-3.el6 Server 186 k
freetype i686 2.3.11-14.el6_3.1 Server 363 k
glibc i686 2.12-1.132.el6 Server 4.3 M
keyutils-libs i686 1.4-4.el6 Server 19 k
libICE i686 1.0.6-1.el6 Server 52 k
libSM i686 1.2.1-2.el6 Server 36 k
libX11 i686 1.5.0-4.el6 Server 590 k
libXau i686 1.0.6-4.el6 Server 24 k
libXext i686 1.3.1-2.el6 Server 33 k
libXft i686 2.3.1-2.el6 Server 53 k
libXi i686 1.6.1-3.el6 Server 34 k
libXmu i686 1.1.1-2.el6 Server 65 k
libXp i686 1.0.0-15.1.el6 Server 22 k
libXrender i686 0.9.7-2.el6 Server 29 k
libXt i686 1.1.3-1.el6 Server 178 k
libXtst i686 1.2.1-2.el6 Server 28 k
libgcc i686 4.4.7-4.el6 Server 112 k
libgcrypt i686 1.4.5-11.el6_4 Server 228 k
libgpg-error i686 1.7-4.el6 Server 59 k
libjpeg-turbo i686 1.2.1-1.el6 Server 176 k
libpng i686 2:1.2.49-1.el6_2 Server 183 k
libselinux i686 2.0.94-5.3.el6_4.1 Server 107 k
libstdc++ i686 4.4.7-4.el6 Server 300 k
libuuid i686 2.17.2-12.14.el6 Server 68 k
libxcb i686 1.8.1-1.el6 Server 114 k
nss-softokn-freebl i686 3.14.3-9.el6 Server 146 k
openmotif i686 2.3.3-6.1.el6_4 Server 1.4 M
openmotif22 i686 2.2.3-19.el6 Server 1.2 M
pam i686 1.1.1-17.el6 Server 658 k
zlib i686 1.2.3-29.el6 Server 72 k
Transaction Summary
=============================================================================================================================
Install 36 Package(s)
Total size: 769 M
Total download size: 11 M
Installed size: 789 M
Is this ok [y/N]: y
Downloading Packages:
(1/35): audit-libs-2.2-2.el6.i686.rpm | 60 kB 00:00
(2/35): bzip2-libs-1.0.5-7.el6_0.i686.rpm | 36 kB 00:00
(3/35): cracklib-2.8.16-4.el6.i686.rpm | 69 kB 00:00
(4/35): db4-4.7.25-18.el6_4.i686.rpm | 579 kB 00:00
(5/35): expat-2.0.1-11.el6_2.i686.rpm | 78 kB 00:00
(6/35): fontconfig-2.8.0-3.el6.i686.rpm | 186 kB 00:00
(7/35): freetype-2.3.11-14.el6_3.1.i686.rpm | 363 kB 00:00
(8/35): glibc-2.12-1.132.el6.i686.rpm | 4.3 MB 00:00
(9/35): keyutils-libs-1.4-4.el6.i686.rpm | 19 kB 00:00
(10/35): libICE-1.0.6-1.el6.i686.rpm | 52 kB 00:00
(11/35): libSM-1.2.1-2.el6.i686.rpm | 36 kB 00:00
(12/35): libX11-1.5.0-4.el6.i686.rpm | 590 kB 00:00
(13/35): libXau-1.0.6-4.el6.i686.rpm | 24 kB 00:00
(14/35): libXext-1.3.1-2.el6.i686.rpm | 33 kB 00:00
(15/35): libXft-2.3.1-2.el6.i686.rpm | 53 kB 00:00
(16/35): libXi-1.6.1-3.el6.i686.rpm | 34 kB 00:00
(17/35): libXmu-1.1.1-2.el6.i686.rpm | 65 kB 00:00
(18/35): libXp-1.0.0-15.1.el6.i686.rpm | 22 kB 00:00
(19/35): libXrender-0.9.7-2.el6.i686.rpm | 29 kB 00:00
(20/35): libXt-1.1.3-1.el6.i686.rpm | 178 kB 00:00
(21/35): libXtst-1.2.1-2.el6.i686.rpm | 28 kB 00:00
(22/35): libgcc-4.4.7-4.el6.i686.rpm | 112 kB 00:00
(23/35): libgcrypt-1.4.5-11.el6_4.i686.rpm | 228 kB 00:00
(24/35): libgpg-error-1.7-4.el6.i686.rpm | 59 kB 00:00
(25/35): libjpeg-turbo-1.2.1-1.el6.i686.rpm | 176 kB 00:00
(26/35): libpng-1.2.49-1.el6_2.i686.rpm | 183 kB 00:00
(27/35): libselinux-2.0.94-5.3.el6_4.1.i686.rpm | 107 kB 00:00
(28/35): libstdc++-4.4.7-4.el6.i686.rpm | 300 kB 00:00
(29/35): libuuid-2.17.2-12.14.el6.i686.rpm | 68 kB 00:00
(30/35): libxcb-1.8.1-1.el6.i686.rpm | 114 kB 00:00
(31/35): nss-softokn-freebl-3.14.3-9.el6.i686.rpm | 146 kB 00:00
(32/35): openmotif-2.3.3-6.1.el6_4.i686.rpm | 1.4 MB 00:00
(33/35): openmotif22-2.2.3-19.el6.i686.rpm | 1.2 MB 00:00
(34/35): pam-1.1.1-17.el6.i686.rpm | 658 kB 00:00
(35/35): zlib-1.2.3-29.el6.i686.rpm | 72 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------
Total 13 MB/s | 11 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libgcc-4.4.7-4.el6.i686 1/36
Installing : nss-softokn-freebl-3.14.3-9.el6.i686 2/36
Installing : glibc-2.12-1.132.el6.i686 3/36
Installing : libICE-1.0.6-1.el6.i686 4/36
Installing : zlib-1.2.3-29.el6.i686 5/36
Installing : libXau-1.0.6-4.el6.i686 6/36
Installing : libuuid-2.17.2-12.14.el6.i686 7/36
Installing : libSM-1.2.1-2.el6.i686 8/36
Installing : freetype-2.3.11-14.el6_3.1.i686 9/36
Installing : libxcb-1.8.1-1.el6.i686 10/36
Installing : libX11-1.5.0-4.el6.i686 11/36
Installing : libXext-1.3.1-2.el6.i686 12/36
Installing : libXt-1.1.3-1.el6.i686 13/36
Installing : libXmu-1.1.1-2.el6.i686 14/36
Installing : libXp-1.0.0-15.1.el6.i686 15/36
Installing : openmotif22-2.2.3-19.el6.i686 16/36
Installing : libXi-1.6.1-3.el6.i686 17/36
Installing : libXtst-1.2.1-2.el6.i686 18/36
Installing : libXrender-0.9.7-2.el6.i686 19/36
Installing : 2:libpng-1.2.49-1.el6_2.i686 20/36
Installing : audit-libs-2.2-2.el6.i686 21/36
Installing : bzip2-libs-1.0.5-7.el6_0.i686 22/36
Installing : db4-4.7.25-18.el6_4.i686 23/36
Installing : libselinux-2.0.94-5.3.el6_4.1.i686 24/36
Installing : libgpg-error-1.7-4.el6.i686 25/36
Installing : libgcrypt-1.4.5-11.el6_4.i686 26/36
Installing : libstdc++-4.4.7-4.el6.i686 27/36
Installing : keyutils-libs-1.4-4.el6.i686 28/36
Installing : cracklib-2.8.16-4.el6.i686 29/36
Installing : pam-1.1.1-17.el6.i686 30/36
Installing : libjpeg-turbo-1.2.1-1.el6.i686 31/36
Installing : expat-2.0.1-11.el6_2.i686 32/36
Installing : fontconfig-2.8.0-3.el6.i686 33/36
Installing : libXft-2.3.1-2.el6.i686 34/36
Installing : openmotif-2.3.3-6.1.el6_4.i686 35/36
Installing : tta-5.20-903.x86_64 36/36
To complete the installation, please run /opt/tarantella/bin/tarantella start
Verifying : libxcb-1.8.1-1.el6.i686 1/36
Verifying : audit-libs-2.2-2.el6.i686 2/36
Verifying : fontconfig-2.8.0-3.el6.i686 3/36
Verifying : libXi-1.6.1-3.el6.i686 4/36
Verifying : libXrender-0.9.7-2.el6.i686 5/36
Verifying : libgcc-4.4.7-4.el6.i686 6/36
Verifying : pam-1.1.1-17.el6.i686 7/36
Verifying : bzip2-libs-1.0.5-7.el6_0.i686 8/36
Verifying : zlib-1.2.3-29.el6.i686 9/36
Verifying : libXp-1.0.0-15.1.el6.i686 10/36
Verifying : libXau-1.0.6-4.el6.i686 11/36
Verifying : glibc-2.12-1.132.el6.i686 12/36
Verifying : nss-softokn-freebl-3.14.3-9.el6.i686 13/36
Verifying : db4-4.7.25-18.el6_4.i686 14/36
Verifying : libselinux-2.0.94-5.3.el6_4.1.i686 15/36
Verifying : libgpg-error-1.7-4.el6.i686 16/36
Verifying : libXtst-1.2.1-2.el6.i686 17/36
Verifying : libstdc++-4.4.7-4.el6.i686 18/36
Verifying : libXft-2.3.1-2.el6.i686 19/36
Verifying : openmotif22-2.2.3-19.el6.i686 20/36
Verifying : libXt-1.1.3-1.el6.i686 21/36
Verifying : keyutils-libs-1.4-4.el6.i686 22/36
Verifying : libuuid-2.17.2-12.14.el6.i686 23/36
Verifying : freetype-2.3.11-14.el6_3.1.i686 24/36
Verifying : cracklib-2.8.16-4.el6.i686 25/36
Verifying : 2:libpng-1.2.49-1.el6_2.i686 26/36
Verifying : openmotif-2.3.3-6.1.el6_4.i686 27/36
Verifying : tta-5.20-903.x86_64 28/36
Verifying : libICE-1.0.6-1.el6.i686 29/36
Verifying : libX11-1.5.0-4.el6.i686 30/36
Verifying : libXext-1.3.1-2.el6.i686 31/36
Verifying : libgcrypt-1.4.5-11.el6_4.i686 32/36
Verifying : libjpeg-turbo-1.2.1-1.el6.i686 33/36
Verifying : expat-2.0.1-11.el6_2.i686 34/36
Verifying : libSM-1.2.1-2.el6.i686 35/36
Verifying : libXmu-1.1.1-2.el6.i686 36/36
Installed:
tta.x86_64 0:5.20-903
Dependency Installed:
audit-libs.i686 0:2.2-2.el6 bzip2-libs.i686 0:1.0.5-7.el6_0 cracklib.i686 0:2.8.16-4.el6
db4.i686 0:4.7.25-18.el6_4 expat.i686 0:2.0.1-11.el6_2 fontconfig.i686 0:2.8.0-3.el6
freetype.i686 0:2.3.11-14.el6_3.1 glibc.i686 0:2.12-1.132.el6 keyutils-libs.i686 0:1.4-4.el6
libICE.i686 0:1.0.6-1.el6 libSM.i686 0:1.2.1-2.el6 libX11.i686 0:1.5.0-4.el6
libXau.i686 0:1.0.6-4.el6 libXext.i686 0:1.3.1-2.el6 libXft.i686 0:2.3.1-2.el6
libXi.i686 0:1.6.1-3.el6 libXmu.i686 0:1.1.1-2.el6 libXp.i686 0:1.0.0-15.1.el6
libXrender.i686 0:0.9.7-2.el6 libXt.i686 0:1.1.3-1.el6 libXtst.i686 0:1.2.1-2.el6
libgcc.i686 0:4.4.7-4.el6 libgcrypt.i686 0:1.4.5-11.el6_4 libgpg-error.i686 0:1.7-4.el6
libjpeg-turbo.i686 0:1.2.1-1.el6 libpng.i686 2:1.2.49-1.el6_2 libselinux.i686 0:2.0.94-5.3.el6_4.1
libstdc++.i686 0:4.4.7-4.el6 libuuid.i686 0:2.17.2-12.14.el6 libxcb.i686 0:1.8.1-1.el6
nss-softokn-freebl.i686 0:3.14.3-9.el6 openmotif.i686 0:2.3.3-6.1.el6_4 openmotif22.i686 0:2.2.3-19.el6
pam.i686 0:1.1.1-17.el6 zlib.i686 0:1.2.3-29.el6
Complete!
[root@sgd sgd-install]#
启动SGD服务器,首次启动的时候初始化过程比较漫长,可能会持续5分钟左右,请耐心等待。
[root@sgd sgd-install]# /opt/tarantella/bin/tarantella start
--------------------------------------------------------------------------
Secure Global Desktop Software License Agreement
--------------------------------------------------------------------------
To use Secure Global Desktop you must agree to be bound by
the terms of the Software License Agreement.
Y - I have read, and accept the terms of the license agreement
N - I do not accept the terms of the license agreement
R - Let me read the license agreement
Accept terms of Software License Agreement? [R] Y
--------------------------------------------------------------------------
Setting up Oracle Secure Global Desktop
--------------------------------------------------------------------------
Secure Global Desktop Setup recommends you use the following settings:
Installation type = install 5.20.903
Install in secure mode? = yes
Certificate file name = *
Peer DNS name = sgd.example.com
HTTP port = 80 [not currently in use]
HTTPS port = 443 [not currently in use]
Archive logs every week? = yes (Sunday 03:00 hours)
Are these settings OK?
Y - Yes, install using these settings
N - No, tell me more about the options and let me change the settings
Q - Quit now
OK to use these settings? [Y] Y
--------------------------------------------------------------------------
Configuring your installation...
Running templates Setup script...OK
Running dbcreate Setup script...OK
Running extended_templates Setup script...OK
Running config Setup script...OK
Running printing Setup script...OK
Running sysadmin Setup script...OK
Running loadprobe_config Setup script...OK
Configuring and starting Secure Global Desktop web server...OK
Running wcp/configchanges Setup script...OK
Running tsp/resources Setup script...OK
Running 3270/resources Setup script...OK
Running 3270/configchanges Setup script...OK
Running 3270/purge Setup script...OK
Running 5250/resources Setup script...OK
Running 5250/configchanges Setup script...OK
--------------------------------------------------------------------------
What‘s next?
--------------------------------------------------------------------------
You have created a Secure Global Desktop CUPS printer. Ensure that CUPS
raw printing is enabled. Depending on your version of CUPS, you may have
to edit mime.convs and mime.types files. See CUPS documentation for details.
Secure Global Desktop is now installed and ready to use.
To get started:
- In a web browser, go to:
https://sgd.example.com/
- When prompted, log in with username "Administrator" and the password of
user "root".
- On your workspace, click the "Help" link to learn more about the product.
Enabling secure mode, please wait...
--------------------------------------------------------------------------
Successfully installed Oracle Secure Global Desktop
--------------------------------------------------------------------------
[root@sgd sgd-install]#
安装过程到此就完成了。
可以打开浏览器访问:https://sgd.example.com
。在登录时,可以使用root和root的密码,同时任何SGD服务器(Linux)上的用户账号和密码都可以登录SGD。
在登录的过程中,SGD会使用Java插件。如果本地环境中没有Java插件,或者无法(或者不想)安装Java软件,则需要手动安装SGD的客户端。
在Windows系统中,安装客户端很简单,只需要https://sgd.example.com
的页面上,找到* Install the Oracle Secure Global Desktop Client*这个链接,点击Windows对应的安装包下载安装即可。
在Linux系统中,情况比较复杂一些。
首先,本地客户端安装也需要按照上述步骤,下载与Linux系统对应的SGD客户端安装包。在本例中,SGD客户端安装包被下载到/root/Downloads/sgdci3li.tar
。
其次,在安装之前,如果是使用64bit的Linux系统的话,还需要安装一些32bit的兼容包,使用下面的命令安装:
[root@sgd ~]# yum install openmotif.i686 libXt.i686 libxkbfile.i686 libXpm.i686 libstdc++.i686 libXinerama.i686 libXcursor.i686 libXdmcp.i686 libXrandr.i386
Loaded plugins: security
HighAvailability | 3.7 kB 00:00
LoadBalancer | 3.7 kB 00:00
ResilientStorage | 3.7 kB 00:00
ScalableFileSystem | 3.7 kB 00:00
Server | 3.7 kB 00:00
UEK3 | 3.7 kB 00:00
ftp | 3.7 kB 00:00
Setting up Install Process
Package openmotif-2.3.3-6.1.el6_4.i686 already installed and latest version
Package libXt-1.1.3-1.el6.i686 already installed and latest version
Package libstdc++-4.4.7-4.el6.i686 already installed and latest version
No package libXrandr.i386 available.
Resolving Dependencies
--> Running transaction check
---> Package libXcursor.i686 0:1.1.13-6.20130524git8f677eaea.el6 will be installed
--> Processing Dependency: libXfixes.so.3 for package: libXcursor-1.1.13-6.20130524git8f677eaea.el6.i686
---> Package libXdmcp.i686 0:1.1.1-3.el6 will be installed
---> Package libXinerama.i686 0:1.1.2-2.el6 will be installed
---> Package libXpm.i686 0:3.5.10-2.el6 will be installed
---> Package libxkbfile.i686 0:1.0.6-1.1.el6 will be installed
--> Running transaction check
---> Package libXfixes.i686 0:5.0-3.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========
Package Arch Version Repository Size
========
Installing:
libXcursor i686 1.1.13-6.20130524git8f677eaea.el6 Server 28 k
libXdmcp i686 1.1.1-3.el6 Server 30 k
libXinerama i686 1.1.2-2.el6 Server 19 k
libXpm i686 3.5.10-2.el6 Server 50 k
libxkbfile i686 1.0.6-1.1.el6 Server 74 k
Installing for dependencies:
libXfixes i686 5.0-3.el6 Server 22 k
Transaction Summary
========
Install 6 Package(s)
Total download size: 222 k
Installed size: 427 k
Is this ok [y/N]: y
Downloading Packages:
(1/6): libXcursor-1.1.13-6.20130524git8f677eaea.el6.i686.rpm|28 kB 00:00
(2/6): libXdmcp-1.1.1-3.el6.i686.rpm |30 kB 00:00
(3/6): libXfixes-5.0-3.el6.i686.rpm |22 kB 00:00
(4/6): libXinerama-1.1.2-2.el6.i686.rpm |19 kB 00:00
(5/6): libXpm-3.5.10-2.el6.i686.rpm |50 kB 00:00
(6/6): libxkbfile-1.0.6-1.1.el6.i686.rpm |74 kB 00:00
-------
Total 2.7 MB/s |222 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libXfixes-5.0-3.el6.i686 1/6
Installing : libXcursor-1.1.13-6.20130524git8f677eaea.el6.i686 2/6
Installing : libXpm-3.5.10-2.el6.i686 3/6
Installing : libxkbfile-1.0.6-1.1.el6.i686 4/6
Installing : libXdmcp-1.1.1-3.el6.i686 5/6
Installing : libXinerama-1.1.2-2.el6.i686 6/6
Verifying : libXinerama-1.1.2-2.el6.i686 1/6
Verifying : libXfixes-5.0-3.el6.i686 2/6
Verifying : libXcursor-1.1.13-6.20130524git8f677eaea.el6.i686 3/6
Verifying : libXdmcp-1.1.1-3.el6.i686 4/6
Verifying : libxkbfile-1.0.6-1.1.el6.i686 5/6
Verifying : libXpm-3.5.10-2.el6.i686 6/6
Installed:
libXcursor.i686 0:1.1.13-6.20130524git8f677eaea.el6
libXdmcp.i686 0:1.1.1-3.el6
libXinerama.i686 0:1.1.2-2.el6
libXpm.i686 0:3.5.10-2.el6
libxkbfile.i686 0:1.0.6-1.1.el6
Dependency Installed:
libXfixes.i686 0:5.0-3.el6
Complete!
32bit的兼容包安装完成之后,解压SGD客户端文件,并开始安装:
[root@sgd ~]# cd Downloads/
[root@sgd Downloads]# ls
sgdci3li.tar
[root@sgd Downloads]# tar -xvf sgdci3li.tar
sgdc/
sgdc/locale/
sgdc/locale/de_DE.UTF-8
sgdc/locale/ko_KR.UTF-8
sgdc/locale/ja_JP.eucJP
sgdc/locale/de_AT.UTF-8
sgdc/locale/fr_FR.ISO8859-15
sgdc/locale/zh_TW.BIG5
sgdc/locale/it_IT
sgdc/locale/fr_FR.utf8
sgdc/locale/pt_BR/
sgdc/locale/pt_BR/LC_MESSAGES/
sgdc/locale/pt_BR/LC_MESSAGES/SGDC.mo
sgdc/locale/zh_CN.GBK
sgdc/locale/fr_BE.UTF-8
sgdc/locale/es/
sgdc/locale/es/LC_MESSAGES/
sgdc/locale/es/LC_MESSAGES/SGDC.mo
sgdc/locale/zh.UTF-8
sgdc/locale/fr_FR.ISO8859-1
sgdc/locale/ko.UTF-8
sgdc/locale/fr_CA.ISO8859-15
sgdc/locale/fr_CA.utf8
sgdc/locale/zh_CN/
sgdc/locale/zh_CN/LC_MESSAGES/
sgdc/locale/zh_CN/LC_MESSAGES/SGDC.mo
sgdc/locale/de_DE.utf8
sgdc/locale/de_DE
sgdc/locale/fr_CH.ISO8859-15
sgdc/locale/fr_BE.ISO8859-1
sgdc/locale/es.UTF-8
sgdc/locale/fr_CH
sgdc/locale/it_IT.UTF-8
sgdc/locale/ja_JP.utf8
sgdc/locale/es_ES.utf8
sgdc/locale/fr_CA
sgdc/locale/zh_CN.EUC
sgdc/locale/es_ES.UTF-8
sgdc/locale/ko_KR
sgdc/locale/ko_KR.eucKR
sgdc/locale/fr.UTF-8
sgdc/locale/zh
sgdc/locale/pt_BR.utf8
sgdc/locale/zh_CN.utf8
sgdc/locale/ko_KR.sjis
sgdc/locale/zh_TW.UTF-8
sgdc/locale/fr/
sgdc/locale/fr/LC_MESSAGES/
sgdc/locale/fr/LC_MESSAGES/SGDC.mo
sgdc/locale/ja_JP.sjis
sgdc/locale/zh_CN.GB18030
sgdc/locale/de_DE.ISO8859-1
sgdc/locale/ja_JP
sgdc/locale/zh_TW.utf8
sgdc/locale/fr_CH.ISO8859-1
sgdc/locale/pt_BR.UTF-8
sgdc/locale/ja_JP.UTF-8
sgdc/locale/it/
sgdc/locale/it/LC_MESSAGES/
sgdc/locale/it/LC_MESSAGES/SGDC.mo
sgdc/locale/zh_TW/
sgdc/locale/zh_TW/LC_MESSAGES/
sgdc/locale/zh_TW/LC_MESSAGES/SGDC.mo
sgdc/locale/es.utf8
sgdc/locale/fr_CH.UTF-8
sgdc/locale/ja_JP.EUC
sgdc/locale/zh_CN.UTF-8
sgdc/locale/fr_CA.ISO8859-1
sgdc/locale/de_CH
sgdc/locale/ja/
sgdc/locale/ja/LC_MESSAGES/
sgdc/locale/ja/LC_MESSAGES/SGDC.mo
sgdc/locale/ko_KR.EUC
sgdc/locale/de_CH.ISO8859-15
sgdc/locale/de/
sgdc/locale/de/LC_MESSAGES/
sgdc/locale/de/LC_MESSAGES/SGDC.mo
sgdc/locale/pt.UTF-8
sgdc/locale/zh.GB18030
sgdc/locale/fr_CA.UTF-8
sgdc/locale/de_AT.ISO8859-1
sgdc/locale/zh.EUC
sgdc/locale/fr_BE.ISO8859-15
sgdc/locale/it.utf8
sgdc/locale/de_CH.UTF-8
sgdc/locale/de_CH.ISO8859-1
sgdc/locale/ja_JP.PCK
sgdc/locale/ko_KR.utf8
sgdc/locale/de_DE.ISO8859-15
sgdc/locale/fr.utf8
sgdc/locale/de_AT.utf8
sgdc/locale/de_CH.utf8
sgdc/locale/ko_KR.PCK
sgdc/locale/es_ES
sgdc/locale/it_IT.utf8
sgdc/locale/it.UTF-8
sgdc/locale/zh.utf8
sgdc/locale/fr_CH.utf8
sgdc/locale/ko.utf8
sgdc/locale/ko/
sgdc/locale/ko/LC_MESSAGES/
sgdc/locale/ko/LC_MESSAGES/SGDC.mo
sgdc/locale/fr_BE.utf8
sgdc/locale/fr_FR
sgdc/locale/fr_FR.UTF-8
sgdc/locale/pt.utf8
sgdc/locale/pt
sgdc/locale/fr_BE
sgdc/locale/zh_TW.EUC
sgdc/locale/zh.GBK
sgdc/locale/de_AT
sgdc/ttatcc
sgdc/install
[root@sgd Downloads]# cd sgdc
[root@sgd sgdc]# ./install
--------------------------------------------------------------------------
Oracle Secure Global Desktop Client (5.20.903)
--------------------------------------------------------------------------
This program will install Oracle Secure Global Desktop Client.
Do you want to install system-wide (s), or just for the current user (u)?
(s|u) [s] : s
The default install location is: /opt/Oracle Secure Global Desktop
Is this acceptable? (y|n) [y] : y
Oracle Secure Global Desktop Client version 5.20.903 will be installed to /opt/Oracle Secure Global Desktop.
Install? (y|n) [y] : y
Successfully installed Oracle Secure Global Desktop Client.
The client binary is located at /opt/Oracle Secure Global Desktop/clients/i3li/5.20.903/ttatcc
[root@sgd sgdc]#
首先转到SGD客户端的安装目录,并启动SGD客户端:
[root@sgd ~]# cd /opt/Oracle\ Secure\ Global\ Desktop/clients/i3li/5.20.903/
[root@sgd 5.20.903]# ./ttatcc
在弹出窗口中的URL
处输入:
https://sgd.example.com/sgd
然后点击Connect
。
注意,最后的`/sgd`是必须的。
之后就会跳转到SGD登陆画面,输入用户名和密码后,就可以登陆到SGD工作区了。
原则上,在使用SGD发布应用程序时,不需要对应用程序服务器做任何修改的。但是有一些特殊需求,比如客户端驱动器映射,音频支持等,就需要在应用程序服务器上安装一个SGD的增强功能模块。
由于Windows平台的安装过程很简单,就不再赘述。这里详细说明一下Linux系统下的安装过程。
首先,增强功能模块可以在https://sgd.example.com
的页面上下载到,只需要找到Install an Oracle Secure Global Desktop Enhancement Module
链接,点击进去就可以下载Windows和Oracle Linux,Oracle Solaris系统的增强功能模块安装包了。
本例中使用的是Oracle Linux6作为应用程序服务器,所以下载Download the Secure Global Desktop Enhancement Module for Oracle Linux 6 Platforms
就可以。安装文件下载到/root/Downloads/tem-5.20-903.el6.i386.rpm
。
开始安装:
[root@sgd ~]# cd Downloads/
[root@sgd Downloads]# yum install --nogpgcheck tem-5.20-903.el6.i386.rpm
Loaded plugins: security
Setting up Install Process
Examining tem-5.20-903.el6.i386.rpm: tem-5.20-903.el6.i386
Marking tem-5.20-903.el6.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package tem.i386 0:5.20-903.el6 will be installed
--> Processing Dependency: pulseaudio-libs(x86-32) for package: tem-5.20-903.el6.i386
--> Running transaction check
---> Package pulseaudio-libs.i686 0:0.9.21-14.el6_3 will be installed
--> Processing Dependency: libsndfile.so.1(libsndfile.so.1.0) for package: pulseaudio-libs-0.9.21-14.el6_3.i686
--> Processing Dependency: libasyncns.so.0 for package: pulseaudio-libs-0.9.21-14.el6_3.i686
--> Processing Dependency: libwrap.so.0 for package: pulseaudio-libs-0.9.21-14.el6_3.i686
--> Processing Dependency: libdbus-1.so.3 for package: pulseaudio-libs-0.9.21-14.el6_3.i686
--> Processing Dependency: libsndfile.so.1 for package: pulseaudio-libs-0.9.21-14.el6_3.i686
--> Running transaction check
---> Package dbus-libs.i686 1:1.2.24-7.0.1.el6_3 will be installed
---> Package libasyncns.i686 0:0.8-1.1.el6 will be installed
---> Package libsndfile.i686 0:1.0.20-5.el6 will be installed
--> Processing Dependency: libasound.so.2(ALSA_0.9) for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libvorbisenc.so.2 for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libogg.so.0 for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libFLAC.so.8 for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4) for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libasound.so.2 for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libsqlite3.so.0 for package: libsndfile-1.0.20-5.el6.i686
--> Processing Dependency: libvorbis.so.0 for package: libsndfile-1.0.20-5.el6.i686
---> Package tcp_wrappers-libs.i686 0:7.6-57.el6 will be installed
--> Running transaction check
---> Package alsa-lib.i686 0:1.0.22-3.el6 will be installed
---> Package flac.i686 0:1.2.1-6.1.el6 will be installed
---> Package libogg.i686 2:1.1.4-2.1.el6 will be installed
---> Package libvorbis.i686 1:1.2.3-4.el6_2.1 will be installed
---> Package sqlite.i686 0:3.6.20-1.el6 will be installed
--> Processing Dependency: libreadline.so.6 for package: sqlite-3.6.20-1.el6.i686
--> Running transaction check
---> Package readline.i686 0:6.0-4.el6 will be installed
--> Processing Dependency: libtinfo.so.5 for package: readline-6.0-4.el6.i686
--> Running transaction check
---> Package ncurses-libs.i686 0:5.7-3.20090208.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================
Package Arch Version Repository Size
=======================================================================================
Installing:
tem i386 5.20-903.el6 /tem-5.20-903.el6.i386 14 M
Installing for dependencies:
alsa-lib i686 1.0.22-3.el6 Server 368 k
dbus-libs i686 1:1.2.24-7.0.1.el6_3 Server 128 k
flac i686 1.2.1-6.1.el6 Server 253 k
libasyncns i686 0.8-1.1.el6 Server 24 k
libogg i686 2:1.1.4-2.1.el6 Server 21 k
libsndfile i686 1.0.20-5.el6 Server 244 k
libvorbis i686 1:1.2.3-4.el6_2.1 Server 156 k
ncurses-libs i686 5.7-3.20090208.el6 Server 250 k
pulseaudio-libs i686 0.9.21-14.el6_3 Server 453 k
readline i686 6.0-4.el6 Server 176 k
sqlite i686 3.6.20-1.el6 Server 306 k
tcp_wrappers-libs i686 7.6-57.el6 Server 61 k
Transaction Summary
=======================================================================================
Install 13 Package(s)
Total size: 17 M
Total download size: 2.4 M
Installed size: 23 M
Is this ok [y/N]:
Is this ok [y/N]: y
Downloading Packages:
(1/12): alsa-lib-1.0.22-3.el6.i686.rpm | 368 kB 00:00
(2/12): dbus-libs-1.2.24-7.0.1.el6_3.i686.rpm | 128 kB 00:00
(3/12): flac-1.2.1-6.1.el6.i686.rpm | 253 kB 00:00
(4/12): libasyncns-0.8-1.1.el6.i686.rpm | 24 kB 00:00
(5/12): libogg-1.1.4-2.1.el6.i686.rpm | 21 kB 00:00
(6/12): libsndfile-1.0.20-5.el6.i686.rpm | 244 kB 00:00
(7/12): libvorbis-1.2.3-4.el6_2.1.i686.rpm | 156 kB 00:00
(8/12): ncurses-libs-5.7-3.20090208.el6.i686.rpm | 250 kB 00:00
(9/12): pulseaudio-libs-0.9.21-14.el6_3.i686.rpm | 453 kB 00:00
(10/12): readline-6.0-4.el6.i686.rpm | 176 kB 00:00
(11/12): sqlite-3.6.20-1.el6.i686.rpm | 306 kB 00:00
(12/12): tcp_wrappers-libs-7.6-57.el6.i686.rpm | 61 kB 00:00
---------------------------------------------------------------------------------------
Total 8.1 MB/s | 2.4 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 2:libogg-1.1.4-2.1.el6.i686 1/13
Installing : flac-1.2.1-6.1.el6.i686 2/13
Installing : 1:libvorbis-1.2.3-4.el6_2.1.i686 3/13
Installing : 1:dbus-libs-1.2.24-7.0.1.el6_3.i686 4/13
Installing : alsa-lib-1.0.22-3.el6.i686 5/13
Installing : ncurses-libs-5.7-3.20090208.el6.i686 6/13
Installing : readline-6.0-4.el6.i686 7/13
Installing : sqlite-3.6.20-1.el6.i686 8/13
Installing : libsndfile-1.0.20-5.el6.i686 9/13
Installing : libasyncns-0.8-1.1.el6.i686 10/13
Installing : tcp_wrappers-libs-7.6-57.el6.i686 11/13
Installing : pulseaudio-libs-0.9.21-14.el6_3.i686 12/13
Installing : tem-5.20-903.el6.i386 13/13
To complete the installation, please run /opt/tta_tem/bin/tem start
Verifying : sqlite-3.6.20-1.el6.i686 1/13
Verifying : tcp_wrappers-libs-7.6-57.el6.i686 2/13
Verifying : libasyncns-0.8-1.1.el6.i686 3/13
Verifying : tem-5.20-903.el6.i386 4/13
Verifying : flac-1.2.1-6.1.el6.i686 5/13
Verifying : ncurses-libs-5.7-3.20090208.el6.i686 6/13
Verifying : pulseaudio-libs-0.9.21-14.el6_3.i686 7/13
Verifying : alsa-lib-1.0.22-3.el6.i686 8/13
Verifying : readline-6.0-4.el6.i686 9/13
Verifying : 1:dbus-libs-1.2.24-7.0.1.el6_3.i686 10/13
Verifying : 1:libvorbis-1.2.3-4.el6_2.1.i686 11/13
Verifying : libsndfile-1.0.20-5.el6.i686 12/13
Verifying : 2:libogg-1.1.4-2.1.el6.i686 13/13
Installed:
tem.i386 0:5.20-903.el6
Dependency Installed:
alsa-lib.i686 0:1.0.22-3.el6 dbus-libs.i686 1:1.2.24-7.0.1.el6_3
flac.i686 0:1.2.1-6.1.el6 libasyncns.i686 0:0.8-1.1.el6
libogg.i686 2:1.1.4-2.1.el6 libsndfile.i686 0:1.0.20-5.el6
libvorbis.i686 1:1.2.3-4.el6_2.1 ncurses-libs.i686 0:5.7-3.20090208.el6
pulseaudio-libs.i686 0:0.9.21-14.el6_3 readline.i686 0:6.0-4.el6
sqlite.i686 0:3.6.20-1.el6 tcp_wrappers-libs.i686 0:7.6-57.el6
Complete!
[root@sgd Downloads]#
开启增强功能模块,本例中同时开启了音频支持:
[root@sgd Downloads]# /opt/tta_tem/bin/tem start
--------------------------------------------------------------------------
Setting up Oracle Secure Global Desktop Enhancement Module
--------------------------------------------------------------------------
Oracle Secure Global Desktop Enhancement Module Setup recommends you use the following settings:
Virtual memory (Mb) = 3275
Install PulseAudio integration? = no
Install OSS audio module? = no
Are these settings OK?
Y - Yes, install using these settings
N - No, tell me more about the options and let me change the settings
Q - Quit now
OK to use these settings? [Y] n
--------------------------------------------------------------------------
How much virtual memory (Mb) does this server have?
--------------------------------------------------------------------------
Virtual memory (Mb) [3275]
--------------------------------------------------------------------------
Install PulseAudio integration?
--------------------------------------------------------------------------
Do you want to install PulseAudio integration? [N] Y
--------------------------------------------------------------------------
Install OSS audio module?
--------------------------------------------------------------------------
Do you want to install the OSS audio module? [N] Y
--------------------------------------------------------------------------
Setting up Oracle Secure Global Desktop Enhancement Module
--------------------------------------------------------------------------
Virtual memory (Mb) = 3275
Install PulseAudio integration? = yes
Install OSS audio module? = yes
Are these settings OK?
Y - Yes, install using these settings
N - No, tell me more about the options and let me change the settings
Q - Quit now
OK to use these settings? [Y] y
Installing files for Oracle Secure Global Desktop Enhancement Module
/usr/bin/make -C /lib/modules/3.8.13-16.2.1.el6uek.x86_64/build SUBDIRS=/opt/tta_tem/audio/sgdadem/src modules
make[1]: Entering directory `/usr/src/kernels/3.8.13-16.2.1.el6uek.x86_64‘
CC [M] /opt/tta_tem/audio/sgdadem/src/sgdadem.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/tta_tem/audio/sgdadem/src/sgdadem.mod.o
CTF
LD [M] /opt/tta_tem/audio/sgdadem/src/sgdadem.ko
make[1]: Leaving directory `/usr/src/kernels/3.8.13-16.2.1.el6uek.x86_64‘
install -d /lib/modules/3.8.13-16.2.1.el6uek.x86_64/misc
install -c sgdadem.ko /lib/modules/3.8.13-16.2.1.el6uek.x86_64/misc
UNIX audio module installed successfully
Finished configuration of Oracle Secure Global Desktop Enhancement Module
Starting Tier3 LoadProbe
Starting the Oracle Secure Global Desktop Enhancement Module from /opt/tta_tem/bin...
Using properties from /opt/tta_tem/var/serverconfig/local.
Number of processors: 1.
Started OK. Process ID: 12124.
Successfully started SGD PulseAudio integration.
Starting OSS audio.
Successfully started OSS audio.
[root@sgd Downloads]#
可以使用下面的命令查看增强模块的运行状态:
[root@sgd Downloads]# /opt/tta_tem/bin/tem status
Tier3 LoadProbe:
- Installed
- Running
- Processes: 1
Client Drive Mapping:
- Installed
- Not running
PulseAudio integration:
- Installed
- Running
- Processes: 0
OSS Audio:
- Installed
- Running
- Processes: 0
[root@sgd Downloads]#
在安装完增强功能模块之后,就可以开启客户端驱动器映射功能了。
客户端驱动器映射,简称CDM(Client Drive Mapping),通过CDM可以把本地的磁盘动态的挂载到通过SGD打开的远程应用程序中,这样在使用远程应用程序时,就可以访问和操作本地文件了。虽然这并不安全,也不是推荐的做法,好也罢坏也罢,但是在现实生活中,这也是一种常见的需求。
举个例子,你的电脑上没有安装任何办公软件,但是你想使用SGD中的远程应用程序,比如Linux上的OpenOffice来在你的电脑上创建并编辑一个PPT文档,这个时候,就需要使用SGD的CDM功能了。
要使用CDM功能,需要对应用程序服务器做一些设置。对于Windows应用程序服务器来说,设置过程比较简单,不再赘述。本例中着重介绍了如何设置Linux应用程序服务器以启用CDM。
在Linux应用程序服务器中,CDM主要依赖于NFS共享来实现,所以首先需要在Linux应用程序服务器上创建NFS共享。
先安装NSF相关的库,可以看到本例的系统中已经安装了相关的库。
[root@sgd ~]# yum install nfs-utils nfs-utils-lib
Loaded plugins: security
Setting up Install Process
Package 1:nfs-utils-1.2.3-39.el6.x86_64 already installed and latest version
Package nfs-utils-lib-1.1.5-6.el6.x86_64 already installed and latest version
Nothing to do
[root@sgd ~]#
然后,需要创建一个空目录,作为NFS的挂载点。SGD中,默认的NFS挂载点为/smb
,所以现在手动创建这个目录。
[root@sgd ~]# mkdir /smb
编辑/etc/exports
文件,加入如下内容:
[root@sgd ~]# vim /etc/exports
/smb *(rw,sync,insecure)
解释一下上面的配置:
- /smb
:表示NFS共享的挂载点
- *
:表示任何主机都可以使用这个挂载点,当然也可以限制IP地址范围
- (rw,sync,insecure)
的意思是:
- `rw`:表示挂载后的目录是可以读写的
- `sync`:表示数据会同时写入到内存和磁盘中,这可能会慢一些,但是更可靠
- `insecure`:允许客户端从大于1024的TCP/IP端口连接服务器,之所以使用该选项是因为SGD会使用大于1024的端口连接服务器
现在,就可以启动NFS服务了:
[root@sgd ~]# service rpcbind start
[root@sgd ~]# chkconfig rpcbind on
[root@sgd ~]# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS mountd: [ OK ]
Starting NFS daemon: [ OK ]
Starting RPC idmapd: [ OK ]
[root@sgd ~]# chkconfig nfs on
[root@sgd ~]# service nfslock start
[root@sgd ~]# chkconfig nfslock on
[root@sgd ~]#
顺便提一嘴,重启NFS服务的话,使用下面的命令:
[root@sgd ~]# service nfslock stop
[root@sgd ~]# service nfs stop
[root@sgd ~]# service nfs start
[root@sgd ~]# service nfslock start
可以使用下面的命令来查看导出的NFS挂载点:
[root@sgd ~]# showmount -e
Export list for sgd.example.com:
/smb *
[root@sgd ~]#
[root@sgd ~]# /opt/tta_tem/bin/tem stopcdm
/smb is not mounted.
[root@sgd ~]# /opt/tta_tem/bin/tem startcdm
Starting the ttatdm daemon...
Using configuration file client.prf from /opt/tta_tem/etc.
Started OK. Process ID: 13052.
Successfully mounted /smb
再从查看一下SGD增强功能模块的运行状态,可以发现客户端驱动器映射(Client Drive Mapping)已经在运行了。
[root@sgd ~]# /opt/tta_tem/bin/tem status
Tier3 LoadProbe:
- Installed
- Running
- Processes: 1
Client Drive Mapping:
- Installed
- Running
- Processes: 1
PulseAudio integration:
- Installed
- Running
- Processes: 0
OSS Audio:
- Installed
- Running
- Processes: 0
[root@sgd ~]#
到这里,完成了在Linux应用程序服务器上的配置。
出于安全性的考虑,在默认情况下,SGD服务器是没有开启CDM支持的。接下来还需在SGD的管理控制台中开启CDM的支持。
进入到SGD的管理控制台中,选择Global Settings
,选择Client Device
;在Client Drive Mapping
部分,将下列几个选项全部勾选为Enabled
,点击Save
。
为了使CDM生效,还需要重启SGD服务器。在SGD服务器上做如下操作:
[root@sgd ~]# /opt/tarantella/bin/tarantella restart
WARNING: Users are connected to this Secure Global Desktop server.
Stopping the server will shut down any emulator sessions for these users.
This may result in loss of data.
Are you sure you want to continue? [no] yes
Stopping Tomcat servlet container...
Using CATALINA_BASE: /opt/tarantella/webserver/tomcat/7.0.57
Using CATALINA_HOME: /opt/tarantella/webserver/tomcat/7.0.57
Using CATALINA_TMPDIR: /opt/tarantella/webserver/tomcat/7.0.57/temp
Using JRE_HOME: /opt/tarantella/jdk/8.0_31
Using CLASSPATH: /opt/tarantella/webserver/tomcat/7.0.57/bin/bootstrap.jar:/opt/tarantella/webserver/tomcat/7.0.57/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/tarantella/webserver/tomcat/7.0.57/logs/catalina_pid
Killing Tomcat with the PID: 3624
The Tomcat process has been killed.
...OK
Stopping Apache web server...
...OK
Secure Global Desktop services have been stopped.
Starting Tomcat servlet container...
Using CATALINA_BASE: /opt/tarantella/webserver/tomcat/7.0.57
Using CATALINA_HOME: /opt/tarantella/webserver/tomcat/7.0.57
Using CATALINA_TMPDIR: /opt/tarantella/webserver/tomcat/7.0.57/temp
Using JRE_HOME: /opt/tarantella/jdk/8.0_31
Using CLASSPATH: /opt/tarantella/webserver/tomcat/7.0.57/bin/bootstrap.jar:/opt/tarantella/webserver/tomcat/7.0.57/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/tarantella/webserver/tomcat/7.0.57/logs/catalina_pid
Tomcat started.
...OK
Starting Apache web server in https mode...
...OK
Starting Secure Global Desktop server (version 5.20.903). Please wait...
Secure Global Desktop services are now available on this host.
[root@sgd ~]#
在Windows 7中打开浏览器,正常登陆到SGD工作区。打开gnome-edit,点击工具栏中的Open
按钮,在弹出的文件对话框中可以看到一个名为My SGD Drives
的目录。默认情况下,SGD会把Windows 7的所有磁盘都挂载到这个目录。
打开My SGD Drives
目录,可以看到所有Windows 7的本地磁盘:C(rw), D(rw)。这就是SGD所谓的客户端驱动器映射功能。
关闭文件对话框,并在Windows 7 中插入U盘(E),等几秒中之后,再次点击Open
按钮,在弹出的文件对话框中,选择My SGD Drives
,就可以看到U盘E已经被自动识别并挂载上。
这时,再次关闭文件对话框,并把U盘从Windows 7中弹出,等待几秒后,再次点击Open
按钮,在弹出的文件对话框中,选择My SGD Drives
,就可以看到U盘E已经被自动卸载掉。
这就是SGD所谓的动态客户端驱动器检测功能。
(完)
手把手教你搭建Oracle Secure Global Desktop演示环境
标签:
原文地址:http://my.oschina.net/xintq/blog/474025