JRE 1.6 pada Debian 9 32-bit

Download JRE 1.6 dari https://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

Pasang JRE 1.6


mkdir /usr/lib/jvm
cp /home/user/jre-6u45-linux-i586.bin .
./jre-6u45-linux-i586.bin
update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jre1.6.0_45/bin/java" 1

Download firefox 45.9.0esr dari https://ftp.mozilla.org/pub/firefox/releases/45.9.0esr/linux-i686/ dan ekstrak ke home folder user

Link plugin jre ke folder plugin firefox
mkdir .mozilla/plugins
ln -s /usr/lib/jvm/jre1.6.0_45/lib/i386/libnpjp2.so /home/user/.mozilla/plugins/

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

cPanel vs zPanel/Sentora

Kos

cPanel: minimum 15 USD sebulan
Sentora: tiada bayaran bulanan

Sokongan sistem pengoperasian

cPanel: CentOS, CloudLinux, or RHEL 6 & 7, Amazon Linux (semua versi)
Sentora: CentOS 6 & 7, Ubuntu 12.04 & 14.04, Debian 7 & 8

Pilihan sokongan teknikal

Kedua-duanya memberikan sokongan melalui forum tetapi cPanel turut memberikan sokongan melalui email melalui sistem tiket kepada yang melanggan lesen cPanel.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Web Hosting Control Panel

Apakah web hosting control panel?

web hosting control panel adalah aplikasi yang membantu penyedia servis web dan pelanggan servis mereka menjalankan kerja-kerja berkaitan laman web dengan lebih mudah

Siapa yang memerlukan web hosting control panel?

System admin syarikat web hosting dan pelanggan syarikat tersebut.

Bagaimana memasang web hosting control panel?

Secara minimum, anda mestilah mempunyai public IP, server untuk hos servis web dan panel web hosting. Kemudian, bergantung kepada fitur panel tersebut, proses pemasangan dari semudah menjalankan baris arahan hinggalah ke agak kompleks.

Berapakah kos web hosting control panel?

Kos adalah bergantung kepada pengeluar perisian berkenaan. Ada yang mengecas 10 USD sebulan dan ada yang boleh didapatkan tanpa kos.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Web Hosting

Web hosting adalah menyediakan servis laman web.

Syarikat web hosting menyediakan servis yang membantu pengguna untuk membolehkan mereka mempunyai laman web sendiri.

Dengan ini, mereka tidak perlu bersusah-payah membeli perkakasan yang diperlukan seperti server, peralatan rangkaian, kos selenggaraan perkakasan server dan rangkaian serta yuran bulanan boradband.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Ralat Clamd CentOS 5 LibClamAV Error: mpool_malloc()

Apabila email tidak sampai ke mailbox dan log MailScanner (maillog) terdapat ralat berikut:

Oct 23 22:32:06 email MailScanner[21705]: Virus and Content Scanning: Starting
Oct 23 22:32:06 email MailScanner[21705]: Clamd::ERROR:: COULD NOT CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON :: .
Oct 23 22:32:07 email MailScanner[21705]: Virus Scanning: Clamd found 1 infections
Oct 23 22:32:07 email MailScanner[21705]: Virus Scanning: No virus scanners worked, so message batch was abandoned and re-tried!

Kemudian cuba restart clamd, ralat berikut pula muncul

LibClamAV Error: mpool_malloc(): Attempt to allocate 8388608 bytes. Please report to http://bugs.clamav.net

Kemaskini clamav untuk selesaikan masalah ini.

yum --disablerepo=\* --enablerepo=rpmforge update clam\*

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Pelayan SNMP CentOS 6

Andaian:

IP = 10.0.0.10
Email support = [email protected]

Pasang snmpd net-snmp

yum install -y net-snmp-utils
chkconfig snmpd on

/etc/snmp/snmpd.conf

rocommunity public
syslocation Rack Server IT
syscontact Domain Support <[email protected]>
dontLogTCPWrappersConnects yes
rocommunity public default

/etc/sysconfig/snmpd.options (untuk membenarkan akses dari pelayan lain)

# snmpd command line options
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x 127.0.0.1 10.0.0.10"

Mulakan semula snmpd

service snmpd restart

Uji dengan

snmpwalk -v2c -cpublic 127.0.0.1

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

Contoh konfigurasi ringkas Nagios pada Debian

monitor-nrpe

Server Nagios: 192.168.1.110
Server DNS: 192.168.1.102

Contoh berikut adalah untuk memantau load, bilangan user yang log in, baki kapasiti root partition, jumlah proses sedang berjalan dengan menggunakan nrpe

    Pada server Nagios (Wheezy):

  1. Install pakej-pakej yang diperlukan:
    apt-get install nagios3 nagios-plugins nagios-nrpe-plugin
  2. Buatkan fail /etc/nagios3/conf.d/dns-mylab.cfg seperti berikut:
    define host{
            use                     generic-host            
            host_name               dns
            alias                   dns-mylab
            address                 192.168.1.102
            }
    define service{
            use                     generic-service
            host_name               dns
            service_description     Current Load
            check_command           check_nrpe_1arg!check_load
    }
    define service{
            use                     generic-service
            host_name               dns
            service_description     Current Users
            check_command           check_nrpe_1arg!check_users
    }
    define service{
            use                     generic-service
            host_name               dns
            service_description     Disk Space
            check_command           check_nrpe_1arg!check_root
    }
    define service{
            use                     generic-service
            host_name               dns
            service_description     Total Processes
            check_command           check_nrpe_1arg!check_total_procs
    }
  3. Mulakan semula servis nagios
    /etc/init.d/nagios3 restart

    Pada server DNS (squeeze):

  1. Pasang pakej-pakej yang diperlukan
    apt-get install nagios-nrpe-server nagios-plugins
  2. Edit /etc/nagios/nrpe.cfg seperti dibawah dengan mengambil kira output “df -h”, IP server nagios & IP server DNS
    #server_address=127.0.0.1
    server_address=192.168.1.102
    
    #allowed_hosts=127.0.0.1
    allowed_hosts=192.168.1.110
    
    #command[check_hda1]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1
    command[check_root]=/usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/mapper/debian-root
  3. Mulakan semula servis nrpe
    /etc/init.d/nagios-nrpe-server restart
Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)