This article mentions show popular configuration notes in popular softwares on PHP-based server: Apache, Nginx, PHP, and MySQL. 1. MySQL Should use MySQLTunner tool to analyze query_cache_size parameter is used to allocate an amount of memory to cache the frequently executed queries and return the result set back to the client. E.g.: 128M […]
Monthly Archives: November 2012
This post explains how to add a new slave to the existing MySQL replication. New slave server can be added to the MySQL replication without stopping master or shutting down existing slave server. You will have to temporarily stop replication on the slave server in order to take the current […]
This article shows how to solve the error when installing Python 2.6.7 on CentOS 6: “Yum broken: No module named yum”. When installing the dropbox service in Linux command line, I did compile python 2.6.7 from source, and after that, the yum command line stopped working. As you can see, […]
This article provides basic background about location aware DNS and how to setup it to work with Bind. Article can be found at Geolocation-aware DNS with Bind. This can be referred to Bind-GeoIP and GeoDNS Bind Patch. Some bash script can be found at http://phix.me/geodns/ Can also refer to the topic “How to build […]
This article discusses on how to do Load sharing with DNS (Domain Name System). Introduction: A DNS based approach is a classical approach to sharing the load between multiple servers. DNS responds to domain name look-up requests issued by clients and returns the corresponding IP address. DNS is an Internet […]
The instructions below will walk you through the process of installing the X window system, GNOME desktop environment, and configuring VNC so that you can access it remotely. yum -y upgrade yum -y groupinstall “GNOME Desktop Environment” yum -y install vnc-server As a general rule of thumb you should never […]
This tutorial describes how to setup MySQL replication. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that […]
There is no excerpt because this is a protected post.
Website redirect based on location scenario : You have many websites targeting for different user countries. For example: vn.domain.com for Vietnamese users, us.domain.com for US users. You want to allow your users to browse your website as fast as possible, and you have 1 server in Vietnam, 1 server in US, 1 […]
Have just read a great article about serving static files among many popular web servers. So I paste it here for future reference. This articles is published under this link. Update 1 (Mar 16, 2011): Apache MPM-Event benchmark added Update 2 (Mar 16, 2011): Second run of Varnish benchmark added Update 3 […]