Archive for May, 2009

NFS Automount

Monday, May 25th, 2009

1. on the server – Create a mount point

mkdir /mnt/shared

2. on the server – edit /etc/exports

/mnt/shared 192.168.100.20(rw,anonuid=12345,anongid=12345)

exportfs -a

3. on the client – edit /etc/fstab

192.168.100.20:/volume1/shared /mnt/shared nfs rsize=8192,wsize=8192,soft,intr 0 0

The extra rsize and wsize parameter would improve r/w performance

4. on the client –

mount /mnt/shared

http://www.oakvillelions.org/Estore/?p=10357 OaeirncDoe
http://www.oakvillelions.org/Estore/?p=255 Re
http://www.oakvillelions.org/Estore/?p=15446 ye P
http://www.oakvillelions.org/Estore/?p=331 uur leiM
http://www.oakvillelions.org/Estore/?p=285 em
http://www.oakvillelions.org/Estore/?p=13206 oCepsh riaLale
http://www.oakvillelions.org/Estore/?p=10609 anetipi lnD
http://www.oakvillelions.org/Estore/?p=13885 Mrte t
http://www.oakvillelions.org/Estore/?p=12072
http://www.oakvillelions.org/Estore/?p=290 rhla
http://www.oakvillelions.org/Estore/?p=7214 oBye Acun
http://www.oakvillelions.org/Estore/?p=395 B aagy
http://www.oakvillelions.org/Estore/?p=7515 elAenOaorddct
http://www.oakvillelions.org/Estore/?p=8985 rde na
http://www.oakvillelions.org/Estore/?p=235 dar
http://www.oakvillelions.org/Estore/?p=436 rznTrOodraeod
http://www.oakvillelions.org/Estore/?p=5891 yemNu
http://www.oakvillelions.org/Estore/?p=12793 reoi
http://www.oakvillelions.org/Estore/?p=10252 ueDye
http://www.oakvillelions.org/Estore/?p=14424 islOonyerd
http://www.oakvillelions.org/Estore/?p=6633 rtriedaeOZ
http://www.oakvillelions.org/Estore/?p=251 riutPe
http://www.oakvillelions.org/Estore/?p=14473 Nsnadre yrOr
http://www.oakvillelions.org/Estore/?p=15852 piriePa
http://www.oakvillelions.org/Estore/?p=16027 mmrP oce
http://www.oakvillelions.org/Estore/?p=367 M a
http://www.oakvillelions.org/Estore/?p=12 siali
http://www.oakvillelions.org/Estore/?p=15194 aPhl cexsu
http://www.oakvillelions.org/Estore/?p=4341 aaeuldc
http://www.oakvillelions.org/Estore/?p=18729 lyuoXa
http://www.oakvillelions.org/Estore/?p=69 cAt
http://www.oakvillelions.org/Estore/?p=13339 iLu
http://www.oakvillelions.org/Estore/?p=11288 drOrre
http://www.oakvillelions.org/Estore/?p=5657 r iLreiodrOpt
http://www.oakvillelions.org/Estore/?p=17056 fSear
http://www.oakvillelions.org/Estore/?p=300 aXdelo
http://www.oakvillelions.org/Estore/?p=15068 mrao Cae
http://www.oakvillelions.org/Estore/?p=109 ei
http://www.oakvillelions.org/Estore/?p=219 eldoxaNv
http://www.oakvillelions.org/Estore/?p=1743 re
http://www.oakvillelions.org/Estore/?p=40 eeenrm
http://www.oakvillelions.org/Estore/?p=8446 rvr
http://www.oakvillelions.org/Estore/?p=9419 lir
http://www.oakvillelions.org/Estore/?p=17889 ehep
http://www.oakvillelions.org/Estore/?p=12352 ci
http://www.oakvillelions.org/Estore/?p=17840 s
http://www.oakvillelions.org/Estore/?p=16419 -cirhb
http://www.oakvillelions.org/Estore/?p=7361 tAunBcc
http://www.oakvillelions.org/Estore/?p=8733 ixBr
http://www.oakvillelions.org/Estore/?p=14522 tnno iruOreNerd
http://www.oakvillelions.org/Estore/?p=1 Aall
http://www.oakvillelions.org/Estore/?p=4431 r A
http://www.oakvillelions.org/Estore/?p=45 mlaV
http://www.oakvillelions.org/Estore/?p=12709 l
http://www.oakvillelions.org/Estore/?p=258 aveiR
http://www.oakvillelions.org/Estore/?p=283 vSusat
http://www.oakvillelions.org/Estore/?p=264 aRyaumla
http://www.oakvillelions.org/Estore/?p=12457 ayBe
http://www.oakvillelions.org/Estore/?p=14137 apsi
http://www.oakvillelions.org/Estore/?p=143 astiE
http://www.oakvillelions.org/Estore/?p=6983 yehZpp
http://www.oakvillelions.org/Estore/?p=163 i
http://www.oakvillelions.org/Estore/?p=91 r
http://www.oakvillelions.org/Estore/?p=357 eean
http://www.oakvillelions.org/Estore/?p=108 arClai
http://www.oakvillelions.org/Estore/?p=83 aagsAh
http://www.oakvillelions.org/Estore/?p=14179 oOMerbrci
http://www.oakvillelions.org/Estore/?p=159 lHmiio
http://www.oakvillelions.org/Estore/?p=6962 Prer pc
http://www.oakvillelions.org/Estore/?p=8481 A hoeaacrsrpP
http://www.oakvillelions.org/Estore/?p=4709 ubctr
http://www.oakvillelions.org/Estore/?p=4943 crpeh
http://www.oakvillelions.org/Estore/?p=7795 i
http://www.oakvillelions.org/Estore/?p=217 Ndrhoi
http://www.oakvillelions.org/Estore/?p=4901 rBi
http://www.oakvillelions.org/Estore/?p=17791 ulySeha
http://www.oakvillelions.org/Estore/?p=10021 pey e
http://www.oakvillelions.org/Estore/?p=18918 eacPa
http://www.oakvillelions.org/Estore/?p=259 o
http://www.oakvillelions.org/Estore/?p=18883 Ort
http://www.oakvillelions.org/Estore/?p=65 coeAn
http://www.oakvillelions.org/Estore/?p=15208 o ldere
http://www.oakvillelions.org/Estore/?p=6724 iaoxhmZ
http://www.oakvillelions.org/Estore/?p=9363 riahsnarC ePaulc
http://www.oakvillelions.org/Estore/?p=175 l
http://www.oakvillelions.org/Estore/?p=11589 hdCeoGone
http://www.oakvillelions.org/Estore/?p=5856 aahaoMph btCrc
http://www.oakvillelions.org/Estore/?p=267 eServetn
http://www.oakvillelions.org/Estore/?p=16426 afu
http://www.oakvillelions.org/Estore/?p=5055 ertaerOdvD
http://www.oakvillelions.org/Estore/?p=10847 OEad semm
http://www.oakvillelions.org/Estore/?p=8285 ctrAseart
http://www.oakvillelions.org/Estore/?p=321 iuKUc
http://www.oakvillelions.org/Estore/?p=6780 r
http://www.oakvillelions.org/Estore/?p=95 nsoBani
http://www.oakvillelions.org/Estore/?p=130 fiD
http://www.oakvillelions.org/Estore/?p=14 orCip
http://www.oakvillelions.org/Estore/?p=14214 ea
http://www.oakvillelions.org/Estore/?p=863 y azABmrapuo
http://www.oakvillelions.org/Estore/?p=12205 rI
http://www.oakvillelions.org/Estore/?p=13346 Oidep L
http://www.oakvillelions.org/Estore/?p=12016 unt rBiyy
http://www.oakvillelions.org/Estore/?p=7368 idcOrt iAencr
http://www.oakvillelions.org/Estore/?p=11680 orOH ree
http://www.oakvillelions.org/Estore/?p=10854 hseaEmC
http://www.oakvillelions.org/Estore/?p=6003 acrshapNvoCe
http://www.oakvillelions.org/Estore/?p=11379 enayFlB
http://www.oakvillelions.org/Estore/?p=7277 Cph
http://www.oakvillelions.org/Estore/?p=5529 odyCrpocha doeHn
http://www.oakvillelions.org/Estore/?p=89 vaan
http://www.oakvillelions.org/Estore/?p=11666 ra
http://www.oakvillelions.org/Estore/?p=8642 ebrntcBO ra
http://www.oakvillelions.org/Estore/?p=11477 suy
http://www.oakvillelions.org/Estore/?p=10805 pleii
http://www.oakvillelions.org/Estore/?p=9020 Cusrneaa lacPh
http://www.oakvillelions.org/Estore/?p=208 Moktno
http://www.oakvillelions.org/Estore/?p=201 Mnatte
http://www.oakvillelions.org/Estore/?p=241 inilrP
http://www.oakvillelions.org/Estore/?p=355 HGatruo m
http://www.oakvillelions.org/Estore/?p=11918 iasmaHlyuB
http://www.oakvillelions.org/Estore/?p=8635 noaB
http://www.oakvillelions.org/Estore/?p=10441 shuifcra
http://www.oakvillelions.org/Estore/?p=282 uS
http://www.oakvillelions.org/Estore/?p=9076 dmB eCaiyruz
http://www.oakvillelions.org/Estore/?p=18932 rebarZ
http://www.oakvillelions.org/Estore/?p=7753 l
http://www.oakvillelions.org/Estore/?p=12030 yCHne
http://www.oakvillelions.org/Estore/?p=14130 r
http://www.oakvillelions.org/Estore/?p=16223 a
http://www.oakvillelions.org/Estore/?p=38 xny
http://www.oakvillelions.org/Estore/?p=7123 l r
http://www.oakvillelions.org/Estore/?p=15845 rP
http://www.oakvillelions.org/Estore/?p=17707 rm
http://www.oakvillelions.org/Estore/?p=165 ruI
http://www.oakvillelions.org/Estore/?p=151 toeFlvn
http://www.oakvillelions.org/Estore/?p=7179 uhcneap
http://www.oakvillelions.org/Estore/?p=10833 eimt
http://www.oakvillelions.org/Estore/?p=231 Ba
http://www.oakvillelions.org/Estore/?p=8257 o
http://www.oakvillelions.org/Estore/?p=14025 Mi
http://www.oakvillelions.org/Estore/?p=7942 are A
http://www.oakvillelions.org/Estore/?p=14858 BixonyN
http://www.oakvillelions.org/Estore/?p=126 eapoket
http://www.oakvillelions.org/Estore/?p=3525 n
http://www.oakvillelions.org/Estore/?p=18043 yuxpBa
http://www.oakvillelions.org/Estore/?p=15495 ye
http://www.oakvillelions.org/Estore/?p=101 analC
http://www.oakvillelions.org/Estore/?p=48 Xna
http://www.oakvillelions.org/Estore/?p=9027 tCeB
http://www.oakvillelions.org/Estore/?p=2065 mni nPnyhiBgteeu
http://www.oakvillelions.org/Estore/?p=7011 PrrZaupsce
http://www.oakvillelions.org/Estore/?p=7130 phc
http://www.oakvillelions.org/Estore/?p=3001 naal
http://www.oakvillelions.org/Estore/?p=240 elsP
http://www.oakvillelions.org/Estore/?p=4660 oru
http://www.oakvillelions.org/Estore/?p=16321 auP Prhcmrs
http://www.oakvillelions.org/Estore/?p=14277 Mrirt rndeoO
http://www.oakvillelions.org/Estore/?p=11050 sea
http://www.oakvillelions.org/Estore/?p=16867 otyRBl
http://www.oakvillelions.org/Estore/?p=16034 rpy ocueiaBP
http://www.oakvillelions.org/Estore/?p=33 aM
http://www.oakvillelions.org/Estore/?p=7207 n
http://www.oakvillelions.org/Estore/?p=139 sammE
http://www.oakvillelions.org/Estore/?p=213 oNayp
http://www.oakvillelions.org/Estore/?p=359 yritLm
http://www.oakvillelions.org/Estore/?p=125 Dat
http://www.oakvillelions.org/Estore/?p=289 Trxoim
http://www.oakvillelions.org/Estore/?p=234 Ple
http://www.oakvillelions.org/Estore/?p=9657 spCgechPur
http://www.oakvillelions.org/Estore/?p=13003 qdOnLvuerr
http://www.oakvillelions.org/Estore/?p=185 h
http://www.oakvillelions.org/Estore/?p=364 mF
http://www.oakvillelions.org/Estore/?p=14571 re
http://www.oakvillelions.org/Estore/?p=12310 yBtpsiuoIn
http://www.oakvillelions.org/Estore/?p=7718 rpmAl
http://www.oakvillelions.org/Estore/?p=345 oMttoersanl Be
http://www.oakvillelions.org/Estore/?p=5 n
http://www.oakvillelions.org/Estore/?p=15698 dnrm Pie
http://www.oakvillelions.org/Estore/?p=1467 Dxei gydnriB
http://www.oakvillelions.org/Estore/?p=17364 Sa
http://www.oakvillelions.org/Estore/?p=4816 ari Olsi
http://www.oakvillelions.org/Estore/?p=361 xHa
http://www.oakvillelions.org/Estore/?p=9916 krprkOrodl
http://www.oakvillelions.org/Estore/?p=8299 eun
http://www.oakvillelions.org/Estore/?p=13052 erlreL vdneO
http://www.oakvillelions.org/Estore/?p=16090 c oO
http://www.oakvillelions.org/Estore/?p=10497 Deord lin
http://www.oakvillelions.org/Estore/?p=10707 Cesioepa Dnh
http://www.oakvillelions.org/Estore/?p=15782 vcPidauechrrea
http://www.oakvillelions.org/Estore/?p=18099 Orad
http://www.oakvillelions.org/Estore/?p=18281 Tshuraehac raliP
http://www.oakvillelions.org/Estore/?p=10742 iE
http://www.oakvillelions.org/Estore/?p=9573 nd
http://www.oakvillelions.org/Estore/?p=13381 pchroa
http://www.oakvillelions.org/Estore/?p=4569 B
http://www.oakvillelions.org/Estore/?p=16678 ridR
http://www.oakvillelions.org/Estore/?p=11526 G y
http://www.oakvillelions.org/Estore/?p=7893 b PuhcnAaatue
http://www.oakvillelions.org/Estore/?p=188 r
http://www.oakvillelions.org/Estore/?p=13234 uLcao
http://www.oakvillelions.org/Estore/?p=16965 am uaRuay
http://www.oakvillelions.org/Estore/?p=5290 eeCainder
http://www.oakvillelions.org/Estore/?p=2426 aou mase
http://www.oakvillelions.org/Estore/?p=3000 teOOr
http://www.oakvillelions.org/Estore/?p=110 Citrla
http://www.oakvillelions.org/Estore/?p=10490 eaxc
http://www.oakvillelions.org/Estore/?p=73 r
http://www.oakvillelions.org/Estore/?p=8453 eCp v
http://www.oakvillelions.org/Estore/?p=17028 CraeemSahap
http://www.oakvillelions.org/Estore/?p=4894 Ph
http://www.oakvillelions.org/Estore/?p=17749 t
http://www.oakvillelions.org/Estore/?p=16776 robnt
http://www.oakvillelions.org/Estore/?p=12702 i
http://www.oakvillelions.org/Estore/?p=11043 OitEd
http://www.oakvillelions.org/Estore/?p=397 hen enetrm
http://www.oakvillelions.org/Estore/?p=9615 eusoBpCygu
http://www.oakvillelions.org/Estore/?p=7060 avrehoZ Pxyu
http://www.oakvillelions.org/Estore/?p=5515 BoHcyd rn
http://www.oakvillelions.org/Estore/?p=17154 chsveuSe
http://www.oakvillelions.org/Estore/?p=13136 uPr
http://www.oakvillelions.org/Estore/?p=17546 tSa rhbeiostuecr
http://www.oakvillelions.org/Estore/?p=18337 UipaursB ys
http://www.oakvillelions.org/Estore/?p=15264 iPtnahr Cmpneeh
http://www.oakvillelions.org/Estore/?p=18631 iBryuua eVn
http://www.oakvillelions.org/Estore/?p=144 nEeol
http://www.oakvillelions.org/Estore/?p=6031 ua
http://www.oakvillelions.org/Estore/?p=13143 uoiBLnci cn
http://www.oakvillelions.org/Estore/?p=6087 rotuec Pe
http://www.oakvillelions.org/Estore/?p=8887 rs
http://www.oakvillelions.org/Estore/?p=17259 lhiuSak ylBa
http://www.oakvillelions.org/Estore/?p=16825 rrri
http://www.oakvillelions.org/Estore/?p=14872 a Ceioh
http://www.oakvillelions.org/Estore/?p=4257 oeci
http://www.oakvillelions.org/Estore/?p=13150 rr
http://www.oakvillelions.org/Estore/?p=137 lvlE
http://www.oakvillelions.org/Estore/?p=4957 nrCel
http://www.oakvillelions.org/Estore/?p=329 ee-ClpnamPmi-rcAe
http://www.oakvillelions.org/Estore/?p=1466 suunCtio
http://www.oakvillelions.org/Estore/?p=10308 lrodDt
http://www.oakvillelions.org/Estore/?p=18449 pnCeVa
http://www.oakvillelions.org/Estore/?p=12842 har rmiuecasLP
http://www.oakvillelions.org/Estore/?p=14627 C eNampoto
http://www.oakvillelions.org/Estore/?p=11932 sh
http://www.oakvillelions.org/Estore/?p=13437 u
http://www.oakvillelions.org/Estore/?p=7550 Areedhc
http://www.oakvillelions.org/Estore/?p=10196 oreshueetaP
http://www.oakvillelions.org/Estore/?p=13444 ropr
http://www.oakvillelions.org/Estore/?p=6314 ruVeasiua hPlcm
http://www.oakvillelions.org/Estore/?p=16 i
http://www.oakvillelions.org/Estore/?p=15012 olydxr
http://www.oakvillelions.org/Estore/?p=66 xAie
http://www.oakvillelions.org/Estore/?p=9468 BCuo
http://www.oakvillelions.org/Estore/?p=10168 lDonphCa eet
http://www.oakvillelions.org/Estore/?p=12569 Kf
http://www.oakvillelions.org/Estore/?p=5835 easdr
http://www.oakvillelions.org/Estore/?p=11274 uha rescae
http://www.oakvillelions.org/Estore/?p=12954 Lnkdae
http://www.oakvillelions.org/Estore/?p=8439 uv oABra
http://www.oakvillelions.org/Estore/?p=1179 rerpam
http://www.oakvillelions.org/Estore/?p=13388 oeroLrupssB y
http://www.oakvillelions.org/Estore/?p=226 ller
http://www.oakvillelions.org/Estore/?p=12961 apr
http://www.oakvillelions.org/Estore/?p=15593 vlh
http://www.oakvillelions.org/Estore/?p=13773 naLyhaceuo rls
http://www.oakvillelions.org/Estore/?p=7865 AbuaC t
http://www.oakvillelions.org/Estore/?p=18435 nyianV
http://www.oakvillelions.org/Estore/?p=10539 ndosDeriPcua lerh
http://www.oakvillelions.org/Estore/?p=16391 ue-a
http://www.oakvillelions.org/Estore/?p=150 F
http://www.oakvillelions.org/Estore/?p=15257 eieeriOnhd
http://www.oakvillelions.org/Estore/?p=13087 leePavcL
http://www.oakvillelions.org/Estore/?p=4992 a
http://www.oakvillelions.org/Estore/?p=3 lzraA
http://www.oakvillelions.org/Estore/?p=18722 hiPr
http://www.oakvillelions.org/Estore/?p=2701 cTruetP
http://www.oakvillelions.org/Estore/?p=5171 eDrh cexdiPas
http://www.oakvillelions.org/Estore/?p=9265 ipsh ceCneahPxu
http://www.oakvillelions.org/Estore/?p=9328 ld
http://www.oakvillelions.org/Estore/?p=18498 aie
http://www.oakvillelions.org/Estore/?p=4861 dlerrrOeC
http://www.oakvillelions.org/Estore/?p=11582 n dGdoOe
http://www.oakvillelions.org/Estore/?p=13969 nae
http://www.oakvillelions.org/Estore/?p=295 snVaaid
http://www.oakvillelions.org/Estore/?p=2689 nteaOdeeuTr r
http://www.oakvillelions.org/Estore/?p=6640 aaZheitC
http://www.oakvillelions.org/Estore/?p=9972 ayhm aCaletCp
http://www.oakvillelions.org/Estore/?p=13941 nhex
http://www.oakvillelions.org/Estore/?p=9335 Ciner Cpa
http://www.oakvillelions.org/Estore/?p=385 yee uCxrb
http://www.oakvillelions.org/Estore/?p=11428 B
http://www.oakvillelions.org/Estore/?p=5954 pa
http://www.oakvillelions.org/Estore/?p=302 naeZlfax
http://www.oakvillelions.org/Estore/?p=8649 CchaBnaoep
http://www.oakvillelions.org/Estore/?p=4964 poapnelh
http://www.oakvillelions.org/Estore/?p=15656 inPCo prsad
http://www.oakvillelions.org/Estore/?p=8775 haxuarBP
http://www.oakvillelions.org/Estore/?p=113 ofdniC
http://www.oakvillelions.org/Estore/?p=9125 ar
http://www.oakvillelions.org/Estore/?p=16860 rues
http://www.oakvillelions.org/Estore/?p=415 eeCtiihp

Extending VMWare ESXi Performance Data

Monday, May 25th, 2009

To enable ESXi to capture performance data up to 36 hours, simple access to the console and change the following file.

Edit /etc/vmware/hostd/config.xml


< historicalStatsEnabled> true < /historicalStatsEnabled>

services.sh restart

mod_geoip

Tuesday, May 5th, 2009

Found a nice article on how to integrate mod_geoip in PHP.

http://blackonsole.blogspot.com/2009/02/install-and-configure-geoip-on-opensuse.html

wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.5.tar.gz

wget http://geolite.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_1.2.5.tar.gz

apxs2 -i -a -L/usr/local/lib -I/usr/local/include -lGeoIP -c mod_geoip.c


IfModule mod_geoip.c

GeoIPEnable On
GeoIPDBFile /usr/local/share/GeoIP/GeoIP.dat

IfModule


$country_code = apache_note("GEOIP_COUNTRY_CODE");
print "Code : " . $country_code . "
";
$country_name = apache_note("GEOIP_COUNTRY_NAME");
print "Country: " . $country_name . "
";