安装向日葵
下载地址:https://sunlogin.oray.com/download

安装图形版
下载图形版本并上传CentOS
sunloginclient-11.0.0.36662.x86_64.rpm
执行安装
rpm -ivh sunloginclient-11.0.0.36662.x86_64.rpm
安装时会报个错,少了相关依赖,按报错信息安装即可
yum install -y libappindicator-gtk3
连接显示器启动程序进行账号绑定
# 到此目录寻找安装的向日葵,后缀是.desktop,记不清了
# 执行该命令来个同意即可,需配合显示器
[root@centos7 下载]# /usr/local/sunlogin/bin/XX.desktop
# 原本想不插显示器任然能通过远程访问桌面端,测试发现不得行,从而选择按命令行版
卸载
rpm -e sunloginclient
安装命令行版
下载命令行版本
wget https://dl-cdn.oray.com/sunlogin/linux/sunloginclientshell-10.1.1.28779.x86_64.rpm
安装
[root@centos7 下载]# rpm -ivh sunloginclientshell-10.1.1.28779.x86_64.rpm
准备中... ################################# [100%]
正在升级/安装...
1:sunloginclient-10.1.1.28779-1 ################################# [100%]
sunloginclient: no process found
sunloginclient_linux: no process found
check operate system OK
Created symlink from /etc/systemd/system/multi-user.target.wants/runsunloginclient.service to /etc/systemd/system/runsunloginclient.service.
[root@centos7 下载]#
启动程序
[root@centos7 下载]# /usr/local/sunlogin/bin/sunloginclient
登录绑定账号

F12进入菜单选项,选择Bind  设置账号及密码,使用Tab键切换,非官方文档说的↑↓键!!!!  win10安装向日葵客户端连接 
卸载
rpm -e sunloginclient
设置内网穿透
下载 wget https://down.oray.com/hsk/linux/phddns-5.1.0.amd64.rpm
安装
rpm -ivh phddns-5.1.0.amd64.rpm
安装后会得到一个SN与默认admin密码,登录花生壳主账号,在设备列表添加即可  创建映射  访问测试  卸载
yum remove phddns
其他命令
start(启动)
status(状态)
stop(停止)
restart(重启)
reset(重置)
enable(开机自启动)
disable(关闭开机自启动)
version(版本)
例如设置开机自启: phddns enable
|