首先,要保证CentOS7机器已经开启了图形化的界面!!!

1、下载安装包

wget http://download.oray.com/sunlogin/linux/SunloginClient9.6.1.tar.gz

2、解压到当前目录

tar xvf sunlogin_remoteclient_2.2.0.39537Beta.tar.gz

3、进入生成的sunloginclient/文件夹

cd sunloginclient/

4、执行安装

./install.sh

5、安装过程中输入3次y后,显示要输入向日葵的账号,密码要输入三次

Start sunlogin now(Y/n)y
Attempting to start sunlgin
-------------------------------
Installed
Please visit http://<this machine ip>:30080   to  configure remote client
-------------------------------
Sunlogin started.
Configure your sunlogin client now(Y/n)y
Input your Oray account:
188********(涉及隐私、不便展示)
Input your account password:
logining......
logined.
Configure your access password:
Configure your access password(input again):
Provide web interface(port 30080) for extra configuration?(Y/n)y
webshell is opened.
Your sunlogin has binded to account "188********", machine name "hadoop3".
Web configure port (30080) status: (on).
Successfully installed Sunlogin client ver 9.6
-------------------------------
Start:     /usr/local/sunlogin/start.sh
Stop:      /usr/local/sunlogin/stop.sh
Uninstall: /usr/local/sunlogin/uninstall.sh
-------------------------------
Configure(via shell):   /usr/local/sunlogin/bin/sunloginclient_linux --mod=shell
Configure(via browser): Please visit <this machine ip>:30080
-------------------------------
Safety note: Block 30080/tcp after configuration.
-------------------------------
Note:
Sunlogin remote desktop for linux needs lightdm to be installed, otherwise functions like SSH, RemoteFile will still work,if it don't work, you need install the package manually.
Step
1. apt-get install lightdm
2. click OK on the pop dialog, select lightdm as your default display manager
-------------------------------
Enjoy.

6、随后查看30080是否开放

netstat -lnpt |grep 30080
tcp        0      0 0.0.0.0:30080           0.0.0.0:*               LISTEN      10953/sunloginclien 

7、在浏览器输入http://ip:30080,可以根据识别码以及验证码登录该机器。同时,在向日葵客户端上也可以看见“我的主机”新添加了一台机器(前提是安装过程中输入了正确的账号和密码)

在这里插入图片描述

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐