How to Install and Use Memcached with Nginx, PHP 7 on Ubuntu 16.04

We have several articles about Varnish, a popular technology to cache your website in server’s memory / RAM and therefore it can boost the speed of your website and enlighten your server load. Today, I will show you another in-memory caching technology which is earlier and more popular than Varnish Cache. Meet Memcached! In sort, it is a distributed in-memory caching system that stores key-value pairs in your server’s RAM. The purpose of using this technology is still the same: to turbo boost your site performance as well as reducing server heavy load by avoiding frequent queries to database. Memcached (pronounced: Mem-cash-dee), or Memcache-daemon, is a process that listens by default on port 11211. Continue reading “How to Install and Use Memcached with Nginx, PHP 7 on Ubuntu 16.04”

How to Install Joomla on ISPManager-based Server

Here we will try to explore how to save a lot of time on CMS deployment. Downloading of CMS, creation of data base, setting limits for users – now all these actions can be automated using specialized tools like ISPmanager hosting panel. And in this article I will show how to deploy a ready to work website based on CMS Joomla. All you will have to do next is just choose a web design and write a unique content for it. Continue reading “How to Install Joomla on ISPManager-based Server”

The Comprehensive Concepts Of HAProxy And Load Balancing

HAProxy can also be referred to as High Availability Proxy. It remains a well-known open source software TCP/HTTP proxying solutions and Load Balancer that can operate on FreeBSD, Solaris, and Linux. The most important application of HAProxy is to enhance the reliability and performance of a server environment. It can achieve this goal by spreading the workload across several servers such as A database, application, the web, and just to mention a few. HAProxy is primarily used in several high-profile areas, including Twitter, Instagram, Imgur and GitHub. Is your quest for Load Balancer, Load Balancing and how HAProxy works? In this article, you will learn more on the basic load-balancing terminology, what is HAProxy, and examples of how it can be applied to enhance the reliability and performance of a server environment. Continue reading “The Comprehensive Concepts Of HAProxy And Load Balancing”

How to Add New Websites on Nginx Ubuntu 16.04 Server

Let’s say you have installed full LEMP stack (Linux, Nginx, MySQL/MariaDB, and PHP) but how can you add new websites or domains on it? The answer is by creating Virtual Hosts or Server Blocks. The main point is to create a Virtual Block file for each of your website / domain. It means you have to create another Server Block for another website you want to add. Going back to basic, an Nginx Server Block is configuration file holding all necessary configuration for websites you want it to be made accessible through and served by Nginx. Basically you can put all configurations of all websites in a single Server Block file but we believe it is better to have separate Server Block for each website. Continue reading “How to Add New Websites on Nginx Ubuntu 16.04 Server”

How to Setup LEMP On Ubuntu 16.04

LEMP stack is another most setup of a server or a virtual private server (VPS) besides LAMP. LEMP (or LNMP) stands for Linux, Nginx, MySQL and PHP. Nginx is well known for its stability and scale-ability. It’s a web server that can server millions of visitors a day with no single blip. For some people they simply prefer Nginx more than Apache except for those who can’t live without .htaccess might still stick with Apache. However, even some users combine Apache and Nginx together by putting it in front of Apache serving as a proxy server. Continue reading “How to Setup LEMP On Ubuntu 16.04”

Fix PHP Not Rendered on Ubuntu LAMP Server

Some users reported that they could not make PHP to render their PHP scripts / pages when they installed Apache webserver and PHP7 on Ubuntu 16.04 server / vps. Well, recently I found out that they might have just missed some dependencies to install. Ubuntu 16.04 comes with PHP7 package by default. Hence if you have managed to install via apt-get then most-likely you’ll have PHP7 to install. Some users blamed PHP7 incompatibility but since the phpinfo page doesn’t work that it means that PHP does not render any php pages. How to fix it then? Continue reading “Fix PHP Not Rendered on Ubuntu LAMP Server”