Category

Application

Monitoring server with Prometheus + Grafana

Server monitoring is always the major responsibility of system admin, whether you have 1 server or 10 servers, right tools always make your life easy. I will share the installation for Prometheus + Node exporter + Grafana in this article. I will using docker for Prometheus and Grafana, but for Node exporter it’s not recommended…

How to remove server header in Nginx

Nginx is one of the world most famous web server as per market share, security always a main concert when come to the web server and web application. By default, Nginx will always send the information in server HTTP header as well as on the error page. It’s always the best practise to hide up…

How to automate IP2Location BIN database download in Linux

IP2Location is one of the top IP database provider in the world as their database is being updated every 1st day of the month, in order to make use the latest database to keep data up to date, we may need to download, extract and import the database to our system. Thanks for the automation…

Blocking Ads using Squid Proxy Server

Squid Proxy Server is one of the famous open source proxy server available and widely used by a lot of enterprise. Squid proxy server not only will help to speed up your corporate network to the Internet by cache the content in the server it self, it also have a lot of useful feature such…

GrabPay Users Can Now Link Maybank2u Accounts To GrabPay For Easier Top-Up Process

Grab has enabled Maybank2u as a new top-up source for the GrabPay e-wallet. Interestingly, it is more than just a simple bank account linking, but a pretty tight integration between Maybank2u and GrabPay. This can be seen by the seamless reload process: once your bank account is linked to GrabPay, you will no longer need…

Installing docker container in ubuntu with shell script

The following shell script is automate the installation for Docker in your server, you may use this code to put in your EC2 user data when you launch the instance, than once the server up and running, the docker already ready in your server. To automate the installation for the docker in your server, just…

Nginx: Too Many Open Files Error And Solution

Recently when I check on one of my website, which frequently getting the error 500 when number of user start to increase. Check out the Nginx log and found the following error: 2019/04/26 13:24:16 [crit] 21974#0: *3188937 open() “/usr/local/nginx/html/50x.html” failed (24: Too many open files), client: , request: “GET /file/images/background.jpg…

Git vs. GitHub: What is the difference between GitHub and Git?

Given Microsoft’s recent acquisition of GitHub for $7.5 billion, there has been an incredible amount of interest in the distributed version control program known as Git. Git vs. GitHub comparisons are constantly being requested, and questions about how they work together are constantly being asked. There are indeed quite a…

Managing microservices and APIs with Kong and Konga

Kong API Gateway is one of my favorite API Gateway when come to the microservice architecture and also RESTful API. What is Kong? Kong is a widely adopted, open source API Gateway, written in Lua. It runs on top of Nginx, leveraging the OpenResty framework and provides a simple RESTful…

google.com, pub-3772983857049267, DIRECT, f08c47fec0942fa0