linux centos安装远程软件向日葵

首先,要保证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://: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 :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 

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

linux centos安装远程软件向日葵_第1张图片

如果访问http://ip:30080无法打开界面,则有可能是30080端口没有打开,通过命令: firewall-cmd --zone=public --list-ports  查看30080是否已经打开,如果没打开,则通过命令:firewall-cmd --zone=public --add-port=30080/tcp --permanent  打开30080端口对外访问,再通过命令: firewall-cmd --reload  重启防火墙让配置生效。

 

你可能感兴趣的:(java,linux,centos,服务器)