Category Archives: Linux Operating System

How to setup a virtual machine

How to setup a virtual machine ? This post covers how to setup VirtualBox , VMware Workstation, VMware Player and Vagrant applications and how to setup guest operating system. Here, I’ve selected Windows 10 Home as Host OS and Ubunbu … Continue reading

Posted in Uncategorized, Virtualization | Tagged , , | Leave a comment

Setup vagrant on ubuntu

Setup vagrant on ubuntu: Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team. To … Continue reading

Posted in Virtualization | Tagged , | Leave a comment

How to protect from heartbleed bug

How to protect from heartbleed bug ? Heart Bleed Remove older version of openssl: First you need to completely remove the old installation: #sudo apt-get purge openssl You may want to clean house by running: #sudo apt-get autoremove && apt-get … Continue reading

Posted in Linux Operating System | Tagged , | Leave a comment

Centralized remote logging in linux

Centralized remote logging in linux : Every Linux distribution have some kind of logging mechanism that records all the system activities. There are 20 log files that are stored under /var/log that you might be helpful during troubleshooting. The following … Continue reading

Posted in Logging | Tagged , | Leave a comment

Setup ubuntu server

Setup ubuntu server : Update ubuntu: #sudo apt-get update #sudo apt-get upgrade Install Lamp Install Reverse proxies: #sudo apt-get install nginx #sudo curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add – #echo ‘deb http://repo.varnish-cache.org/ubuntu/ lucid varnish-3.0′ | sudo tee /etc/apt/sources.list.d/varnish.list #sudo apt-get … Continue reading

Posted in Linux Operating System | Tagged | Leave a comment

How To Setup An SSL Certificate

How To Setup An SSL Certificate Ordering an SSL certificate can be as simple as pie or it can make you want to pull your hair out. If you prepare to order an SSL certificate by creating a CSR and … Continue reading

Posted in Apache, Linux Operating System | Tagged , | Leave a comment

Setup SSH Keys

Setup SSH Keys : About SSH Keys SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, … Continue reading

Posted in Linux Operating System | Leave a comment

Install wkhtmltopdf on ubuntu 12.04

Install wkhtmltopdf on ubuntu 12.04 Description Simple shell utility to convert html to pdf using the webkit rendering engine, and qt. Introduction Searching the web, I have found several command line tools that allow you to convert a HTML-document to … Continue reading

Posted in Linux Operating System | Tagged | Leave a comment

Install nginx on CentOS

Install nginx on CentOS 6.2/6.1/6/5.8 ## Remi Dependency on CentOS 6 ## rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm ## CentOS 6 ## rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm ## Remi Dependency on CentOS 5 ## rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm ## CentOS 5 ## rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm Create … Continue reading

Posted in Linux Operating System, Nginx | Tagged , | Leave a comment

Linux server important commands

Important PS command: I use the following ps commands in order to check for performance probelms: 1) Displaying top CPU_consuming processes: $ps aux | head -1; ps aux | sort -rn +2 | head -10 2) Displaying top 10 memory-consuming … Continue reading

Posted in Linux Operating System | Tagged , , | Leave a comment