ubuntu安装guacamole1.5.1
时间: 2023-10-22 10:06:22 浏览: 118
好的,下面是安装guacamole1.5.1的步骤:
1. 安装依赖项
```
sudo apt-get update
sudo apt-get install -y libcairo2-dev libjpeg-turbo8-dev libpng-dev libossp-uuid-dev libavcodec-dev libavutil-dev libswscale-dev freerdp2-dev libpango1.0-dev libssh2-1-dev libtelnet-dev libvncserver-dev libpulse-dev libssl-dev libvorbis-dev libwebp-dev tomcat9 tomcat9-admin tomcat9-common tomcat9-user
```
2. 下载guacamole-server源码
```
wget https://downloads.apache.org/guacamole/1.5.1/source/guacamole-server-1.5.1.tar.gz
tar -xzf guacamole-server-1.5.1.tar.gz
cd guacamole-server-1.5.1
```
3. 编译并安装guacamole-server
```
./configure --with-init-dir=/etc/init.d
make
sudo make install
sudo ldconfig
```
4. 下载guacamole-client源码
```
wget https://downloads.apache.org/guacamole/1.5.1/source/guacamole-client-1.5.1.tar.gz
tar -xzf guacamole-client-1.5.1.tar.gz
```
5. 将guacamole.war文件复制到Tomcat的webapps目录下
```
sudo cp guacamole-client-1.5.1/guacamole/target/guacamole-1.5.1.war /var/lib/tomcat9/webapps/guacamole.war
```
6. 重启Tomcat
```
sudo systemctl restart tomcat9
```
7. 配置guacamole
在浏览器中访问`http://your_server_ip:8080/guacamole/`,使用默认的用户名和密码(guacadmin/guacadmin)登录。然后按照提示进行配置即可。
阅读全文