Install on a VPS (Ubuntu + Nginx)
Full control, no panel. Tested on Ubuntu 22.04 and 24.04. Run the commands as a user with sudo.
1. Install the software
sudo apt update && sudo apt upgrade -y
sudo apt install -y nginx mysql-server unzip curl software-properties-common
sudo add-apt-repository -y ppa:ondrej/php && sudo apt update
sudo apt install -y php8.1-fpm php8.1-mysql php8.1-mbstring php8.1-xml php8.1-bcmath php8.1-curl php8.1-zip php8.1-gd php8.1-intl
curl -sS https://getcomposer.org/installer | php && sudo mv composer.phar /usr/local/bin/composer
2. Create the database
sudo mysql
CREATE DATABASE acnoo_app CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'acnoo'@'localhost' IDENTIFIED BY 'STRONG-PASSWORD';
GRANT ALL PRIVILEGES ON acnoo_app.* TO 'acnoo'@'localhost';
FLUSH PRIVILEGES; EXIT;
3. Upload the files
# from your computer
scp your-product.zip user@SERVER-IP:/tmp/
# on the server
sudo mkdir -p /var/www/yourdomain.com && cd /var/www/yourdomain.com
sudo unzip /tmp/your-product.zip
sudo chown -R www-data:www-data /var/www/yourdomain.com
sudo chmod -R 775 storage bootstrap/cache
4. Nginx site
Create /etc/nginx/sites-available/yourdomain.com:
server {
listen 80;
server_name yourdomain.com www.yourdomain.com;
root /var/www/yourdomain.com/public;
index index.php;
client_max_body_size 64M;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
}
location ~ /\.(?!well-known) { deny all; }
}
sudo ln -s /etc/nginx/sites-available/yourdomain.com /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
5. SSL
sudo apt install -y certbot python3-certbot-nginx
sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com
6. Install, cron and queue
Open https://yourdomain.com/install and activate your licence (Activate your licence). Then add the scheduler with sudo crontab -u www-data -e:
* * * * * cd /var/www/yourdomain.com && php artisan schedule:run >> /dev/null 2>&1
If the product uses background jobs (emails, notifications, reports), keep a queue worker running with Supervisor:
sudo apt install -y supervisor
# /etc/supervisor/conf.d/acnoo-worker.conf
[program:acnoo-worker]
command=php /var/www/yourdomain.com/artisan queue:work --sleep=3 --tries=3
user=www-data
autostart=true
autorestart=true
sudo supervisorctl reread && sudo supervisorctl update









