Knowledge Base
0%
Intermediate ~30 min sudo required

Install Sendy on Ubuntu 22

Self-hosted email newsletter platform powered by Amazon SES. Full LAMP setup included.

0 / 17 done

Prerequisites

  • Ubuntu 22.04 server
  • Amazon SES account
  • Domain name
1
Step 1 Snippet

Update Ubuntu system packages


                            
2
Step 2 Snippet

Install essential CLI tools


                            
3
Step 3 Snippet

Install Apache HTTP Server


                            
4
Step 4 Snippet

Open firewall for Apache (HTTP + HTTPS)


                            
5
Step 5 Snippet

Install MariaDB server


                            
6
Step 6 Snippet

MariaDB secure installation


                            
7
Step 7 Snippet

Create MariaDB database, user, and grants


                            
8
Step 8 Snippet

Add Ondrej PHP repository (multi-version PHP)


                            
9
Step 9 Snippet

Install PHP with common extensions


                            
10
Step 10 Command

Download and extract Sendy

sudo unzip /tmp/sendy.zip -d /var/www/html/
sudo mv /var/www/html/sendy* /var/www/html/sendy
11
Step 11 Snippet

Set web folder ownership to www-data


                            
12
Step 12 Snippet

Apply standard web permissions (755/644)


                            
13
Step 13 Snippet

Create Apache virtual host


                            
14
Step 14 Command

Edit Sendy config.php

sudo nano /var/www/html/sendy/includes/config.php

# Edit these values:
# define('APP_PATH', 'https://newsletter.example.com');
# $dbHost = 'localhost';
# $dbUser = 'sendy_user';
# $dbPass = 'your_strong_password';
# $dbName = 'sendy_db';
15
Step 15 Snippet

Install Certbot for Apache


                            
16
Step 16 Snippet

Issue SSL certificate via Certbot (Apache)


                            
17
Step 17 Command

Run Sendy installer