Mount UFS filesystem Ubuntu

Mounting UFS file systems in Ubuntu should be straight forward. Follow these simple steps to make sure that your are mounting your FreeNAS disks properly in Ubuntu: Load the UFS module (or make sure its loaded) sudo modprobe ufs Make a directory where to mount the files on mkdir ~/ufs_mount…

Firewall add IP Country Fortigate

Ini merupakan cara menambah list IP Address pada Suatu Country pada Firewall Fortigate. config system geoip-override edit Indonesia config ip-range show full-configuration edit 2 new entry '2' added set start-ip 103.116.xxx.1 set end-ip 103.116.xxx.254 end Cek hasil konfigurasi : show full-configuration config system geoip-override edit "Indonesia" set description '' set…

How to Set Up SSH Keys on Ubuntu 18.04

Secure Shell (SSH) is a cryptographic network protocol used for a secure connection between a client and a server and supports various authentication mechanisms. The two most popular mechanisms are passwords based authentication and public key based authentication. Using SSH keys is more secure and convenient than traditional password authentication.…

FreeRadius 3.0.x Installation and configuration with Mysql

This document describes how to setup a FreeRADIUS server. A MySQL server is used as backend and for the user accounting. RADIUS is an industry-standard protocol for providing authentication, authorization, and accounting services. Authentication is the process of verifying a user’s identity and associating additional information (attributes) to the user’s…

Multiple SSL HAProxy

Multiple SSL HaProxy ini diperlukan Jika dalam 1 Server Haproxy terdapat 2 SSL yang berbeda, Misalnya domain www.example.com dan www.contoh.com. Berikut Konfigurasi haproxy.conf jika multiple SSL. frontend secure-http-in bind *:80 bind *:443 ssl crt /usr/local/etc/ssl/riaunew.pem crt /usr/local/etc/ssl/dumai.pem redirect scheme https if !{ ssl_fc } # <- Jika semua domain redirect…

How to install composer for PHP

This article describes how to install and configure composer, a PHP dependency manager. Composer enables you to manage dependencies for each project independently, and is used by frameworks such as Laravel. INSTALLING COMPOSER To install composer, follow these steps: Log in to your account using SSH.To configure your shell environment to use composer,…

Security Header Haproxy & Nginx

Ada sejumlah serangan seperti clickjacking yang menargetkan situs web dan penggunanya. Banyak dari mereka dapat dicegah hanya dengan meminta server web untuk mengirim header HTTP kepada klien. Berikut beberapa Konfigurasi Security Header untuk Haproxy dan Nginx. HAProxy : backend example.com http-response set-header Strict-Transport-Security "max age=63072000; includeSubdomains; preload" http-response set-header X-Frame-Options…

Cara Install CSF Firewall pada cPanel VPS

CSF atau Config Server Firewall adalah firewall yang diperuntukkan bagi server Linux. Tool keamanan ini akan melindungi server Anda dari serangan seperti brute force dan meningkatkan keamanan server secara menyeluruh. Aplikasi ini bekerja sebagai plugin WHM dan Anda bisa menadapatkannya secara gratis. Untuk menginstall dan mengkonfigurasikan CSF, ikuti langkah-langkah di bawah ini: Cara…

How to install GoAccess web log analyzer with Nginx on Linux or Unix

GoAccess is a real-time Apache/Nginx/Lighttpd web log analyzer and interactive viewer that runs in a terminal and provides fast and valuable HTTP statistics for system administrators that require a visual report on the fly. How do I install GoAccess on Ubuntu Linux server? How can I instal and use GoAccess…

Internet Offline: Ukur Bandwidth

Server RPi 192.168.0.1 nc -vvlnp 12345 >/dev/null Client Di sisi client kirim gigabyte zero melalui dd lewat nc tunnel dd if=/dev/zero bs=1M count=1K | nc -vvn 192.168.0.1 12345 Hasil Rpi 11,8 MB/s 94.4MbpsAsus 11,8 MB/s 94.4MbpsVM 4CORE 4096MB 245 MB/s 1960MbpsVM 1CORE 1000MB 271 MB/s 2168Mbps Example Freebsd : Server…