Category: Linux

  • Docker Security Checklist

    Docker Security Checklist

    Use official images. Restrict network/links within containers. Make sure docker daemon REST api is off, and then use traditional UNIX permission checks to Limit access to the control socket. Limit docker daemon permission on host. Run as non-root. Add an extra layer of safety by enabling AppArmor, SELinux, GRSEC, or your fav hardening solution.

  • Install Nginx, MySQL, PHP (LEMP)

    Install Nginx, MySQL, PHP (LEMP)

    Nginx !! it is fast… I need a fast server to host Magento and wordpress OS: Ubuntu 14.04 Installing nginx is easy as apache

  • Quick Install Apache PHP Mysql for Magento on Ubuntu

    sudo apt-get update sudo apt-get install apache2 sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql sudo mysql_install_db sudo /usr/bin/mysql_secure_installation sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt php5-curl php5-gd

  • How to add DNS record in Ubuntu/Linux

    Point domain to unmanaged VPS/Dedicated server or add any DNS record in Ubuntu/CentOS To serve DNS records we need to install DNS server package like BIND9 Update Package manager “apt-get update” or CentOS “yum update” Install BIND9 apt-get install bind9 or CentOS yum install bind9 Configure and Create Zone File for domains to add records…

  • Git Commands for beginners

    Remove a commit: Open terminal and go to your project directory then run command git reset –soft HEAD^