超好用的VPS远程管理工具next-terminal安装详细教程
原生安装安装 Apache Guacamole-ServerCentos 安装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 libtoolUbuntu 安装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
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官方安装文档下载&解压&configurewget https://mirror.bit.edu.cn/apache/guacamole/1.2.0/source/guacamole-server-1.2.0.tar.gztar -xzf guacamole-server-1.2.0.tar.gzcd 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 "make" to compile guacamole-server.
编译和安装make && make install && ldconfig
配置guacamole-servermkdir /etc/guacamole/ && cat <<EOF >> /etc/guacamole/guacd.confpid_file = /var/run/guacd.pidlog_level = infobind_host = 0.0.0.0bind_port = 4822EOF
启动 guacamole-server/etc/init.d/guacd start
安装字体(SSH使用)安装字体管理软件yum install -y fontconfig mkfontscale
下载字体文件并移动到 /usr/share/fonts/目录下cd/usr/share/fonts/wget https://raw.githubusercontent.com/dushixiang/next-terminal/master/web/src/fonts/Menlo-Regular-1.ttf
更新字体mkfontscalemkfontdirfc-cache
安装 Next Terminal建立next-terminal目录mkdir ~/next-terminal & cd ~/next-terminal
下载wget https://github.com/dushixiang/next-terminal/releases/download/v0.0.4/next-terminal.tgz
解压tar -xvf next-terminal.tgzcd next-terminal
修改配置文件config.ymldb: sqlite# 当db为sqlite时mysql的配置无效#mysql:#hostname: 172.16.101.32#port: 3306#username: root#password: mysql#database: next-terminal# 当db为mysql时sqlite的配置无效sqlite:file: 'next-terminal.db'server:addr: 0.0.0.0:8088
启动./next-terminal
[*]© 2021 GitHub, Inc.
页:
[1]