IBM MegaRaid Manager

    yum install compat-libstdc++-33.x86_64
    yum install net-snmp-utils.x86_64
    
    #tar zxvf MSM_linux_x64_installer-13.01.04-00.tar.gz
    #cd disk
    #./install.csh

    The provisions of Sections 2, 3, 4, 7, 8 and 9 shall survive any termination of this Agreement.
     Press Y to accept the License Agreement :Y        //鍵入 Y 表示同意版權宣告

    Choose[1-5]:
                (1) - Complete
                      This option will install all program features.
                (2) - Client
                      This option will only install components required to remotely view and
                      configure servers.
                (3) - StandAlone
                      This option will only install components required for local server management
                (4) - Local
                      This option will only install components required for local configuration
                (5) - Server
                      This option will only install components required for remote server management

    Setup Type: 5

    NextVOD box Hacking

    ATCOM IPXX Security Hardening

    banip.sh

    #!/bin/sh
    
    ippbx="192.168.0.200" #your asterisk ip address
    pathfilelog="/root/msg.peter" #path of your file log asterisk
    iprangelocal="192.168.7." #your range ip local address
    badip_1=`tail -n 10 "$pathfilelog" | grep -i "No matching peer found" | cut -d ' ' -f12 | sed -e "s/\'//g" | grep -v "$iprangelocal"  `
    badip_2=`tail -n 10 "$pathfilelog" | grep -i "Wrong password" | cut -d ' ' -f12 | sed -e "s/\'//g" | grep -v "$iprangelocal"  `
    Listbadip="$badip_1 $badip_2"
    
    for i in $Listbadip; do
    echo "${i}"
      ALREADY=`iptables -L -n | grep -i "$i"`
      echo "$ALREADY" >> resultat.txt
         if [ "$ALREADY" = "" ]
         then
            echo "${i} ip unknown" >> resultat.txt
            #echo `iptables -A INPUT  -i eth0 -s "$i" -d "$ippbx" -j DROP `
            echo "iptables -A INPUT  -i eth0 -s "$i" -d "$ippbx" -j DROP "
         else
            echo "${i} ip known" >> resultat.txt
         fi
    done
    

    Install Asterisk on Rackspace Cloud

    MegaRaid Storage Manager on ESXi5

    What I ran commands:

    # esxcli software vib install -v /tmp/scsi-megaraid-sas-5.34-1vmw.500.0.0.406165.x86_64.vib
    Installation Result
       Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
       Reboot Required: true
       VIBs Installed: VMware_bootbank_scsi-megaraid-sas_5.34-1vmw.500.0.0.406165
       VIBs Removed: VMware_bootbank_scsi-megaraid-sas_4.32-1vmw.500.0.0.469512
       VIBs Skipped: 

    CallerID Superfecta

    筆記摘要

    • Superfecta broken in FreePBX 2.9
      Ans:http://projects.colsolgrp.net/issues/503
    • [FreePBX] Fatal error: Call to undefined function curl_init() in
      Ans:
    • [Asterisk] pbx.c:3602 ast_func_write: Function CURLOPT not registered
      Ans:
      1. check to see if the module res_curl, fubc_curl was installed on asterisk
      2. apt-get install libcurl4-openssl-dev
      3. make menuselect > check two items, res_curl and res_config_curl
      4. re-install asterisk

    OpenVAS Install Guide

    ( http://www.openvas.org/install-packages.html )
    for Debian 6.0.1 via OBS

    source.list:

    #deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official i386 DVD Binary-1 20110322-15:11]/ squeeze contrib main
    
    deb http://ftp.isu.edu.tw/pub/Linux/Debian/debian/ squeeze main contrib non-free
    deb-src http://ftp.isu.edu.tw/pub/Linux/Debian/debian/ squeeze main contrib non-free
    deb http://download.opensuse.org/repositories/security:/OpenVAS:/STABLE:/v4/Debian_6.0/ ./
    

    Step 1: Configure OBS Repository

    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys BED1E87979EAFD54
    apt-get update

    Step 2: Quick-Install OpenVAS

    apt-get -y install greenbone-security-assistant gsd openvas-cli openvas-manager openvas-scanner openvas-administrator sqlite3 xsltproc bzip2
    

    Step 3: Quick-Start OpenVAS

    (copy and paste whole block, during first time you will be asked to set a password for user "admin")

    test -e /var/lib/openvas/CA/cacert.pem  || openvas-mkcert -q
    openvas-nvt-sync
    test -e /var/lib/openvas/users/om || openvas-mkcert-client -n om -i
    /etc/init.d/openvas-manager stop 
    /etc/init.d/openvas-scanner stop 
    openvassd
    openvasmd --migrate
    openvasmd --rebuild
    killall openvassd
    

    update the fix

    chmod 600 /var/lib/openvas/mgr/tasks.db
    sed -i "s/\$NAME/\$DAEMON/" /etc/init.d/greenbone-security-assistant
    sed -i "s/GSA_ADDRESS=127.0.0.1/GSA_ADDRESS=0.0.0.0/" /etc/default/greenbone-security-assistant
    

    restart all services

    sleep 15
    /etc/init.d/openvas-scanner start
    /etc/init.d/openvas-manager start
    /etc/init.d/openvas-administrator restart
    /etc/init.d/greenbone-security-assistant restart
    test -e /var/lib/openvas/users/admin || openvasad -c add_user -n admin -r Admin

    Building Ekiga for Windows

    標籤 (Edit tags)
    • No tags
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core