Nginx WordPress Gzip Virtualhost

The Best and Easy configuration for the WordPress (Gzip Enabled) with nginx.   server { listen 80 default_server; listen [::]:80 default_server; listen 443 ssl; root /var/www/html/; index index.php index.html index.htm; server_name _; location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { fastcgi_pass unix:/run/php/php7.0-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; include […]

View post →

Install Docker-Engine, Docker-machine and Docker-compose on ubuntu 16.04

To install Docker-engine on Ubuntu 16.04. $ sudo apt-get update $ sudo apt-get install linux-image-generic-lts-trusty $ sudo apt-get install docker.io Docker Commands. Commands: attach Attach to a running container build Build an image from a Dockerfile commit Create a new image from a container’s changes cp Copy files/folders from a container’s filesystem to the host […]

View post →

Install Latest Java on Ubuntu

Install latest Java on Ubuntu 16.04 Java -: Java software for your computer, or the Java Runtime Environment, is also referred to as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM, VM, Java plug-in, Java plugin, Java add-on or Java download. Install Default Java JRE/JDK $ sudo apt-get […]

View post →

Bash Tricks for System Administrator

The Bash shell is a fundamental Linux tool and, in this era of containers and clusters and microservices, good old-fashioned Linux system administration skills are as relevant as ever. Today, we’ll learn about running other command shells, Bash built-ins, configuration files, and shell expansion. Which Shells? Run cat /etc/shells to see which command shells are […]

View post →

Google Free App Program

1. Gives you a professional custom email ([email protected] ny.com) 2.Allows you to access documents in the cloud with over 30 GB of storage 3. Helps you to work faster from anywhere and from any device. Use the Below Link. Click the below link: https://goo.gl/CbmbbR Here are three reasons to give it a try: You can get customised […]

View post →

Ejabberd xampp server installation

Ejabberd Xampp Server Installation Easy Steps-: Step 1-: Install Ejabberd Server sudo apt-get install -y ejabberd Step 2-: Setup Admin User ejabberdctl register admin localhost password Step 3-: Give Admin Privileges Open ejabberd.cfg file nano /etc/ejabberd/ejabberd.cfg Replace the below line from %% Admin user {acl, admin, {user, “”, “localhost”}}. To %% Admin user {acl, admin, […]

View post →

If netstat command not working.

If netstat command not found. Error like below bash: netstat: command not found   Please install net-tools package. For Ubuntu-: sudo apt-get install -y net-tools For Centos sudo yum install -y net-tools For Example-: To check the command is working. sudo netstat -ntulp The package also includes aditional utilisties such as arp, ifconfig, netstat, rarp, […]

View post →