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 >> `php –ini | grep “Scan for additional .ini files” | sed -e “s|.*:\s*||”`/30-pdo_sqlsrv.ini echo >> `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 […]

How to Install Laravel 6 on CentOS/RHEL 7/6 Read more

How to Install Laravel 6 on CentOS/RHEL 7/6

Laravel is an open source PHP framework designed for the faster development of MVC web applications in PHP. This article will help you to install Laravel 6 PHP Framework on CentOS/RHEL 7/6 system. Step 1 – Setup Yum Repositories First of all, you need to add REMI and EPEL rpm repositories in your system. these repositories […]