Serve multiple domains by using virtual hosts

Creating virtual hosts for multiple domains

When a browser sends a request to your server’s IP address asking for the contents of your domain name (for example, http://yourexampledomain.com), your web server serves up an HTTP representation of your site. If the server is serving only one website, it serves the HTML in your /var/www/html directory, starting with index.html. But having a unique server for every website that you want to serve is costly and an inefficient use of your resources.

Continue reading

Advertisements

How do I install Sublime Text 2/3?

Install via the Package Manager(apt-get):

Simply add to your packages:

For Sublime-Text-2:

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text

For Sublime-Text-3:

sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

Run Sublime-Text on terminal

subl

Source : http://askubuntu.com/questions/172698/how-do-i-install-sublime-text-2-3

How to install XAMPP on CentOS/RHEL 6.5

Continue reading

How to Install and Configure phpMyAdmin on CentOS 6

phpMyAdmin is an open source tool used for the administration of MySQL. In addition to offering the capability to perform administration tasks such as creating, editing, or deleting databases, and managing users and permissions, phpMyAdmin provides a graphical user interface to do all of these tasks and more.

Pre-Flight Check
  • These instructions are intended specifically for installing phpMyAdmin on CentOS 6.
  • I’ll be working from a Liquid Web Core Managed CentOS 6.5 server, and I’ll be logged in as root.
  • A LAMP, Linux, Apache, MySQL and PHP, must be installed on your server. If you’re working from a Liquid Web Core Managed CentOS 6.5 server as I am, then the LAMP stack is already installed!

Continue reading

NAST – Network Analyzer Sniffer Tool

Provided by: nast_0.2.0-6build1_i386 bug

NAME

       nast - Network Analyzer Sniffer Tool

SYNOPSIS
       nast  [-G]  [-i  interface]  [-l  filename] [-f filter] [--ld filename]
       [-pdxPmsgrSMLbcCBVh]

DESCRIPTION

       Nast is a packet sniffer  and  a  LAN  analyzer  based  on  Libnet  and
       Libpcap.

       It  can  sniff  in  normal mode or in promiscuous mode the packets on a
       network interface and log it.  It dumps the headers of packets and  the
       payload  in  ascii  or  ascii-hex  format.  You can apply a filter. The
       sniffed data can be saved in a separated file.

       As analyzer tool, it has many features like:
              * Build LAN hosts list
              * Follow a TCP-DATA stream
              * Find LAN Internet gateways
              * Discover promiscuous nodes
              * Reset an established connection
              * Perform a single half-open portscanner
              * Perform a multi half-open portscanner
              * Find link type (hub or switch)
              * Catch daemon banner of LAN nodes
              * Control ARP answers to discover possible ARP-spoofing
              * Byte counting with an optional filter
              * Write reports logging

       It also provides a new ncurses interface.

Continue reading

How To Install cPanel on a Virtual Server Running Centos 6

About cPanel

cPanel is a convenient application that allows users to administer servers through a GUI interface instead of the traditional command line. Although the installation for cPanel is relatively simple, the script does take several hours to run.

Notes

  • Once cPanel is installed, it cannot be removed from the server without a complete server restore. cPanel does not offer an uninstaller
  • Additionally, cPanel is subject to a licensing fee which may come out to be around $200 a year. DigitalOcean does not cover the cost of cPanel. You can find out more about cPanel pricing here

Continue reading