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 Vmware-Tools on Manjaro - an Awesome Distro of Arch Linux

    Apr 23, 2020

    As you may know, the package manager of Arch Linux is "pacman". 1sudo pacman -Syu #Update and upgrade system packages 2sudo pacman -S package_name #Install a new package 3sudo pacman -R package_name #Remove a package 4sudo pacman -Rn package_name #Remove along with backup-ed config files 5sudo pacman -Rsu …

    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 Using PPK File With SSH

    Nov 19, 2019

    In some situations, you are given only a ppk file for access to a cloud server. You know, however, it's for Putty on windows, not for OpenSSH client which might be the most familiar to you.🤔 I am gonna introduce a method to convert a ppk file into a pem file so that you can login to the linux server with ssh command …

    Read More
  • How to Install OpenVPN Server on Any Distro of Linux

    Nov 17, 2019

    Thanks to Stan's great work, it became so delightful to run your own secure and stable private VPN server. It's never been so easy. 👍 Download the installation script like this: 1wget https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh Change file permission to executable like this: …

    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
    • ««
    • «
    • 1
    • 2
    • »
    • »»

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 © 2020 SBIRLA. All Rights Reserved