mirror of
https://github.com/MysticRyuujin/guac-install.git
synced 2023-10-10 13:36:56 +02:00
Fixing Revert (Wrong Line Numbers)
This commit is contained in:
parent
f5bebc8e9d
commit
37e2481c7f
@ -141,8 +141,6 @@ ln -s /etc/guacamole/guacamole.war /var/lib/${TOMCAT}/webapps/
|
||||
ln -s /usr/local/lib/freerdp/guac*.so /usr/lib/${BUILD_FOLDER}/freerdp/
|
||||
cp mysql-connector-java-${MCJVERSION}/mysql-connector-java-${MCJVERSION}-bin.jar /etc/guacamole/lib/
|
||||
cp guacamole-auth-jdbc-${VERSION}-incubating/mysql/guacamole-auth-jdbc-mysql-${VERSION}-incubating.jar /etc/guacamole/extensions/
|
||||
rm -rf /usr/share/${TOMCAT}/.guacamole
|
||||
ln -s /etc/guacamole /usr/share/${TOMCAT}/.guacamole
|
||||
|
||||
# Configure guacamole.properties
|
||||
echo "mysql-hostname: localhost" >> /etc/guacamole/guacamole.properties
|
||||
@ -150,6 +148,8 @@ echo "mysql-port: 3306" >> /etc/guacamole/guacamole.properties
|
||||
echo "mysql-database: guacamole_db" >> /etc/guacamole/guacamole.properties
|
||||
echo "mysql-username: guacamole_user" >> /etc/guacamole/guacamole.properties
|
||||
echo "mysql-password: $guacdbuserpassword" >> /etc/guacamole/guacamole.properties
|
||||
rm -rf /usr/share/${TOMCAT}/.guacamole
|
||||
ln -s /etc/guacamole /usr/share/${TOMCAT}/.guacamole
|
||||
|
||||
# restart tomcat
|
||||
service ${TOMCAT} restart
|
||||
|
Loading…
Reference in New Issue
Block a user