Warning, this page is marked to be deleted!
Unofficial Content

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


  • Mysql

    • if not installed run:

      • sudo apt-get install mysql-server mysql-client
    • Edit /etc/mysql/my.cnf :

      • Add this lines under mysqld:

        lower_case_table_names = 1
      • Comment:  bind-address           =
    • Add this line on /etc/apparmor.d/usr.sbin.mysqld :

      • /opt/tomcatgxcloud/temp/Gxcloud rw,
    • Create gxcloud user:
      •  grant all privileges on *.* to 'gxcloud'@'%' identified by 'clave-mysql' with grant option; (change clave-mysql  with a password)
    • Restart mysql server
      • service mysql restart
  • Apache2

    • (if not installed run:

      • sudo aptitude install apache2 apache2-mpm-worker apache2-utils
    • memcache run:
      •  sudo apt-get install memcached




chmod +x installgxcloud.sh
sudo service tomcatgxcloud start
sudo service tomcatproduction start
  • Apache

    • Edit : /etc/apache2/sites-available/000-default.conf

      • Add:

        Redirect / "http://www.genexus.com/genexus/genexus-cloud-platform?es/"
        # # Archivo de configuracion de las aplicacions java #  
        ProxyRequests Off  
        <Proxy *>  
        Order deny,allow  
        Allow from all  
        Include /opt/gxcloud/tomcat
    • Restart Apache :

      • sudo service apache2 restart



  • 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

  • 3532 to be accessed from Cloud Manager: IP

  • 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
Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant