Tuesday, October 13, 2009

Compile - NginX under Linux

== Tips for compiling NginX ==

After downloading nginx tarball you also need:
- zlib.tar.gz
- openssl.tar.gz


1 - make and install zlib
2 - uncompress openssl tarball
3 - Configure nginx script:
   - ./configure \
      --with-http_ssl_module --with-openssl=../openssl-uncompress-dir \
      --prefix=/srv/your-dir
4 - make
5 - make install



 That should give a working nginX server ;)


Thursday, September 10, 2009

Linux - diags commands, Get hard / soft Info

Here are some commands that we can use to obtain info from a Linux host:


# dmesg              -- show bootup messages / detected hardware

#  top                -- show cpu/mem/swap usage and running processes
# mii-tool           -- show nic infos
# du -xh | sort      -- show disk usage

# ps -exfcl          -- show processes running - list 
# rpm -qa            -- show packages.version installed - (redhat/fedora)
# cat /etc/fstab     -- show filesystem table

# cat /proc/cpuinfo  -- show cpu information
# cat /proc/devices  -- show devices ( /proc "filesystem" shows lots of info)
# cat /proc/meminfo  -- show memory


The list continues...i will add some more later

Wednesday, September 9, 2009

Cisco ios image search - for labs

Quick tip to find ios images


On google search use:
 : intitle:index.of ios .bin -site:cisco.com


It should give some nice results

Monday, August 31, 2009

Which User loged on what workstation - "short tips" - Windows2003 domain

A short tip ;)

To find out were "someuser "is logged on what "workstation"

We go to the domain PDC ( check "netdom query fsmo")
->eventvwr -> security -> filter by
-> "event source":security
-> search the user you are looking for on field - user:
john

That's it.