Increate max no of open files limit in Ubuntu 16.04/18.04 for Nginx

In Linux, you can change the maximum amount of open files. You may modify this number by using the ulimit command. It grants you the ability to control the resources available for the shell or process started by it.

In this short tutorial we will show you how to check your current limit of open files and files descriptions, but to do so, you will need to have root access to your system.

First, Lets see how we can find out the maximum number of opened file descriptors on your Linux system.

Continue reading

How To Set Up a Firewall with UFW on Ubuntu 16.04

ntroduction

UFW, or Uncomplicated Firewall, is an interface to iptables that is geared towards simplifying the process of configuring a firewall. While iptables is a solid and flexible tool, it can be difficult for beginners to learn how to use it to properly configure a firewall. If you’re looking to get started securing your network, and you’re not sure which tool to use, UFW may be the right choice for you.

This tutorial will show you how to set up a firewall with UFW on Ubuntu 16.04.

Continue reading

How to install FreeBSD 10.2

About FreeBSD

FreeBSD is an Unix-like, advanced operating system that can be installed in modern Servers, Desktops, Laptops and embedded platforms. It is the direct descendant of BSD Unix and of course it is free. The first version of FreeBSD was released in 1993, and today it is the most widely used open source BSD operating system. FreeBSD is licensed under permissive BSD license.

Continue reading

HOW TO INSTALL UBUNTU 12.04 FROM USB DRIVE

Ubuntu 12.04 (code named as : Precise Pangolin) is a LTS release (right now only beta version is available, stable will be out in a couple of weeks) – with 5 years of official support and updates. So LTS version is well suitable for production environment and if you’re using 11.10 or any other versions then you may want to switch to 12.04 for latest features, packages and stability.

Continue reading

INSTALLING CENTOS FROM USB

Nowadays almost every system/server can boot from a USB thumb drive. I find it much more practical (and handy) to install my CentOS systems from a USB drive. I can carry multiple versions of the OS on different USB sticks and easy to wipe/recreate. It also serves as a great tool in the event of an emergency where you need to reinstall a system. Below are the steps involved:

Continue reading