MicroPyramidBlog

Explore a blog dedicated to a wide spectrum of topics including Django, Python, Machine Learning, Salesforce, Angular, React, Flutter, Svelte, LINUX, and Amazon Web Services.

Linux, managing child processes executing concurrently

Concurrent processing is complicated, it’s better to avoid it when possible, but when there is a priority for faster execution or there is a need to have multiple functionalities(programs) simultaneously we have to go for it. Using ampersand(&) symbol we can run processes in background or subshell, this way they run concurrently.

Server Management Read Full Post

Usage and configuring i3 window manager in Ubuntu

This Article will explains you how to Configure and Use Window Manager in Ubuntu.

Server Management Read Full Post

How to Backup and Restore Mysql, Postgresql and Mongodb Databases

Data loss can happen when we accidentally delete the files, or when server crashes or system fails, or when we applied migrations to the data that didn't work so we don't get previous data with the schema. In the production environment, it's mandatory to do database backup when we do changes in the code.

Server Management Read Full Post

Letsencrypt Wildcard - Setup Wildcard Subdomain Using Letsencrypt and Certbot

To get wildcard supported certificates, we need to pass the challenge which requires adding TXT records in your dns records.
To get certificates for single domains, there is no need to modify dns records. Check this link https://micropyramid.com/blog/configure-ssl-with-letsencrypt-and-nginx/ for more info.

Server Management Read Full Post

HTTP2 and SPDY Protocols - Make HTTP Faster and Safer

HTTP/2, next version of HTTP/1, http/1 can not handle the present web which has become more resource intensive, it cannot processes multiple requests in an efficient manner. HTTP/2 has got many techniques to harness the requirements of current web experience.

SPDY is the core part of HTTP/2 protocol, many of the http/2 protocol techniques are part SPDY.

Server Management Read Full Post

Ansible for Server Process Automation

Ansible is one of the few automation tools which uses an agentless architecture, where you dont need to install daemons in client nodes for interacting with controlling system. It combines multi-node software deployment, ad hoc task execution, and configuration management.

Server Management Read Full Post

Postgresql Installation and Management Basics

PostgreSQL or simply postgres is the most advanced, SQL-compliant and open-source objective-RDBMS. In This Article, you will learn how to Install, Connect and Manage a postgres database.

Server Management Read Full Post

How to Do Page Redirections with Nginx

Here we learn how to redirect a www to non-www or vice-versa also we see how to redirect pages. We will see differences between 301 and 302 redirection.

Server Management Read Full Post

Configuring WordPress Blog as Sub-Directory Alongside Django in Nginx

Using regular expressions within Nginx we can bind urls to particular application servers, below we will configure wordpress blog and django site to be deployed on same domain name with each having their respective application servers i.e. ‘fastcgi’ for wordpress and ‘uwsgi’ for django.

Server Management Read Full Post

Web Hooks for Gitlab using PHP and Shell Scripts

Web-hooks play vital role if you are in Continuous Integration(CI). Higher Level organizations follow GitLab for CI purposes if they operate on open source solutions and at times every developer needs to check his code integrity. At times like that, web-hooks can help us.

Server Management Read Full Post