The following is a list of requirements and steps required to Setup a GeneXus Cloud Unit in order to deploy Java/MYSQL Server apps using GeneXus Cloud Deployment Services
Commands for Ubuntu
Pre-requisties:
-
Mysql
-
Apache2
-
(if not installed run:
- memcache run:
Installation:
chmod +x installgxcloud.sh
./installgxcloud.sh
sudo service tomcatgxcloud start
sudo service tomcatproduction start
-
Run: visudo and add this lines:
-
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/createbackup.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/stopapp.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/startapp.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/createdb.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/restorebackup.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/reloadApache.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/updateUnit.sh
tomcatgxcloud ALL=(root) NOPASSWD:/opt/gxcloud/scripts/killConnDB.sh
Configure firewall opening Ports:
-
3306 to be accessed from Cloud Manager: IP 52.7.95.37
-
3532 to be accessed from Cloud Manager: IP 52.7.95.37
-
80 on the outbound rules, for the upload of backups to the AWS S3.
Information to send to GeneXus team:
- admin password from tomcatproduction
- Public URL of the instance (e.g.: http://myapps.company.com )
- Public IP
- DBMS instance name.
- DBMS User and Password created in step 2.
- GeneXus Accounts that are allowed to deploy