[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,为使设置生效,需要重启系统:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
[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已经禁用:
1 2 3 4 5 6 7 8 9 10 11 12 13
[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
安装SGD
创建临时文件夹/root/sgd-install,并将下载好的SGD安装包保存到该文件夹。
1 2 3 4 5 6 7 8 9
[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
[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
[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]#
[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
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客户端登陆(Linux系统)
首先转到SGD客户端的安装目录,并启动SGD客户端:
1 2
[root@sgd ~]# cd /opt/Oracle\ Secure\ Global\ Desktop/clients/i3li/5.20.903/ [root@sgd 5.20.903]# ./ttatcc
首先,增强功能模块可以在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
-------------------------------------------------------------------------- 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? --------------------------------------------------------------------------
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 ~]# 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 ~]#
[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服务的话,使用下面的命令:
1 2 3 4
[root@sgd ~]# service nfslock stop [root@sgd ~]# service nfs stop [root@sgd ~]# service nfs start [root@sgd ~]# service nfslock start
可以使用下面的命令来查看导出的NFS挂载点:
1 2 3 4
[root@sgd ~]# showmount -e Export list for sgd.example.com: /smb * [root@sgd ~]#
至此,NFS共享配置已经完成,可以启用CDM了。
1 2 3 4 5 6 7
[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
[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 ~]#