下一页 上一页 目录

4. 服务器端设置

您已经找到了所有需要的软件。现在让我们安装它们。

4.1 使用 AIX 二进制文件的 IBM Netstation。

在 aix 机器上制作 tarball 之前,请确保运行 /usr/netstation/bin/agree 以使内核成为可用格式。 可能您也需要对从 IBM 网站获得的 tarball 执行相同的操作。 因此,单独查找内核可能是另一种解决方案。 找到一个大约有 25Mb 空闲磁盘空间的驱动器,我使用 /usr/netstation/,并从 IBM 网站或 AIX 机器解压缩 tarbal。 如果您没有足够的磁盘空间,则无需使用磁盘上来自 /usr/netstation/doc 的大约 60Mb 空间。

4.2 不使用 AIX 二进制文件。

本节由 Ken Collins 贡献,仍需由我交叉检查。

一些读者在这里提供了帮助。 您需要做的是创建一个新文件,该文件将包含在您的 standard.nsm 中,或者修改该文件。

例如:

您可以创建一个名为 local.nsm 的文件,内容如下(10.1.89.33 是您的 Linux Box)

set exec-startup-commands = { {"login 10.1.89.33"} }
set xserver-access-control-enabled = false
set tcpip-name-server-protocol = dns
set tcpip-name-servers = {{ 10.1.89.33 } }
然后您添加
read local.nsm
到 standard.nsm。

另一种方法是将 /netstation/prodbase/configs/required.nsm 中的一行从 { actlogin } 更改为 { login } 以获得 xdm 选择器,或更改为 { login xx.xx.xx.xx } 以对您的 linux box 执行直接 xdm 查询。 还有第三种方法,但我们尚未获得确认。

{ actlogin -authserv xx.xx.xx.xx }

Philip Tait 写信告诉我们:“从使用 WinZIP classic 从 nsmsetup.exe 中提取的目录树中,将“Prodbase”下的整个树复制到 /netstation。 导出 /netstation,然后按照以下部分进行操作。

Bram Piket 写信提供了更好的版本。

下载 nsmsetup.exe 文件后,您应该运行此文件。 将会有一个探测器在此 win 系统下安装 NetworkStation。 这没有成功(在我的情况下?)。 不要单击最后一个错误窗口关闭。 然后会留下一个临时的 NetStation 目录:“Ixp000.tmp”。 将子目录复制到 linux-dir “/netstation”。 将“x11”重命名为“X11”,将“en_us”重命名为“EN_US”。 然后编辑文件“/netstation/prodbase/configs/required.nsm”以反映

set exec startup-commands=(
( mcuis )
( login vvv.xxx.yyy.zzz )
)
其中 vvv.xxx.yyy.zzz 是 LINUX 服务器地址。

4.3 Netvista Linux 版本

从 IBM 网页下载 NetVistaLTC.tar.gz 文件,解压文件并运行 rh_install.sh(我们在这里使用 RedHat 发行版)

(ftp://ftp.software.ibm.com/pc/pccbbs/network_station/netvistaltc.tar.gz)

Welcome to the IBM NetVista Thin Client RedHat Linux Installer


After the installation has finished, the install log files will be located 
in ./tmp.
If there are problems, please look at the following files.
        install.log     - messages from the IBM install
        rpm.log         - messages generated during install of the rpm's
        rpm.err         - errors from the rpm install (most of these can 
be ignored)
 
Please select Installation type:
  1. Local CDROM 
  2. NFS
Enter Selection: 1
Mount Point for CDROM [/mnt/cdrom] ? 

1) Caldera Open Linux  3) SuSe Linux          5) Other
2) RedHat Linux        4) TurboLinux
Which Linux distribution are you running on this server? 2
Client Installation Directory [/nstation/linux] ? /opt/NetVista 
Client Installation Directory does not exist. Create /opt/NetVista? y
Client Machine Specific Directory [/nstation/machines] ? /opt/NetVista/machines
Client Machine Specific Directory does not exist. Create /opt/NetVista/machines? y
Machine specific directories based on MAC address or IP address [ MAC ] (IP/MAC) ? 
 1) Thin clients authenticate to server (DEFAULT)
 2) No authentication to server
Select the mode you want for server booted clients? 2

Please insert the RedHat 6.2 CD

   Press <ENTER> To Continue 

Installation of Server Boot RedHat 6.2 Linux client for IBM NetVista thin 
clientCurrent selections: 
   Server IP address:  192.168.10.61
   Client boot directory:  /opt/NetVista
   Client SPECIFIC directory:  /opt/NetVista/Machines
   Client SPECIFIC directory type:  MAC

Do you wish to continue, restart, or exit installation? (c/r/e) c

When it completes with 100% install it will show you a screen like this

Create  /opt/NetVista/etc/fstab file
Modify /opt/NetVista/etc/inittab to call rc.sysinit.IBM_NS.sboot
Rename services not needed for IBM NetVista Thin Clients
Add new Common Files 
Add RedHat 6.2 Specific Files 
Link files to RAM disk
Backup var directory
Setup Xserver files - XF86_SVGA and XF86Config

Added /opt/NetVista to /etc/exports
Added /opt/NetVista/Machines to /etc/exports
Stripping binaries



Client Directory Setup complete

Installation is Complete

Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]

INSTALLATION IS COMPLETE !!!

IBM Network station 启动监视器的升级。

您可以从 http://service.boulder.ibm.com/dl/nc/priv/netsta-rd_linux 下载最新的 bflash 映像。 只需将设备指向从您下载的 bflash 映像启动,您的固件将自行升级!

4.4 Linux 部分

设置 nfs 服务器

编辑您的 /etc/exports,添加以下行

/usr/netstation   10.0.0.50(rw)
其中 10.0.0.50 是您要分配给 NC 的 IP 地址。 重新启动您的 nfs 守护程序。

[root@velvet sdog]# ps auxf |grep rpc
sdog      4145  0.0  5.8   828   384  p1 S   03:55   0:00          \_ grep rpc
root      3120  0.0  5.7   944   380  ?  S  Feb 27   0:00 rpc.mountd 
root      3129  0.0  1.5   880   100  ?  S  Feb 27   0:10 rpc.nfsd 
[root@velvet sdog]# kill -9 3120 3129 ; /usr/sbin/rpc.mountd ; /usr/sbin/rpc.nfsd

或者在 RedHat 类系统上更容易(5.X)

[root@velvet init.d]# pwd
/etc/rc.d/init.d
[root@velvet init.d]# ./nfs restart
Restarting NFS services: rpc.nfsd rpc.mountd done.
[root@velvet init.d]# 

您的 NC 现在应该能够通过 NFS 挂载 /usr/netsation。

基本上,如果您不需要 X-Windows,到此为止就可以了。 您可以轻松地从您的 NC 进行 telnet,而无需安装更多内容。 然而,这个东西的魅力在于它的 X 功能。

设置 X 服务器

接下来我们必须设置 X 服务器。 基本上我不需要设置任何东西,我所有运行 X-Windows 的机器都配置为接受连接。 我只是第一次启动 NC,它向我展示了所有运行 XDM 的机器(参见运行 X -indirect)。 因此,任何可以运行 xdm 的机器都可以用作 X 服务器。 只需确保 XDM 已启动。 因此,任何可以运行 xdm 的机器都可以用作 X 服务器。 只需确保 XDM 已启动。

4.5 设置自动客户端配置

这部分由 Josef Hill 贡献

我包含的是将 NS1000 与未在盒子上完成任何配置一起使用的行。(默认值...所有内容都留空)

inetd.conf

tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /QIBM

然后创建一个目录 /QIBM/ProdData/NetworkStation/

并将 winzip sfx nsmsetup.exe 中的 prodbase 目录的内容复制到该目录中,您可以从 http://techsupport.services.ibm.com/dl/nc/priv/netsta-rd_nsm 下载它(您可能需要创建一个帐户才能访问它...它是免费的,不需要任何真实信息。)请注意,此下载约为 90MB

此时,如果您已完成 3 个必需的步骤,您的 netstation 将启动。

注意:如果您设置了 xdm(特别是对于 xdmcp 会话),这可能会有很大帮助。

如果您使用这种方法,您显然可以跳过下一部分! ;-)

服务器端的一切现在都应该设置好了。 让我们试试 NC 端。


下一页 上一页 目录