Protect your Asterisk PBX server from Black listed IP address

Protect your Asterisk PBX server from Black listed IP address

VoIPBL is a distributed VoIP blacklist that is aimed to protects against VoIP Fraud and minimizing abuse for network that have publicly accessible PBX’s.

For more details http://www.voipbl.org/

For Asterisk PBX  you  need to install Fail2ban. This is the only required dependency needed to run VoIP Blacklist on your server.

Read more

Cacti Table ‘host’ is marked as crashed and should be repaired

Cacti Table ‘host’ is marked as crashed and should be repaired

My Cacti server lost all host information and on monitor tab its showing error  “Table ‘host’ is marked as crashed and should be repaired”

I tried google got below solution that worked for me .I got my all devices back to monitor.

go to cli directory    /var/www/html/cli/

and run command  “php repair_database.php”

[root@localhost ~]# cd /var/www/html/cli/

[root@localhost cli]# php repair_database.php
Repairing All Cacti Database Tables
Repairing Table -> ‘cdef’ Successful
Repairing Table -> ‘cdef_items’ Successful
Repairing Table -> ‘colors’ Successful
Repairing Table -> ‘data_input’ Successful
Repairing Table -> ‘data_input_data’ Successful
Repairing Table -> ‘data_input_fields’ Successful
Repairing Table -> ‘data_local’ Successful

Read more

How to install CentOS on Remote Server or VPS

How to install CentOS on Remote Server or VPS

If you want to install CentOS remotely on server on slow link  even if you are able to mount the CentOS  installation media as DVD iso .It takes lots of time and some time corrupted installation .

Linux is having a feature Netinstall you can use that feature and install the CentOS as version you want.

1- Download the Netinstall bootable media ISO file version you would like to install.

http://archive.kernel.org/centos-vault/

For demo I am going to install CentOS 5.5 32 bit

1- I went to following directory

http://archive.kernel.org/centos-vault/5.5/isos/i386/

Read more

How to scan HBA Vmware ESXi Vmware Power CLI

How to scan HBA Vmware ESXi Vmware Power CLI Connect to your ESX or VCenter Server Connect-VIServer -Server 192.168.1.10  -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd To Scan all ESXi hosts is Cluster Get-Cluster ‘cluster name‘ | Get-VMHost  | Get-VMHostStorage -RescanAllHba To scan single ESX  host Get-VMHost ‘192.168.1.11‘ | Get-VMHostStorage -RescanAllHba  

How to enable ESXi SSH And ESXi Shell Using PowerCLI

How to enable ESXi SSH And ESXi Shell Using PowerCLI

Connect to the VCenter Server

 

#Connect to VCenter Server 
Connect-VIServer -Server 192.168.10.1 -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd

#Now Check which serveries are running and you want to start or stop
Get-VMHost 192.168.10.11 | Get-VMHostService

Now you will get slimier  to below screen

Read more