ubuntu@server1:~$ sudo vi /etc/apache2/ports.conf Listen 80 Our default port for apache2 service is 80, now we test this by using the curl command ubuntu@server1:~$ curl server1:80 => should output apache2 default html ubuntu@server1:~$ curl server1:8080 => should output “curl: (7) Failed to connect to localhost port 8080: Connection refused” We’re going to use ip tables […]
Category: Linux
Creating LVM with group Permissions (Complete Guide).
sudo groupadd <groupname> sudo usermod -aG <groupname> <User> sudo yum install lvm2 (For Centos) sudo apt install lvm2 (For Ubuntu) sudo pvcreate /dev/vdb /dev/vdc sudo vgcreate <volume name> /dev/vdb /dev/vdc sudo lvcreate -L <size>(m/G) <path> note: if you want to make use of all the size available use: vgdisplay (check for free allocation) Mkfs.xfs <Logical […]
Troubleshooting LDAP and Radius
Scope dalam post kali ini adalah ketika seorang user menghubungkan perangkat dengan SSID Graha_Infracom akan tetapi proses tersebut gagal. Berikut langkah untuk melihat indikasi masalah :1. Login menuju ruijie cloud dan lakukan perkiraan posisi client dengan AP yang terdekat 2. SSH pada AP tersebut lalu gunakan command : debug AAA dan debug 802.1x 3. Lakukan […]
External Script Zabbix
Use external script to trigger checking from endpoint instead of from zabbix. Host : 10.0.70.253 Creating External Script : probe_latency.sh latency=$(ssh $1 ping -c 3 google.com | tail -1 | awk ‘{print $4}’ | cut -d ‘/’ -f 2) echo $latency