C/C++教程

CentOS如何安装向日葵并调用

本文主要是介绍CentOS如何安装向日葵并调用,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

如何在CentOS下安装远程工具向日葵呢?马上为各位分解出来!
1、官网下载向日葵的rpm包
在这里插入图片描述
2、安装向日葵

root@shigj ~]# rpm -ivh sunloginclient-11.0.0.36662.x86_64.rpm 
error: Failed dependencies:
安装依赖包   webkitgtk3   libappindicator-gtk3
	webkitgtk3 is needed by sunloginclient-11.0.0.36662-1.x86_64
	libappindicator-gtk3 is needed by sunloginclient-11.0.0.36662-1.x86_64
[root@shigj ~]# rpm -ivh sunloginclient-11.0.0.36662.x86_64.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:sunloginclient-11.0.0.36662-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.

3、查看是否安装成功

[root@shigj ~]# systemctl status runsunloginclient.service
● runsunloginclient.service - check running sunloginclinet loop
   Loaded: loaded (/etc/systemd/system/runsunloginclient.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2021-11-14 22:46:57 CST; 1min 59s ago
 Main PID: 3336 (oray_rundaemon)
   CGroup: /system.slice/runsunloginclient.service
           ├─3336 /usr/local/sunlogin/bin/oray_rundaemon -m server
           └─3338 /usr/local/sunlogin/bin/sunloginclient -m service

Nov 14 22:46:57 shigj systemd[1]: Started check running sunloginclinet loop.
Nov 14 22:46:57 shigj oray_rundaemon[3336]: InitConfig @ 756

3、调用向日葵

/usr/local/sunlogin/bin/sunloginclient

在这里插入图片描述

这篇关于CentOS如何安装向日葵并调用的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!