SkillAgentSearch skills...

Vstacklet

vStacklet is a kit to quickly install a LEMP Stack w/ Varnish and perform basic configurations of new Ubuntu 20.04/22.04 and Debian 11/12 servers.

Install / Use

/learn @JMSDOnline/Vstacklet
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

vStacklet - A Buff LEMP Stack Kit


<div align="center">

| vStacklet - A Buff LEMP Stack Kit | | ----------------------------------------------------------------------------------------------------------------------------------- | | vStacklet - A Buff LEMP Stack Kit |

Script status

Version: v3.1.1.897 Build: 897

MIT License

Supported OS/Distro

| Ubuntu | Ubuntu 16.04 EOL | Ubuntu 18.04 EOL | Ubuntu 20.04 Passing | Ubuntu 22.04 Passing | |--------------|--|--|--|--| | Debian | Debian 9 EOL | Debian 10 EOL | Debian 11 Passing | Debian 12 Passing |

</div>
<!-- TABLE OF CONTENTS --> <details open="open"> <summary>Table of Contents</summary> <ol> <li><a href="#what-is-vstacklet-back-to-top">What is vStacklet?</a></li> <li><a href="#script-features-back-to-top">Script Features</a></li> <li><a href="#meet-the-scripts-back-to-top">Meet the Scripts</a> <ul> <li><a href="#vstacklet---full-kit-installs-and-configures-lemp-stack-with-support-for-website-based-server-environments-back-to-top">vStacklet</a> - (Full Kit) Installs and configures LEMP stack with support for Website-based server environments</li> <li><a href="#vs-backup---installs-a-single-script-to-help-manage-and-automate-serversite-backups-back-to-top">VS-Backup</a> - Installs a single script to help manage and automate server/site backups</li> <li><a href="#vs-perms---installs-a-single-script-to-help-manage-and-automate-www-directory-permissions-back-to-top">VS-Perms</a> - Installs a single script to help manage and automate www directory permissions</li> </ul> </li> <li><a href="#getting-started-back-to-top">Getting Started</a> <ul> <li><a href="#prerequisites-back-to-top">Prerequisites</a></li> <li><a href="#installation-back-to-top">Installation</a></li> <li><a href="#example-back-to-top">Example</a></li> <li><a href="#verifications-back-to-top">Verifications</a></li> <li><a href="#additional-options--usage-back-to-top">Additional Options & Usage</a></li> </ul> </li> <li><a href="#standalone-scripts-back-to-top">Standalone Scripts</a> <ul> <li><a href="#vstacklet-vs-backup---installs-needed-script-for-running-directory-and-database-backups-included-in-full-kit-also-back-to-top">VS-Backup</a></li> <li><a href="#vstacklet-vs-perms---installs-needed-files-for-running-www-permissions-fix-included-in-full-kit-also-back-to-top">VS-Perms</a></li> </ul> </li> <li><a href="#faq-back-to-top">F.A.Q.</a></li> <li><a href="#the-to-do-list-back-to-top">The TO-DO List</a></li> <li><a href="#additional-notes-and-honorable-mentions-back-to-top">Additional Notes and honorable mentions</a></li> <li><a href="#contributing-back-to-top">Contributing</a></li> </ol> </details>

[!WARNING]

vStacklet for Ubuntu 16.04/18.04 and Debian 8/9/10 has been deprecated (Reached End-Of-Life). This is due to Ubuntu 20.04/22.04 and Debian 11/12 now becoming more common place with at least 90% of the providers on the market. To ease the cost of maintaining the script, only the latest versions (LTS) of Ubuntu and Debian are supported. This is to ensure that the script is as up-to-date as possible.

vStacklet is a utility for quickly getting a server with wordpress installed deployed. As is the nature of this script, it is not intended to be a modular script. It is intended to be a full kit that installs everything you need to get a server up and running (not individual components 1 at a time - though it is in the pipeline). If you are looking for a modular script, I recommend Quick LEMP as it is the script that inspired vStacklet. Do note that Quick LEMP is not actively maintained and I wouldn't recommend using it for production use.

What is vStacklet? <sup><sub>(Back to top)</sub></sup>

vStacklet is a kit to quickly install a LEMP Stack w/ Varnish and perform basic configurations of new Ubuntu 20.04/22.04 and Debian 11/12 servers.

Components include a recent mainline version of Nginx (mainline (1.25.x)) using configurations from the HTML 5 Boilerplate team (and modified/customized for use with mainline), Varnish 7.4.x, and MariaDB 10.11.x (drop-in replacement for MySQL), PHP8.3, PHP8.1, PHP7.4 or HHVM 4.x new (users choice), Sendmail (PHP mail function), CSF (Config Server Firewall), Wordpress and more to be added soon. (see To-Do List)

Deploys a proper directory structure, optimizes Nginx and Varnish, creates a PHP page for testing and more!


Script Features <sup><sub>(Back to top)</sub></sup>

  • Easy to use - just run the script with your needed arguments and follow the prompts.
  • Fast and lightweight install - no bloatware, just the essentials.
  • Thouroughly documented - each script has it's own documentation for easy reference. The code is also heavily commented, making it easier to understand what's going on.
  • Quiet installer - no more long scrolling text vomit, just see what's important; when it's presented.
  • Script writes output to /var/log/vstacklet/vstacklet.###.log for additional observations.
  • Color Coding for emphasis on install processes.
  • Easy optional parameters make it a set it and forget it script.
  • Varnish Cache on port 80 with Nginx port 8080 SSL termination on 443.
  • Users choice of php8.3, php8.1, php7.4 or HHVM
  • No Apache - Full throttle!
  • Full Kit functionality - backup scripts included.
  • Dynamic rollback built-in should the install fail. All dependencies and directories placed by vStacklet are removed on the rollback.
  • Actively maintained w/ updates added when stable.
  • HTTP/2 Nginx ready. To view if your webserver is HTTP/2 after installing the script with SSL, check @ <a href="https://tools.keycdn.com/http2-test" target="_blank">HTTP/2 Test via KeyCDN</a>
  • Everything you need to get that Nginx + Varnish server up and running!

Total script install time on a General Shared CPU <a href="https://m.do.co/c/917d3ff0e1c8" target="_blank">Digital Ocean Droplet</a> sits at 12/minutes installing everything; CSF, MariaDB, NGinx, PHP8.3, Sendmail, SSL, Varnish, WordPress. This time assumes you are sitting attentively with the script running. There are a limited interactions to be made with the script and most of the softwares installed I have automated and logged. The most is the script will ask to continue. With the exception of Wordpress, the script will ask for database, database username, and database password (the database and user are to be created for the Wordpress install).


Meet the Scripts <sup><sub>(Back to top)</sub></sup>

vStacklet - (Full Kit) Installs and configures LEMP stack with support for Website-based server environments <sup><sub>(Back to top)</sub></sup>

  • Adds repositories for the latest stable versions of MariaDB (10.11.x), mainline (1.25.x) versions of Nginx, and Varnish 7.4.x.
  • Installs choice of PHP8.3, PHP8.1, PHP7.4 or HHVM 4.x
  • Installs NGinx and/or Varnish.
  • Installs and enables OPCode Cache and fine-tuning for PHP7.4, PHP8.1 or PHP8.3.
  • Installs and enables Memcached Cache and fine-tuning for PHP7.4, PHP8.1 or PHP8.3.
  • Installs and enables IonCube Loader [optional] (PHP8.3 currently has no IonCube Loader support. This will be updated when support is available).
  • Installs and configures phpMyAdmin
  • Installs choice of database: MariaDB or MySQL (PostgreSQL, or Redis - experimental) [optional]
  • Installs and configures CSF (Config Server Firewall) - prepares ports used for vStacklet as well as informing your entered email for security alerts.
  • Installs and enables (PHP) Sendmail [optional] (default to install if -csf | --csf is used)
  • Supports IPv6 by default.
  • Installs self-signed SSL cert configuration. (default)
  • Installs and configures LetsEncrypt SSL cert. [optional] (default to install if -d | --domain is used)
  • NEW: DNS-based SSL certificate verification with CloudFlare support [optional] (enables SSL for local development and private networks)
  • Installs and stages database for WordPress. [optional] (active build - unlike other options that are passive with the flags used. This will change when the script is updated to be a bit more modular; ie: install wordpress (only), install phpmyadmin (only), etc.)
  • Easy back

Related Skills

View on GitHub
GitHub Stars20
CategoryData
Updated5mo ago
Forks7

Languages

Shell

Security Score

92/100

Audited on Oct 31, 2025

No findings