Apache Guacamole

Installation and configuration

sudo apt install --yes software-properties-common
sudo add-apt-repository ppa:guacamole/stable
sudo apt install --yes guacamole-tomcat

sudo systemctl enable guacd
sudo systemctl start guacd

sudo ln -s /var/lib/guacamole/guacamole.war /var/lib/tomcat8/webapps
sudo ln -s /etc/guacamole/guacamole.properties /usr/share/tomcat8/.guacamole

sudo /etc/init.d/tomcat8 restart
sudo /etc/init.d/guacd start

Run Apache

In Docker

docker run --detach --rm --publish 80:80 deanturpin/aws-apache FROMubuntu# Install dependenciesRUN apt updateRUN apt -y install apache2 vim# Install apache and write hello world messageRUN echo 'Kem chho!' > /var/www/html/index.html# Configure apacheRUN echo '. /etc/apache2/envvars' > /root/run_apache.shRUN echo 'mkdir -p /var/run/apache2' >> /root/run_apache.shRUN echo 'mkdir -p /var/lock/apache2' >> /root/run_apache.shRUN echo '/usr/sbin/apache2 -D FOREGROUND' >> /root/run_apache.shRUN chmod 755 /root/run_apache.shEXPOSE80CMD /root/run_apache. [Read More]