SimplerCloud Pte Ltd

×
×

LAMP Apache Preparation for Jet Workflow Application to Use the Data Disk

Back

For our Jet Workflow Special Cloud Plan, we provide Ubuntu 18.04.2 OS template with LAMP stack already pre-installed, so that you can just install the JET application without having to install the LAMP stack (Apache, PHP and MySQL) from scratch. By default, the JET application will be installed into /var/www, which is the default document root folder for Apache. Therefore, to ensure that the JET application utilises the data-disk, we need to set /var/www to be located on the data-disk before we install the JET application.

Please find below the steps on how to prepare your LAMP stack's Apache setup to use data-disk for JET Workflow application installation.

1. Login to your servelet as root via SSH.

2. Update the latest patches by issuing below command:

apt update
apt upgrade -y

3. Restart your servelet for the latest patches installation to take effect.

reboot

4. Once your servelet is up again after restart, re-login again to your servelet as root via SSH.

5. Issue below commands to move /var/www folder to the data-disk (mounted as /data by default), and create a symbolic link:

cd /var
mv www /data
ln -s /data/www www

Your servelet is now ready for JET Workflow application installation. You may refer to JET Documentation at below URL on how to install the application on your servelet:

https://jetworkflow.com/jet-documentation/#how-to-setup-jet-linux

Refer to section 11. How to setup JET (Linux)

Note: You may skip step "1. Install Lamp Server" outlined on the documentation since it's already pre-installed on your servelet.

Was this article helpful?
Dislike0 Like0
Views: 908
Related articles: