Install docker on linux

Prerequisites Docker requires a 64-bit installation regardless of your Ubuntu version. Additionally, your kernel must be 3.10 at minimum. The latest 3.10 minor version or a newer maintained version are also acceptable. Kernels older than 3.10 lack some of the features required to run Docker containers. These older versions are known to have bugs which … Read more

How to Setup network on centos 7

Setup network on centos 7 let’s start, Type “nmcli d” command in your terminal for quick identification of Ethernet cards installed in your machine. Here we have 2 interfaces named “enp0s17” and “enp0s18” . it might be different in your case ( Eg: em1 or p4p1 ). GUI Mode Recommended for beginners Step 1 » … Read more

Install Proxy Squid di centos 6

langkah nya sebagai berikut : 1 yum update -y 2 yum install nano -y 3 yum -y install squid 4 cd /etc/squid/ 5 nano squid.conf 6 mv squid.conf squid.conf.old 7 nano squid.conf add this line : # # Recommended minimum configuration: # acl manager proto cache_object acl localhost src ::1 acl to_localhost dst … Read more

blok IP with IPtables

Blok IP : # iptables -A INPUT -s -j DROP # service iptables save unblock : # iptables -D INPUT -s -j DROP # iptables -D INPUT -s -j DROP # service iptables save cek config : nano /etc/sysconfig/iptables   If you just want to block access to one port from an … Read more

Fungsi dari lsattr dan chattr

Problem : misal ada user yang selalu melakukan spamming dan web nya terkena hack. solusi : kita ingin membuat account / user tersebut di lock jadi tidak bisa write , melakukan upload ke cpanel nya. kita bisa gunakan fungsi chattr +i filename cara remove chattr -i filename dan untuk melihat list file yg di lock … Read more