Until today I was using the basic HAProxy settings, Today i found a task about selection of backend server basis of url request. While working on this task, I learned about HAProxy ACLs. Task: I have wordpress installed as http://domainname.com/blog . This domain is running from 2 back-end server and balanced by HAProxy, The...
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local...
The DNS ( Domain Name System ) is a distributed system, used for transalate domain names to IP and vice a versa. This article will help you to How to Setup Master Slave DNS Server on CentOS 6 and RHEL Systems. Network Scenario for this Setup Master DNS Server IP: 192.168.1.90 ( ns1.tecadmin.net )...
cPanel/WHM is a web-based control panel to manage complete Linux operating system. All the cPanel accounts are created using one primary domain. This article will help you to change documentroot for the primary domain of cPanel user. You must have root shell access for changing the main/primary domain document root in cPanel, Use following...
NGINX (Engine X) is a web server, Its getting popular very fast due to its fast speed. NGINX is also used as reverse proxy server. To use php script with nginx it required to install php-fpm. This article will help you To setup web hosting environment using Nginx, MySQL, PHP (LEMP) Stack with PHP-FPM...
Definition from Cacti official site: Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti...
This is an copy of Star Wars totally created with ASCII characters. It can be easily watch using any computer supports telnet in command line and having internet connection. For Windows Users: Go to Start >> Run >> Type “cmd” and Press Enter It will open command prompt, now type below command and press...
Sed is known as Stream Editor, a tool is designed to find and replace text in the text file. It’s very useful like you need to change any word in multiple files and you don’t want to do it manually because of its time killing. Replace Text in Same Single The following command will...
phpPgAdmin is web-based client written in php for accessing and managing PostgreSQL databases. It provides very efficient way to work with databases on PostgreSQL like, create database, table, alter database, export/import database etc. This article will help you to install phpPgAdmin on CentOS and RedHat Systems. Before installing it make sure you have Apache...
OpenSSH default configuration file is /etc/ssh/sshd_config, which contains all the configuration used by SSH server. All the options start with # symbols are used with default settings. To change any option first remove the # symbol, change the value and restart ssh server to reload the options. This article will help you to secure...