Installing Gitlab under Reverse Proxy of aaPanel

Sep 26

How to install Gitlab under Reverse Proxy of any existing webserver? We will be installing Gitlab in an Amazon Web Server Elastic Compute server - AWS EC2 - t2.medium version. You can use any VM or container environment with minimum 2 cpu cores and 4 GB of RAM.

We will be using an Ubuntu server os...

Continue Reading...

How to Deploy Django with Nginx, Gunicorn and Postgres on Ubuntu

Jan 16

Django application is great but hosting it with the normal web servers isn't so great an idea. Django works awesome with Gunicorn and Nginx along with Postgres in the database end. We will install this setup in Ubuntu 22.04 LTS which will mostly be applicable to further Ubuntu versions as well.

St

...

Continue Reading...

How to Resolve Too Many Connections Error in MySql or MariaDB

Nov 03

Many of us have faced the issue of Too Many Connections error in MySQL/MariaDB with different errror codes like specified below:

(08004/1040): Too many connections

(HY000/1040): Too many connections

The above errors appear when all MySql/MariaDB connections allowed are currently being us...

Continue Reading...

How to clean temporary files in server automatically

Oct 29

You might have seen that the temporary files in server increases in size gradually with use. It can ultimately lead to space consumption issue in server. You can delete the temporary files manually from terminal. However for busy websites and servers, manual deletion of temporary files is not an opt...

Continue Reading...

Django Async Mail

Feb 07

DjangoAsyncMail is a Django app to send email asynchronously. This is a light-weight app using only Python threading for sending emails. It is meant for casual emails, like sending account activation mail from your website when account activation is optional. Using Celery and similar apps for such t...

Continue Reading...