# 🏝 VPS
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 (opens new window) for instructions.
For this guide you will require a server. the following:
- VPS machine (Linode (opens new window), Vultr (opens new window), etc.) with Ubuntu 22.04
- Terminal software (iTerm, Windows Shell)
- Chevereto V4 license
# Root login
Root login into the VPS. You may also use a non-root user long as it has permissions to modify
# Prepare machine
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:
Once done run prepare.sh (opens new window):
bash <(curl -s https://raw.githubusercontent.com/chevereto/vps/4.0/ubuntu/22.04/prepare.sh)
bash <(curl -s https://raw.githubusercontent.com/chevereto/vps/4.0/common/new.sh)
The get.sh (opens new window) 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)
# Cloudflare remote IP
When using CloudFlare must follow the CloudFlare Real IP (opens new window) instructions to detect the real connecting IP.
# Certbot HTTPS setup
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