centos7 安装guacamole1.5.4

本文介绍了如何在CentOS7.6上安装Guacamole1.5.4版本,特别关注了因系统中aclocal-1.16版本过低导致的安装问题,提供了预处理步骤和解决权限不足的方法。
摘要由CSDN通过智能技术生成

gucamole最新版本已经更新到1.5.4,那centos7.6能不能安装呢,本人经过测试,发现这个版本是可以安装使用的,1.5.0之前测试是无法正常安装使用的,本次将安装过程记录一下。

guacamole1.5.4最新版本使用了 aclocal-1.16,centos默认版本是1.13,但是要升级aclocal-1.16比较困难,yum源没有提供centos7.6的aclocal-1.16版本rpm包

 line 81: aclocal-1.16: command not found
WARNING: 'aclocal-1.16' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>

解决办法参考:修复低版本 aclocal-1.16 报错问题 make 命令报错

echo "预处理automake问题"
cd ${keepaliveFolder}

aclocal

autoconf

automake --add-missing
echo "预处理automake问题 完成"

make安装过程中可能出现xx.pl权限不足的问题,直接用命令chomod +x xx.pl即可

  • 9
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Guacamole是一个开源的远程桌面网关,可以让你通过Web浏览器访问远程计算机的桌面环境。下面是在CentOS 7上安装Guacamole的步骤: 1. 更新系统: ``` sudo yum update ``` 2. 安装依赖: ``` sudo yum install epel-release sudo yum install wget sudo yum install 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 ``` 3. 安装Tomcat: ``` sudo yum install tomcat ``` 4. 下载Guacamole: ``` wget https://downloads.apache.org/guacamole/1.3.0/source/guacamole-server-1.3.0.tar.gz wget https://downloads.apache.org/guacamole/1.3.0/binary/guacamole-1.3.0.war wget https://downloads.apache.org/guacamole/1.3.0/binary/guacamole-auth-jdbc-1.3.0.tar.gz ``` 5. 解压并编译Guacamole Server: ``` tar -xzf guacamole-server-1.3.0.tar.gz cd guacamole-server-1.3.0 ./configure --with-init-dir=/etc/init.d make sudo make install sudo ldconfig ``` 6. 配置Guacamole Server: ``` sudo mkdir /etc/guacamole sudo mv guacamole-auth-jdbc-1.3.0.tar.gz /etc/guacamole/ cd /etc/guacamole sudo tar -xzf guacamole-auth-jdbc-1.3.0.tar.gz sudo mv guacamole-auth-jdbc-1.3.0/mysql/guacamole-auth-jdbc-mysql-1.3.0.jar /usr/share/tomcat/.guacamole/extensions/ ``` 7. 配置MySQL数据库: ``` sudo yum install mariadb-server sudo systemctl start mariadb sudo mysql_secure_installation sudo mysql -u root -p CREATE DATABASE guacamole_db; CREATE USER 'guacamole_user'@'localhost' IDENTIFIED BY 'your_password'; GRANT SELECT,INSERT,UPDATE,DELETE ON guacamole_db.* TO 'guacamole_user'@'localhost'; FLUSH PRIVILEGES; quit; ``` 8. 配置Guacamole的数据库连接: ``` sudo nano /etc/guacamole/guacamole.properties ``` 在文件中添加以下内容: ``` mysql-hostname: localhost mysql-port: 3306 mysql-database: guacamole_db mysql-username: guacamole_user mysql-password: your_password ``` 9. 部署Guacamole Web应用: ``` sudo mv guacamole-1.3.0.war /var/lib/tomcat/webapps/guacamole.war sudo systemctl restart tomcat ``` 10. 配置防火墙: ``` sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent sudo firewall-cmd --reload ``` 现在,你可以通过浏览器访问`http://your_server_ip:8080/guacamole`来使用Guacamole了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值