Django app, Email Server, MYSQL and PostgreSQL on Ubuntu

Опубликовано: 19 Март 2026
на канале: Swahili ICT Tutorials
112
1

Episode 1:
Ubuntu installation on VirtualBox with USB support and full screen Mode
   • Ubuntu installation on VirtualBox with USB...  

Episode 2:
Django app deployment on ubuntu server with Apache Web server
   • Django app deployment on ubuntu server wit...  

Episode 3:
Email server installation on Ubuntu server with Apache MySQL, Postfix and Dovecot
   • Email server installation on Ubuntu server...  

Episode 4:
Apache Web server Port number management to run many apps simultaneously
   • Apache Web server Port number management t...  

Episode 5:
MySQL Server installation on Ubuntu server and connect MySQL with Django App
   • MySQL Server installation on Ubuntu server...  

Episode 6:
PostgreSQL installation on Ubuntu server and connect Postgres with Django App
   • PostgreSQL installation on Ubuntu server a...  

Episode 7:
Django app, Email Server, MYSQL and PostgreSQL on Ubuntu
   • Django app, Email Server, MYSQL and Postgr...  

Episode 1: background

1. Install Oracle VirtualBox
2. Download Ubuntu ISO image
3. Install Ubuntu on VirtualBox
4. Enable full-screen mode
5. Enable USB support
6. System Deployment
7. Deploy Django application
8. Set up Email server (Dovecot, Postfix)
9. Install MySQL server
10. Configure Apache server
---------------------------------------
Episode 2: system deployment

Django deployment on linux

1. Copy Django project from Windows to Ubuntu
2. Navigate to Django project directory
3. Create and activate virtual environment
4. Install required libraries
5. Run Django application
6. Install tools to check IP address
7. Update Django settings for Apache
8. Create and configure Apache virtual host for HTTP port 80
9. Enable site configuration and restart Apache
10. Set file permissions for Apache
11. Configure Apache for HTTP port 8000

docs
https://github.com/shamiraty/django-d...
------------

Episode 3: Email server

Email Server Configuration:

1. Install and configure Postfix (Mail Transfer Agent)
2. Install and configure Dovecot (IMAP/POP3 Server)
3. Set up Maildir format for email storage
4. Install Roundcube (webmail client)
5. Configure Roundcube to work with Postfix and Dovecot
6. Create system users for email accounts
7. Set up Maildir directories and permissions
8. Create a symlink for Roundcube
9. Enable Roundcube configuration in Apache
10. Service Restarts

docs
https://github.com/shamiraty/email-se...
-----------------------------

Episode 4: Apache ports

Apache port Management

1. Port 80: Default HTTP
2. Port 8000: Django
3. Port 8001: Laravel
4. Port 5000: Flask
5. Port 8501: Streamlit
6. Port 5050: pgAdmin
7. Port 443: HTTPS (SSL/TLS)
8. Restart Apache

docs
https://github.com/shamiraty/apache-p...
------------------------------------

Episode 5: Mysql server

Django and MySQL Connection Setup

1. Install MySQL and PHP Engine
2. Install Django MySQL Client
3. Create MySQL User and Database
4. Restart MySQL
5. Update Django Settings
6. Run Migrations
7. Create Superuser

docs
https://github.com/shamiraty/django-m...

-------------------------------------

Episode 6: Pgadmin, Postgresql Web

PostgreSQL Deployment on Ubuntu Server

1. Install PostgreSQL
2. Install Curl
3. Add pgAdmin Repository
4. Create Repository Configuration File
5. Install pgAdmin (Desktop and Web Modes)
5. Configure Web Server for pgAdmin
6. Set Up pgAdmin Web Access
7. Configure PostgreSQL Database and User for Django
8. Create PostgreSQL User
9. Create Database
10. Grant Privileges
11. Grant Privileges on Schema
12. Update Django Settings
13. Edit pg_hba.conf
14. Edit postgresql.conf
15. Allow Traffic on Port 5432

docs
https://github.com/shamiraty/postgres...