当前位置:网站首页>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
边栏推荐
- Less than 40 lines of code to create a blocprovider
- 深度解析当贝盒子B3、腾讯极光5S、小米盒子4S之间的区别
- Iframe usage and contentwindow, parent and PostMessage communication methods
- Thinkphp5 query report: sqlstate[hy093]: invalid parameter number
- KITTI Detection dataset whose format is letf_top_right_bottom to JDE normalied xc_yc_w_h
- JS how to judge when data contains integer and floating-point types. Floating-point decimals retain two digits after the decimal point
- 软件测试 - 基础篇
- BigInt:处理大数字(任意长度的整数)
- 数字信号处理——线性相位型(Ⅰ、Ⅲ型)FIR滤波器设计(1)
- 环形队列php
猜你喜欢
![[esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统](/img/4a/503240b332e3279047c438f1d9845e.png)
[esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统

Implementing mixins scheme in applet

Several methods added to the ES6 array (foreach, filter, some, every. Includes, reduce)

File remote synchronization and backup artifact Rsync
Adobe Acrobat阻止30款安全软件查看PDF文件 或存在安全风险
![Vivado 错误代码 [DRC PDCN-2721] 解决](/img/de/ce1a72f072254ae227fdcb307641a2.png)
Vivado 错误代码 [DRC PDCN-2721] 解决

简易数字电路交通灯设计

P5733 【深基6.例1】自动修正

初识-软件测试

【网络是怎么连接的】第二章(下):一个网络包的接收
随机推荐
LeetCode_栈_中等_150. 逆波兰表达式求值
[esp32-C3][RT-THREAD] 基于ESP32C3运行RT-THREAD bsp最小系统
Generate JDE dot train
NoSQL mongodb - 04 mongodb database and web service combination case
Redis learning - 06 drifting bottle case
Encapsulate request request of uni app
机组实践实验8——使用CMStudio设计基于基本模型机微程序指令(1)
详细讲解C语言10(C语言系列)
find及du -sh显示权限不够的解决方法
.NET MAUI 性能提升
7-2 大盗阿福
深入解析 MySQL binlog
详细实操分享,下班刷了两小时的搞笑视频,一个月收益7000多
班主任让开股票账户,在挖财理财开户安全吗?
Less than 40 lines of code to create a blocprovider
程序员必备,一款让你提高工作效率N倍的神器uTools
PHP calculates excel coordinate values, starting with subscript 0
Learning Processing Zoog
由错误<note: candidate expects 1 argument, 0 provided>引发的思考
710. random numbers in the blacklist