Read more

How To Install Nginx on CentOS 7

About Nginx Nginx is a high performance web server software. It is a much more flexible and lightweight program than Apache HTTP Server. This tutorial will teach you how to install and start Nginx on your CentOS 7 server.   Prerequisites The steps in this tutorial require the user to have root privileges. You can […]

Read more

Install the PHP drivers for Microsoft SQL Server

1.Tahap 1 yum install php-pdo php-pear php-devel 2. Tahap 2 sudo pecl install sqlsrv sudo pecl install pdo_sqlsrv sudo su echo extension=pdo_sqlsrv.so >> `php –ini | grep “Scan for additional .ini files” | sed -e “s|.*:\s*||”`/30-pdo_sqlsrv.ini echo extension=sqlsrv.so >> `php –ini | grep “Scan for additional .ini files” | sed -e “s|.*:\s*||”`/20-sqlsrv.ini 3. Tahap 3 […]

Read more

Mengamankan SSH menggunakan Fail2ban

Mengamankan sebuah service yang berada di server itu amatlah penting, apalagi server kita public dan siapa saja dapat mengaksesnya, dan yang paling rentan dalam isu hacking atau brutforce attack di VPS (Virtual Private Server) yaitu service ssh. Nah bagaimana cara mengamankan service ssh tersebut ? Sangat banyak cara yang dapat dilakukan untuk mengamankan ssh, salah […]

Read more

How to Get the Size of a Directory in Linux

When listing the contents of a directory using the ls command, you may have noticed that the size of the directories is almost always 4096 bytes (4 KB). That’s the size of space on the disk that is used to store the meta-information for the directory, not what it contains. The command you’ll want to use to […]