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://<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 

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

在这里插入图片描述

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

 

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值