Categories
linux pemasangan perisian

Pelayan SNMP CentOS 6

Andaian:

IP = 10.0.0.10
Email support = email@domain

Pasang snmpd net-snmp

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

/etc/snmp/snmpd.conf

[code lang=’plain’]rocommunity public
syslocation Rack Server IT
syscontact Domain Support
dontLogTCPWrappersConnects yes
rocommunity public default[/code]

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

[code lang=’plain’]# snmpd command line options
OPTIONS=”-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a -x 127.0.0.1 10.0.0.10″[/code]

Mulakan semula snmpd

service snmpd restart

Uji dengan

snmpwalk -v2c -cpublic 127.0.0.1

Categories
linux virtualbox

Pasang VirtualBox 5.0 Guest Additions pada CentOS 6

yum install gcc kernel-devel kernel-headers
yum update kernel*

Selepas “Insert guest addition CD image…”

mount /dev/cdrom /mnt
cd /mnt
./VBoxLinuxAdditions.run

Categories
linux

Ubah CentOS 6 ke Oracle Linux 6

curl -O https://linux.oracle.com/switch/centos2ol.sh
sh centos2ol.sh

centos2ol-1

centos2ol-2

centos2ol-3

Categories
linux pemacu perisian vmware

Pasang VMware-tools pada CentOS 5

Langkah-langkahnya

  1. Kemaskini CentOS

    yum -y update
    reboot

  2. Log masuk & pasang pakej-pakej yang diperlukan

    yum install gcc kernel-devel

  3. Pasang vmware tool

    mount /dev/cdrom /mnt/
    tar -xvf /mnt/VMwareTools-8.3.7-341836.tar.gz -C /tmp
    cd /tmp/vmware-tools-distrib/

  4. Tekan kekunci “Enter” untuk setiap soalan

    ./vmware-install.pl