Email: inbox [at] sysadmin.lk
LinkedIn: https://www.linkedin.com/in/prabatht
Facebook: https://www.facebook.com/prabath.hinoize
Related Articles
Setup wordpress on VPS in Sinhala (සිංහල)
අද මම කියල දෙන්නේ datacenter.lk එකෙන් අපි අරගත්ත VPS එකේ wordpress install කරන්නේ කොහොමද කියල. web server එක setup කරනහැටි බලන්න අපේ youtube channel එකහරි කලින් පොස්ට් එක හරි බලන්න. මුලින්ම අපි setup කරපු domain එකේ document root එකට ගිහින් wordpress download කරගෙන extract කරගන්නවා මේ විදියට [root@test web]# cd /opt/web/ [root@test web]# ls [root@test […]
Send SNMP Traps from Nagios to Remote Management Host
1. Add ‘send snmp trap’ command to nagios vim /usr/local/nagios/etc/objects/commands.cfg define command{ command_name send_snmptrap command_line /usr/bin/snmptrap -v 2c -c public 10.50.24.34 ” NAGIOS-NOTIFY-MIB::nSvcEvent nSvcHostname s “$HOSTNAME$” nSvcDesc s “$SERVICEDESC$” nSvcStateID i $SERVICESTATEID$ nSvcOutput s “$SERVICEOUTPUT$” } 2. Add this event and enable the event to services which needed to send traps vim /usr/local/nagios/etc/objects/localhost.cfg define service{ […]
Getting Started with Git: 25 Essential Commands for Beginners
Git is a powerful version control system that every developer should know. Whether you’re collaborating with others or managing your own projects, these 25 Git commands will help you navigate and control your codebase efficiently. 1. git init Initializes a new Git repository in your project directory. git init 2. git clone Clones an existing […]