一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 5945|回复: 1

超好用的VPS远程管理工具next-terminal安装详细教程

[复制链接]

121

主题

126

帖子

583

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
583
发表于 2021-1-15 16:12:31 | 显示全部楼层 |阅读模式
[backcolor=var(--color-bg-primary)]原生安装[color=var(--color-text-link)]安装 Apache Guacamole-Server[color=var(--color-text-link)]Centos 安装Apache Guacamole-Server依赖文件yum install -y gcc cairo-devel libjpeg-turbo-devel libpng-devel uuid-devel freerdp-devel pango-devel libssh2-devel libtelnet-devel libvncserver-devel pulseaudio-libs-devel openssl-devel libvorbis-devel libwebp-devel libwebsockets-devel libtool
[color=var(--color-text-link)]Ubuntu 安装Apache Guacamole-Server依赖文件sudo apt-get install libcairo2-dev libjpeg-turbo8-dev libpng12-dev libtool-bin libossp-uuid-dev freerdp2-dev libpango1.0-dev libssh2-1-dev         libtelnet-dev libvncserver-dev libwebsockets-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev
[color=var(--color-text-link)]Debian 安装Apache Guacamole-Server依赖文件sudo apt-get install libcairo2-dev libjpeg62-turbo-dev libpng-dev libtool-bin libossp-uuid-dev freerdp2-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libwebsockets-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev
安装依赖文件二
yum install gcc g++ gcc-c++yum install glibc-headers
如有疑问可参考guacamole官方安装文档
下载&解压&configure
wget https://mirror.bit.edu.cn/apache ... ver-1.2.0.tar.gztar -xzf guacamole-server-1.2.0.tar.gz[color=var(--color-prettylights-syntax-constant)]cd guacamole-server-1.2.0./configure --with-init-dir=/etc/init.d
如果安装的依赖文件没有缺失的话,会看到RDP SSH VNC 都是 yes
------------------------------------------------guacamole-server version 1.2.0------------------------------------------------   Library status:     freerdp2 ............ yes     pango ............... yes     libavcodec .......... no     libavformat.......... no     libavutil ........... no     libssh2 ............. yes     libssl .............. yes     libswscale .......... no     libtelnet ........... yes     libVNCServer ........ yes     libvorbis ........... yes     libpulse ............ yes     libwebsockets ....... no     libwebp ............. yes     wsock32 ............. no   Protocol support:      Kubernetes .... no      RDP ........... yes      SSH ........... yes      Telnet ........ yes      VNC ........... yes   Services / tools:      guacd ...... yes      guacenc .... no      guaclog .... yes   FreeRDP plugins: /usr/lib64/freerdp2   Init scripts: /etc/init.d   Systemd units: noType [color=var(--color-prettylights-syntax-string)]"make" to compile guacamole-server.
编译和安装
make [color=var(--color-prettylights-syntax-keyword)]&& make install [color=var(--color-prettylights-syntax-keyword)]&& ldconfig
配置guacamole-server
mkdir /etc/guacamole/ [color=var(--color-prettylights-syntax-keyword)]&& cat [color=var(--color-prettylights-syntax-string)]<<EOF >> /etc/guacamole/guacd.conf[color=var(--color-prettylights-syntax-string)][daemon][color=var(--color-prettylights-syntax-string)]pid_file = /var/run/guacd.pid[color=var(--color-prettylights-syntax-string)]log_level = info[color=var(--color-prettylights-syntax-string)][server][color=var(--color-prettylights-syntax-string)]bind_host = 0.0.0.0[color=var(--color-prettylights-syntax-string)]bind_port = 4822[color=var(--color-prettylights-syntax-string)]EOF
启动 guacamole-server
/etc/init.d/guacd start
[color=var(--color-text-link)]安装字体(SSH使用)
安装字体管理软件
yum install -y fontconfig mkfontscale
下载字体文件并移动到 /usr/share/fonts/目录下
[color=var(--color-prettylights-syntax-constant)]cd  /usr/share/fonts/wget https://raw.githubusercontent.co ... Menlo-Regular-1.ttf
更新字体
mkfontscalemkfontdirfc-cache
[color=var(--color-text-link)]安装 Next Terminal
建立next-terminal目录
mkdir [color=var(--color-prettylights-syntax-keyword)]~/next-terminal [color=var(--color-prettylights-syntax-keyword)]& [color=var(--color-prettylights-syntax-constant)]cd [color=var(--color-prettylights-syntax-keyword)]~/next-terminal
下载
wget https://github.com/dushixiang/ne ... 4/next-terminal.tgz
解压
tar -xvf next-terminal.tgz[color=var(--color-prettylights-syntax-constant)]cd next-terminal
修改配置文件config.yml
db: sqlite[color=var(--color-prettylights-syntax-comment)]# 当db为sqlite时mysql的配置无效[color=var(--color-prettylights-syntax-comment)]#mysql:[color=var(--color-prettylights-syntax-comment)]#  hostname: 172.16.101.32[color=var(--color-prettylights-syntax-comment)]#  port: 3306[color=var(--color-prettylights-syntax-comment)]#  username: root[color=var(--color-prettylights-syntax-comment)]#  password: mysql[color=var(--color-prettylights-syntax-comment)]#  database: next-terminal[color=var(--color-prettylights-syntax-comment)]# 当db为mysql时sqlite的配置无效sqlite:  file: [color=var(--color-prettylights-syntax-string)]'next-terminal.db'server:  addr: 0.0.0.0:8088
启动
./next-terminal






[color=var(--color-text-secondary) !important]
  • © 2021 GitHub, Inc.





回复

使用道具 举报

0

主题

20

帖子

54

积分

注册会员

Rank: 2

积分
54
发表于 2023-1-19 01:15:24 | 显示全部楼层
百家樂穩贏打法必須建立在玩家已經對百家樂了解的情況下才可以成功
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-4-24 13:47 , Processed in 0.078686 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表