clearing the arp cache in linux
You can clear the arp cache using following commands: Current arp cache root@server [~]# arp -n Address HWtype HWaddress Flags Mask Iface 70.167.140.1 ether 00:00:0C:9F:F0:04 C eth0 Clearing arp…
You can clear the arp cache using following commands: Current arp cache root@server [~]# arp -n Address HWtype HWaddress Flags Mask Iface 70.167.140.1 ether 00:00:0C:9F:F0:04 C eth0 Clearing arp…
From bilalquadri.com Here is a nice little addition to vi or vim. You can create a custom theme for vi/vim and download it to use locally. Nice! From their FAQ:…
Hi, I ran across a small issue where the client wanted to use vim as the default editor for crontab as opposed to pico. I was able to modify this…
From mongodb.org
From if-not-true-then-false.com
From php.net
To install mongodb, add the appropriate repo information below for your distribution version (x86_64 or i686) to /etc/yum.repos.d/10gen.repo:
vim /etc/yum.repos.d/10gen.repo
add
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
or
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/i686
gpgcheck=0
then run
yum update && yum install mongo-10gen mongo-10gen-server
Check the basic mongodb configuration settings before starting MongoDB (default settings are usually good)
vim /etc/mongod.conf
logpath=/var/log/mongo/mongod.log
port=27017
dbpath=/var/lib/mongo