当前位置:网站首页>Guacamole installation
Guacamole installation
2022-06-26 13:00:00 【youyudexiaowangzi】
Environmental Science vmware+centos7
Not docker Environmental Science
Reference link
Installing Guacamole natively — Apache Guacamole Manual v1.4.0
One . Install dependency packages
Dependent packages such as... In the reference link Required dependencies, one by one yum install xxx that will do ,xxx Test used centos Corresponding devel package
The installation to ffmpeg When , Report errors :No package ffmpeg-devel available
New installation ffmpeg The way
su root
# RPM Fusion The repository depends on EPEL, Enable epel
yum install epel-release
# Through installation rpm Package enabled RPM Fusion
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
# When the repository is enabled , install FFmpeg
yum install ffmpeg ffmpeg-develTwo . Download and install guacamole-server and guacamole-client
The official website is as follows
Click on download You will see the historical version , download tar.gz Format of two installation packages
guacamole-server
# decompression
tar -xzf guacamole-server-1.4.0.tar.gz
cd guacamole-server-1.4.0/
# initialization , To configure
./configure --with-init-dir=/etc/init.d
# compile
make
# install
make installguacamole-client The installation of requires mvn So install it first mvn, install mvn Need to use jdk,centos Installed by default openjdk, So you need to uninstall openjdk, Then install jdk, It is said that there is mvn Of openjdk Configuration method , Too lazy to try . I will not study it for the time being
uninstall openjdk, install jdk
jdk8 The download page
# Find... In the system openjdk package
rpm -qa | grep openjdk
---------------------------------------------
java-1.8.0-openjdk-headless-1.8.0.262.b10-1.el7.x86_64
java-1.8.0-openjdk-1.8.0.262.b10-1.el7.x86_64
----------------------------------------------
# uninstall openjdk package
rpm -qa | grep openjdk |xargs rpm -e --nodeps
# verification , Re execution
rpm -qa | grep openjdk
No output
# install jdk
mkdir /usr/local/java
tar xf jdk-8u333-linux-x64.tar.gz -C /usr/local/java
# Configure environment variables
vim /etc/profile
export JAVA_HOME=/usr/local/java/jdk1.8.0_333
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bininstall mvn
# download mvn
wget https://archive.apache.org/dist/maven/maven-3/3.8.5/binaries/apache-maven-3.8.5-bin.tar.gz
# decompression
tar -xzf apache-maven-3.8.5-bin.tar.gz
# Put it in the system directory , Such as /usr/local/maven-3.8.5, Or some other directory
mv ./apache-maven-3.8.5 /usr/local/maven-3.8.5
# maven-3.8.5 Is a directory ,mvn In its bin Under the table of contents , Environment variables need to be configured
vim /etc/profile
Add the following
MAVEN_HOME=/usr/local/maven-3.8.5
export PATH=$PATH:$MAVEN_HOME/bin
###
# Pay attention to this export PATH, because maven and java It's all in /etc/profile Configured in , Finally, it can be exported at one time
# export PATH=$PATH:$MAVEN_HOME/bin:$JAVE_HOME/bin
###
# Enable environment variables
source /etc/profile
# test mvn
mvn -versioncompile guacamole-client
# decompression
tar -xzf guacamole-client-1.4.0.tar.gz
cd guacamole-client-1.4.0
# build
mvn packageIf installed nodejs Failure , If installed nodejs Failure , If installed nodejs Failure , In the virtual machine mvn Execution failure ,
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.11.3:install-node-and-npm (install-node-and-npm) on project guacamole: Could not download Node.js: Could not download https://nodejs.org/dist/v14.16.0/node-v14.16.0-linux-x64.tar.gz: Remote host terminated the handshake: SSL peer shut down incorrectly -> [Help 1]
Manually copy links in windows It can be downloaded from the host , The manual in centos The installation in is also successful , But again mvn package Will still fail in this place , Try again the next morning mvn package It was successful . I don't know why .
3、 ... and . Deploy guacamole
need tomcat. It is said that there is nginx Way of agency , I'll study it later
tomcat Official website
tar -xzf ./apache-tomcat-10.0.22.tar.gz
mv ./apache-tomcat-10.0.22 /usr/local/tomcat
# This is not necessary
# init.d Stored in the directory is the management of a series of system services ( Start and stop ) Script
ln /usr/local/tomcat/bin/catalina.sh /etc/init.d/tomcat
# This is not necessary
# To configure tomcat Boot up
vim /etc/rc.d/rc.local
Final addition
/usr/local/tomcat/bin/startup.sh
# To configure CATALINA_HOME
vim /etc/profile
add to
export CATALINA_HOME=/usr/local/tomcat
# start-up tomcat
/usr/local/tomcat/bin/startup.shCopy gucamole-client Of war file , here tomcat The installation position is /usr/local/tomcat. If tomcat Install other directories , Don't write wrong
cp guacamole/target/guacamole-1.4.0.war /usr/local/tomcat/webapps/restart tomcat
/etc/init.d/tomcat stop
/etc/init.d/tomcat start
###
# /etc/init.d/tomcat Is the original /usr/local/tomcat/bin/catalina.sh
###start-up guacd
/etc/init.d/guacd startThis is just the installation guacd,guacamole You also need to refer to
边栏推荐
- 单例的常用创建和使用方式
- 手把手带你学会Odoo OWL组件开发(7):OWL项目实战使用
- 不到40行代码手撸一个BlocProvider
- Mysql8 master-slave replication
- Generate JDE dot train
- KVM 显卡透传 —— 筑梦之路
- PHP generate order number
- Msvcr110 not found DLL, unable to continue code execution Solution for startup
- 别乱用 FULL_CASE 和 PARALLEL_CASE
- MySQL 自定义函数时:This function has none of DETERMINISTIC, NO SQL 解决方案
猜你喜欢

Photoshop 2022 23.4.1增加了哪些功能?有知道的吗

File remote synchronization and backup artifact Rsync
![[esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统](/img/4a/503240b332e3279047c438f1d9845e.png)
[esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统

NoSQL mongodb - 01 introduction to NoSQL and mongodb

软件测试测试常见分类有哪些?

计组实践实验9——使用CMStudio设计基于分段模型机微程序指令(2)

Installing MySQL under Linux (RPM package installation)

The laravel dingo API returns a custom error message

JS get the current screen height method and listen for DOM elements to enter the viewport

Mongodb of NoSQL - 03 mongodb CRUD
随机推荐
Processsing 鼠标交互 学习
无人机遥感在森林监测的部分应用研究案例总结
[esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统
guacamole安装
单例的常用创建和使用方式
【Spark】.scala文件在IDEA中几种图标的解释
NoSQL mongodb - 04 mongodb database and web service combination case
Vivado 错误代码 [DRC PDCN-2721] 解决
老司机总结的12条 SQL 优化方案(非常实用)
Several rare but useful JS techniques
心脏滴血漏洞(CVE-2014-0160)分析与防护
轻流完成与「DaoCloud Enterprise 云原生应用云平台」兼容性认证
记一次phpcms9.6.3漏洞利用getshell到内网域控
[BSidesCF 2019]Kookie 1
5+API,清除应用缓存
第十章 设置结构化日志记录(二)
Example of parameter passing from laravel query constructor to closure method
Fengshentai old shooting range Kali series
复制多个excel然后命名不同的名字
一个快速切换一个底层实现的思路分享