Bitnami appliance deployment

Bitnami by VMware provides a rich catalog of turnkey virtual appliances. You can deploy any vSphere compatible appliance by Bitnami available in the VMware Marketplace, including many of the most common open-source software projects.

In this article, you'll learn how to install and configure the following virtual appliances packaged by Bitnami on your Azure VMware Solution private cloud:

  • LAMP

  • Jenkins

  • PostgreSQL

  • NGINX

  • RabbitMQ

Prerequisites

Step 1. Download the Bitnami virtual appliance OVA/OVF file

  1. Go to the VMware Marketplace and download the virtual appliance you want to install on your Azure VMware Solution private cloud:

  2. Select the version, select Download, and then accept the EULA license.

    Note

    Make sure the file is accessible from the virtual machine.

Step 2. Access the local vCenter Server of your private cloud

  1. Sign in to the Azure portal, select your private cloud, and then Manage > Identity.

  2. Copy the vCenter Server URL, username, and password. You'll use them to access your virtual machine (VM).

  3. Select Overview, select the VM, and then connect to it through RDP. If you need help with connecting, see connect to a virtual machine for details.

  4. In the VM, open a browser and navigate to the vCenter URL.

  5. Sign in with the cloudadmin@vsphere.local user credentials you copied earlier.

    Screenshot showing the VMware vSphere sign in page.

Step 3. Install the Bitnami OVA/OVF file in vCenter Server

  1. Right-click the cluster that you want to install the LAMP virtual appliance and select Deploy OVF Template.

  2. Select Local file and navigate to the OVF file you downloaded earlier. Then select Next.

  3. Select your data center and provide a name for your virtual appliance VM, for example, bitnami-lampstack. Then select Next.

  4. Select the ESXi host as the compute resource to run your VM and then select Next.

  5. Review the details and select Next.

  6. Accept the license agreement and select Next.

  7. Select the storage for your VM and select Next.

  8. Select the destination network for your VM and select Next.

  9. Provide the required information to customize the template, such as the VM and networking properties. Then select Next.

  10. Review the configuration settings and then select Finish.

  11. From the Task Console, verify that the status of the OVF template deployment has completed successfully.

  12. After the installation finishes, under Actions, select Power on to turn on the appliance.

  13. From the vCenter Server console, select Launch Web Console and sign in to the Bitnami virtual appliance. Check the Bitnami virtual appliance support documentation for the default username and password.

    Note

    You can change the default password to a more secure one. For more information, see ...

Step 4. Assign a static IP to the virtual appliance

In this step, you'll modify the bootproto and onboot parameters and assign a static IP address to the Bitnami virtual appliance.

  1. Search for the network configuration file.

    sudo find /etc -name \*ens160\*
    
  2. Edit the /etc/sysconfig/network-scripts/ifcfg-ens160 file and modify the boot parameters. Then add the static IP, netmask, and gateway addresses.

    • bootproto=static

    • onboot=yes

  3. View and confirm the changes to the ifcfg-ens160 file.

    cat ifcfg-ens160  
    
  4. Restart the networking service. This stops the networking services first and then applies the IP configuration.

    sudo systemctl restart network
    
  5. Ping the gateway IP address to verify the configuration and VM connectivity to the network.

  6. Confirm that the default route 0.0.0.0 is listed.

    sudo route -n
    

Step 5. Enable SSH access to the virtual appliance

In this step, you'll enable SSH on your virtual appliance for remote access control. The SSH service is disabled by default. You'll also use PuTTy to connect to the host console.

  1. Enable and start the SSH service.

    sudo rm /etc/ssh/sshd_not_to_be_run
    sudo systemctl enable sshd
    sudo systemctl start sshd
    
  2. Edit the /etc/ssh/sshd_config file to change the password authentication.

    PasswordAuthentication yes
    
  3. View and confirm the changes to the sshd_config file.

    sudo cat sshd_config
    
  4. Reload the changes made to the file.

    sudo /etc/init.d/ssh force-reload
    
  5. Open PuTTY, select the SSH option and provide the host name and *22 for the port. Then select Open.

  6. At the virtual appliance console prompt, enter the Bitnami username and password to connect to the host.