服務端:CentOS 6.0
所需包 :安裝按順序
64位http://www.nomachine.com/download-package.php?Prod_Id=3596
①nxclient-3.5.0-7.x86_64.rpm
②nxnode-3.5.0-7.x86_64.rpm
③nxserver-3.5.0-9.x86_64.rpm
用戶端:Windows 7
所需包:nxclient-3.5.0-7.exe
用NoMachine安裝Oracle出錯解決方案
NoMachine 安裝使用初級教程
遠端桌面 NoMachine 的快速安裝與使用
配置過程:
Server端:
1、安裝上述所寫三個包,注意順序
# vi /usr/NX/etc/server.cfg
取消如下注釋,並修改為
第102行 EnableAutokillSessions = "1" 指:允許自動斷開
第156行 EnableUnencryptedSession = "0" 指:加密傳輸
2、# vi /etc/ssh/sshd_config
最後添加:
AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
這是密鑰路徑
# /etc/init.d/sshd restart
3、添加串連使用者(最好是系統不存在的,如果之前已經存在可以不用添加,直接連)
# /usr/NX/bin/nxserver --useradd 使用者 --system
連續兩次輸入密碼
NX> 102 Password:
NX> 102 Confirm password:
NX> 900 Setting password for user: ecdata.
NX> 137 System password changed correctly.
NX> 304 User: ecdata added to the system.
NX> 801 User: ecdata uses SSHD authentication.
NX> 301 User: ecdata enabled in the NX user DB.
NX> 999 Bye.
# /usr/NX/bin/nxserver –restart重啟
# /usr/NX/bin/nxserver –help 查看更多協助
1、下載安裝後之後,檢查結果如下
[root@node1 softbak]# rpm -aq|grep nx
nxclient-3.5.0-7.x86_64
nxserver-3.5.0-11.x86_64
nxnode-3.5.0-9.x86_64
[root@node1 softbak]#
重啟NX server服務
[root@node1 softbak]# /usr/NX/bin/nxserver --restart
NX> 123 Service stopped.
NX> 153 Stopping NX server monitor.
NX> 153 NX server monitor already stopped.
NX> 900 Terminating session id: F9C15B5348402357365B72A6E372D1CA for user: oracle
NX> 900 Terminating session id: 27D0D1088B99788CAEB3CB97EDB40882 for user: grid
NX> 900 Still waiting for session id: F9C15B5348402357365B72A6E372D1CA for user: oracle to terminate.
NX> 900 Still waiting for session id: 27D0D1088B99788CAEB3CB97EDB40882 for user: grid to terminate.
NX> 900 Session id: F9C15B5348402357365B72A6E372D1CA terminated.
NX> 900 Session id: 27D0D1088B99788CAEB3CB97EDB40882 terminated.
NX> 122 Service started.
NX> 999 Bye.
2、檢查NX服務有沒有啟動正常
[root@node1 softbak]# /usr/NX/bin/nxserver --status
NX> 900 Connecting to server ...
NX> 110 NX Server is running.
NX> 999 Bye.
[root@node1 softbak]#