Saturday, August 8, 2009

Installing cacti on windows

what i did to install cacti on windows. i followed the installing on windows documentation that came with cacti

downloaded wamp5 (php 5.3 was giving deprecated error so i didnt use wamp2.1 though you cam remove it by turning off errors), latest cacti
installed

wamp5 or 2.1
the cacti

configured
http on different port
mysql and php
cacti
make sure all paths including fonts are added
to configure cacti follow this
http://www.video4admin.com/monitoring-linux-and-windows-hosts-with-snmp-and-cacti.html

A big problem with a simple solution...

for the error below just do this

Start->run..then type the following -> "Outlook.exe /resetnavpane"

the error
---------------------------
Microsoft Office Outlook
---------------------------
Cannot start Microsoft Office Outlook. Cannot open the Outlook window.
---------------------------
OK   
---------------------------

Sunday, July 26, 2009

Must have linux tools

yum
webmin
named
sarg(if you use squid)
jabberd
winscp
password-less login
cacti

Saturday, July 25, 2009

Jabberd installation notes

**This is a rough one

When installing udns ensure you install the devel also

After installing gsasl upi meed tp enter the flag below to get all to work

Use these links

http://web.archive.org/web/20061010225021/http://jabberd.jabberstudio.org/2/docs/quickstart.html#qs_1_8

http://jabberd2.xiaoka.com/wiki/InstallGuide

http://jabberd2.xiaoka.com/wiki/InstallGuide/StartupShutdown

Btw, you may need to add /usr/local/lib to /etc/ld.so.conf and re-run

'ldconfig' as root after installing a local library. This makes sure

all applications notice your new library instead of the one in /usr/lib.

Alternatively, configure jabberd with LDFLAGS=-Wl,-rpath,/usr/local/lib

to make it use your own libgsasl.

Generally, if you are not familiar with building free software, it might

be easier to locate pre-built binary packages of jabberd for your

operating system instead.

CFLAGS=-DOPENSSL_NO_KRB5 ./configure --enable-db --disable-mysql (flag to overcome the open ssl problem)

Your Jabberd 2 installation is complete. Below is a listing of file locations for the default installation:

        /usr/local/etc    Jabberd Configuration Files
        /usr/local/bin    Jabberd Binaries (jabberd, c2s, resolver, router, s2s, sm)

/usr/local/etc/c2s.xml remove under there is a compartibility issue

Am happy lol

Conference

When you try to start the server, you may see an error telling you that "Configuration parsing using jabber.xml failed". There are two reasons why you might experience this error. One is that the file you are pointing to does not exist; the solution is to type ./jabberd/jabberd -c /path/to/jabber.xml and thus specify the full path to your configuration file. The other reason is that the file exists but contains an XML error; the solution is to fix your XML (e.g., by pasting your entire jabber.xml file into the XML Syntax Checker at xml.com).


Eith just add the muc xml and deamon to the old parts where the files existed initially or use this file if you want to add the conference to start up

#!/bin/sh
##############################################################
#
#     mu-conference -- script to start Mu-Conference.
#
#############################################################
 
DAEMON=/usr/local/bin/mu-conference
CONF=/etc/jabber/muc-jcr.xml
NAME=mu-conference
USER=ejabberd
 
#############################################################
 
if [ "`/usr/bin/whoami`" != "$USER" ]; then
 
       echo "You need to be" $USER "user to run this script."
       exit 1
fi
 
case "$1" in
  debug)
        test -f $DAEMON -a -f $CONF || exit 0
        echo "Starting $NAME in debugging mode."
        $DAEMON -B -d 255 -c $CONF &
        ;;
  start)
        test -f $DAEMON -a -f $CONF || exit 0
        echo "Starting $NAME."
        $DAEMON -B -c $CONF &
        ;;
  stop)
        echo "Stopping $NAME."
        killall $NAME &
        ;;
  restart|reload)
        $0 stop
        sleep 3
        $0 start
        ;;
  *)
        echo "Usage: $0 {debug|start|stop|restart}"
        exit 1
esac

Wednesday, May 20, 2009

How to add routing client to Network



· Add static routes to
.................o Client Router
.................................. § add default route to interconnecto
.................o Inter-Connecting Base station Router
.................................. § add default route to hotspot and
.................................. § static route to client router
................. o Hotspot
.................................. § Add static route to interconnector
.................................. § Add static route to client router
................. o Proxy servers
.................................. § Add static route to interconnector
.................................. § Add static route to client route


· Configure Squid
................. o Add subnet of client
................. o Set download size
................. o Set port considerations