DeveloperBreeze

Server Administration Programming Tutorials, Guides & Best Practices

Explore 48+ expertly crafted server administration tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

How to Create SSL for a Website on Ubuntu

Tutorial October 21, 2024
bash

sudo apt update
sudo apt upgrade

Certbot is the client tool that will manage SSL certificate generation for Let's Encrypt. Depending on your web server (Apache or Nginx), install Certbot and the appropriate plugin.

Adding a Subdomain on an Apache Server

Tutorial August 21, 2024

   sudo apt-get install certbot python3-certbot-apache
   sudo certbot --apache -d blog.example.com

Deploying a Flask Application on a VPS Using Gunicorn and Nginx

Tutorial August 03, 2024
python bash

Paste the following content:

[Unit]
Description=Gunicorn instance to serve Flask application
After=network.target

[Service]
User=www-data
Group=www-data
WorkingDirectory=/path/to/your-flask-app
Environment="PATH=/path/to/your-flask-app/venv/bin"
ExecStart=/path/to/your-flask-app/venv/bin/gunicorn --workers 3 --bind unix:/path/to/your-flask-app/developerbreeze.sock app:app

[Install]
WantedBy=multi-user.target