1 Introduction
Note that the following IP addresses all are internal IP addresses, which means that they can only be accessible within the internal network!
2 Rstudio server address
http://172.16.50.95:8787
.
3 Notes for deploying Galaxy with Ansible
Galaxy server address: http://172.16.50.95
.
References:
Cautions:
Before deploying Galaxy with Ansible in your server, make sure
2to3
is installed in your server. In Ubuntu, you can runsudo apt install -y 2to3
.Generally, after Galaxy has been deployed, it will be managed as a set of
systemd
services. But due to some unknown reason, Galaxy’ssystemd
services are not added automatically, you can add it by runningsudo galaxyctl update
yourself, and then reboot if needed.In production environment, Galaxy uses NGINX as its reverse proxy server, which is also managed by the
systemd
service. However, sometimes, if the NGINX server is started before the Galaxy server, the NGINX server will fail to start. In this case, you can try to setRestart=always
andRestartSec=120
in your NGINX server, this can make sure that the NGINX service will always try to restart after 120 seconds when the previous NGINX service failed to start. In principle, once the Galaxy service has been started, the NGINX can restart successfully after a few times of restarting attempts. Of course, you can restart the NGINX service yourself by runningsudo systemctl restart nginx
.