I tried Nginx and Squid reverse proxies a long time ago. Each has its own merits. In fact, many friends who build their own CDNs like to use another software: Fikker. Fikker is a professional-grade website caching (Webcache) and reverse proxy server software for CDN/webmasters. It is divided into free version and authorized version. The free version does not have page caching, and the authorized version is 399 yuan/ In 2017, I mainly pretended to play by myself, so I went with the free version.
Here we use the Fikker cache. The latest official version is 3.7.5, which is divided into Linux and Windows versions. I mainly use the Linux system. For code novices, just copy and paste. It couldn't be better.
Fikker official source code download page: https://www.fikker.com/download.htm
Fikker’s hardware configuration and other requirements are explained on the source code download page. I am on some VPS that everyone thinks is rubbish. For testing on the host machine, the CentOS6.* 64bit system was selected, and the configuration did not meet the official requirements. The price is cheap, so you can do whatever you want, just slow down. It is recommended that you install it under a pure system. If you have installed nginx before, please remove it first. The following code:

1
2
3
4
5
yum remove httpd nginx –y (remove unnecessary components)
wget --no-check-certificate https://www.fikker.com/dl/fikkerd-3.7.5-linux-x86-64.tar .gz (download source code)
tar zxvf fikkerd-3.7.5-linux-x86-64.tar.gz  (unzip)
cd fikkerd-3.7.5-linux-x86-64      (Enter the relevant directory)
./fikkerd.sh install && ./fikkerd.sh start    (Install and run)

Let’s look at the picture above. This installation is actually very fast and the screen is no longer needed.
fikker01
After completion, use IP + port 6780 to access the management backend. The initial default password is 123456. Please change it in time after logging in.
Regarding how to add a domain name to the backend, you can refer to the official tutorial https://www.fikker.com/help/install-fikker-linux-simply.html
which contains screenshots about host management and system configuration. Example, very intuitive! I also watched this and found that after adding the domain name and origin site IP, there was no problem in accessing the local hosts after changing them.
The picture below is a screenshot of the host management. I have marked the addition of the host and the addition of the origin site.
fikker02
Fikker is indeed a relatively professional reverse proxy and caching tool. The management page has very detailed real-time monitoring data. The paid version can also set page caching. Caching is very useful especially for static sites. There is also an official Fikker CDN master control software, which can manage multiple nodes and multiple servers. The specific application method is also officially explained in detail. Interested friends can play with it.

postid
7326

Leave a Reply