-
Notifications
You must be signed in to change notification settings - Fork 38
Build Drupal Image
Follow this guide to build an OpenLiteSpeed Drupal image/template/snapshot.
Choose the Long Term Support version for the base image, e.g. Ubuntu 22.04.
Select a basic plan from the cloud platform.
- At least 700 MB of RAM
- At least 7GB of Disk space
You can use a single command to install Drupal easily. It is totally free and does not require any kind of license.
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/drupalsetup.sh )
This installation may take around 7~10 minutes to finish.
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Cloud-init/claunch.sh )
This step may clean up all SSH access methods, which means once you exit the server, you will not be able to SSH back
Launch script will do the following:
The Drupal site will auto-complete the setup when first time SSH to the console.
This is just a basic SSH console welcome message template. The banner will do the following:
-
Check the public IP address
-
Display how to get Drupal login access
-
Display how to get SQL access
This script provides the system auto-update function and domain setup assistant.
-
Regenerate SSL Certificate
-
Regenerate phpMyAdmin key
-
Regenerate SQL password
-
Clean up passwords
-
Clean up SSH keys
-
Clean up logs
Start building your image by SnapShot, Image, or Template, which are provided by cloud providers, and that's it. You can now launch any type of server from the snapshot you just built.
Run the following commands one by one to set up whole services and use them directly after the server reboot.
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Setup/drupalsetup.sh )
bash <( curl -sk https://raw.githubusercontent.com/litespeedtech/ls-cloud-image/master/Cloud-init/per-instance.sh )
reboot