allen@worker-005:/media/allen/CP/sunloginclient$ sudo su

[sudo] password for allen:

root@worker-005:/media/allen/CP/sunloginclient# ./install.sh

Sunlogin client for linux installer by oray.com

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

Install sunlogin client to your system?(Y/n)y

Checking system dependencies....

OK.

check operate system OK

copy oray_rundaemon             to /usr/local/sunlogin/bin

copy sunloginclient_linux         to /usr/local/sunlogin/bin

copy ethtool                 to /usr/local/sunlogin/bin

copy accpet.sh                 to /usr/local/sunlogin/bin

copy watch.sh                 to /usr/local/sunlogin/etc

copy start.sh                 to /usr/local/sunlogin

copy common.sh                 to /usr/local/sunlogin

copy stop.sh                 to /usr/local/sunlogin

copy uninstall.sh             to /usr/local/sunlogin

Created symlink from /etc/systemd/system/default.target.wants/runsunloginclient.service to /etc/systemd/system/runsunloginclient.service.

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:

15889349142

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 "15889349142", machine name "worker-005".

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.

root@worker-005:/media/allen/CP/sunloginclient# apt-get install lightdm

Reading package lists... Done

Building dependency tree

Reading state information... Done

lightdm is already the newest version (1.18.3-0ubuntu1.1).

The following packages were automatically installed and are no longer required:

linux-headers-4.15.0-29 linux-headers-4.15.0-29-generic

linux-headers-4.15.0-36 linux-headers-4.15.0-36-generic

linux-headers-4.15.0-39 linux-headers-4.15.0-39-generic

linux-image-4.15.0-29-generic linux-image-4.15.0-36-generic

linux-image-4.15.0-39-generic linux-modules-4.15.0-29-generic

linux-modules-4.15.0-36-generic linux-modules-4.15.0-39-generic

linux-modules-extra-4.15.0-29-generic linux-modules-extra-4.15.0-36-generic

linux-modules-extra-4.15.0-39-generic

Use 'sudo apt autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.

root@worker-005:/media/allen/CP/sunloginclient#

Logo

更多推荐