Archive for January 17th, 2010

  • Install oci8

    Sunday, January 17th, 2010

    a) yum install emacs b) vim /etc/yum.repos.d/domain.repo [domain-rhel5] name=Nix rhel5 packages baseurl=http://domain.com:8000/yum/rhel/5/$basearch/ enabled=1 gpgcheck=0 c) yum install oracle-instantclient-{basic,devel,sqlplus} (you may have to do: yum install oracle-instantclient11.1-{basic,devel,sqlplus}) yum install oracle-instantclient-* OR yum install oracle-* echo “/usr/lib/oracle/11.1/client64/lib/” >> /etc/ld.so.conf && ldconfig cd /tmp pecl download oci8 tar xvzf oci8-1.3.5.tgz cd oci8-1.3.5 phpize ./configure –help | grep oci [...]

  • Small to Medium-Sized Network Using Catalyst 3560 Switches

    Sunday, January 17th, 2010

    Figure 1-1 shows a configuration for a network of up to 500 employees. This network uses Catalyst 3560 Layer 3 switches with high-speed connections to two routers. For network reliability and load balancing, this network has HSRP enabled on the routers and on the switches. This ensures connectivity to the Internet, WAN, and mission-critical network [...]

  • How to install VNCSERVER on CentOS

    Sunday, January 17th, 2010

    yum groupinstall “GNOME Desktop Environment” yum install xterm vnc-server vnc remove the existing file & edit with ‘/etc/sysconfig/vncservers’ and put the following lines in it VNCSERVERS=”2:root” VNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -nohttpd -localhost” set the vnc password to open the vnc for user root (you have to login as a root) vncpasswd set the vnc password [...]

  • Interconnect monitoring for RAC nodes

    Sunday, January 17th, 2010

    script ~ /var/techops-src/vnstat-1.10/src/vnstat -l -i eth1 root@host1 vnstat-1.10]# screen -ls There is a screen on: 1712.vnstat (Detached) 1 Socket in /tmp/screens/S-root. [root@host1 vnstat-1.10]# [root@host2 ~]# screen -ls There is a screen on: 516.vnstat (Detached) 1 Socket in /tmp/screens/S-root. [root@host2 ~]# —————— 60 sec Traffic ———————– [root@host1 vnstat-1.10]# /var/techops-src/vnstat-1.10/src/vnstat -tr 60 -i eth1 66659 packets sampled [...]