Home
About
  • How to Make a Swap Space Using a Swap File in Linux

    Oct 6, 2020

    This article is based on the content of aws knowledgebase. You might have been stuck in memory leak when building some kinda javascript-heavy frontend apps like Vue or React on a cloud server itself. Just for serving built artifacts, we do not need large instances, but still the building process is always hungry for …

    Read More
  • How to Install The Latest Version of Nginx on Ubuntu Bionic

    Apr 7, 2020

    Nginx.org maintains a repository for Ubuntu. We can use this repository to install the latest version of Nginx. First off, let's create a repository source file for Nginx with the following command. 1vim /etc/apt/sources.list.d/nginx.list Paste in the following two lines to the file: 1deb [arch=amd64] …

    Read More
  • How to Setup a Nginx Reverse Proxy With Let's Encrypt for Microservices

    Mar 11, 2020

    Let’s say one of your micro services is running on http://localhost:3000 If you already have a nginx service running on the server, create a server block like this: 1vim /etc/nginx/sites-available/domain.com.conf Grab this content to paste in: 1server { 2 3 server_name domain.com; 4 5 root /var/www/html; 6 index …

    Read More
  • How to Setup a Reverse Proxy With Let's Encrypt SSL Certificates Using Docker

    Jan 8, 2020

    I think this is really important in practical docker battle field. 🙂 Let’s go for the docker-compose.yml first. 1version:'3'23services:4nginx:5image:nginx:1.15-alpine6restart:unless-stopped7volumes:8- ./data/nginx:/etc/nginx/conf.d9- ./data/certbot/conf:/etc/letsencrypt10- …

    Read More
  • How to Install Letsencrypt Certbot for Nginx on Ubuntu Bionic Beaver

    Dec 20, 2019

    Simply follow this script: 1apt update -y 2apt install software-properties-common -y 3add-apt-repository universe -y 4add-apt-repository ppa:certbot/certbot -y 5apt update -y 6install certbot python-certbot-nginx -y 7certbot --nginx Your server should now be all set to relay on https. 🙂 As for Apache, you could refer …

    Read More
  • How to Install Letsencrypt Certbot for Apache on Centos 7

    Dec 20, 2019

    Simply follow this script below: 1yum install epel-release -y 2yum install certbot python-certbot-apache mod_ssl -y 3certbot --apache Create a cron job which renews certification once a week. 1crontab -e 10 0,12 * * * python -C 'import random; import time; time.sleep(random.random() * 3600)' && certbot …

    Read More
  • How to Login Automatically With SSH

    Nov 8, 2019

    Auto Login With SSH Today I am going to share you how to login to a cloud server without using password. Let’s say there is a server and your local machine, assuming you can login to the server using some kind of credentials. First off, you should generate a new local public key on your local machine. Chdir to the …

    Read More

Sbirla

Technologist, continual incremental improvement.
Read More

Featured Posts

  • How to Make a Swap Space Using a Swap File in Linux

Recent Posts

  • How to Make a Swap Space Using a Swap File in Linux
  • How to Install Vmware-Tools on Manjaro - an Awesome Distro of Arch Linux
  • How to Install The Latest Version of Nginx on Ubuntu Bionic
  • How to Setup a Nginx Reverse Proxy With Let's Encrypt for Microservices
  • How to Setup a Reverse Proxy With Let's Encrypt SSL Certificates Using Docker
  • How to Install Letsencrypt Certbot for Nginx on Ubuntu Bionic Beaver
  • How to Install Letsencrypt Certbot for Apache on Centos 7
  • How to Login Using PPK File With SSH

Categories

DEVOPS 7 SERVER 3 LINUX 2

Copyright © 2023 SBIRLA. All Rights Reserved