::: tip The best deploy alternative for Chevereto is Docker. But Chevereto can be deployed anywhere and this guide may suit your needs. :::
VPS stands for Virtual Private Server which for our purpose is described as the type of server where you get root access to install Linux on it.
This deploy alternative provides superb customization. But it comes at a cost as it requires complete system administration.
For experienced legacy users this is a good alternative to run Chevereto.
We have a GitHub repository with all the commands we will need. Check the repository at chevereto/vps for instructions.
For this guide you will require a server. the following:
- VPS machine (Linode, Vultr, etc.) with Ubuntu 22.04
- Terminal software (iTerm, Windows Shell)
- Chevereto V4 license
Root login into the VPS. You may also use a non-root user long as it has permissions to modify www-data
group.
To prepare the machine means to install all system requirements. This will take care to install PHP, Apache HTTP Web server, MySQL Server, Composer and Certbot.
Reboot the VPS to make sure to apply any pending kernel updates:
systemctl reboot
Once done run prepare.sh:
bash <(curl -s https://raw.githubusercontent.com/chevereto/vps/4.0/ubuntu/22.04/prepare.sh)
The new.sh script downloads Chevereto and configures Apache HTTP Web server, MySQL, cron. It prepares Chevereto for HTTP setup.
bash <(curl -s https://raw.githubusercontent.com/chevereto/vps/4.0/common/new.sh)
The get.sh script download and extracts Chevereto in the current working folder.
💡 This works in any Unix-based system.
bash <(curl -s https://raw.githubusercontent.com/chevereto/vps/4.0/common/get.sh)
When using CloudFlare must follow the CloudFlare Real IP instructions to detect the real connecting IP.
Run the following command to get https with Certbot. Mind to change example.com
with the target domain(s).
certbot --apache -d example.com -d www.example.com