2023年12月6日发(作者:)

CentOS7安装向日葵远程桌面软件(纯命令行安装)

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

1、下载安装包

wget /sunlogin/linux/

2、解压到当前目录

tar xvf sunlogin_remoteclient_

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

cd sunloginclient/

4、执行安装

./

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

Start sunlogin now(Y/n)y

Attempting to start sunlgin

-------------------------------

Installed

Please visit :30080 to configure remote client

-------------------------------

Sunlogin started.

Configure your sunlogin client now(Y/n)y

Input your Oray account:

188********(涉及隐私、不便展示)

Input your account password:

<

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/

Stop: /usr/local/sunlogin/

Uninstall: /usr/local/sunlogin/

-------------------------------

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 p

ackage 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 30080tcp 0 0 0.0.0.0:30080 0.0.0.0:* LISTEN 10953/sunloginclien