Beware of Specials
I bought this at harbor town cause its on special, guess what happen when i got home & pill the 1st stick off.
hey! the price increased each time they do a massive discount, i guess its normal for any businesses.
so look out & ask is it really what you need?
Monday, September 24, 2012
Sunday, September 23, 2012
RANCID - linux is cool
i haven't got much linux experiences but here is the setup steps for me
i haven't got much linux experiences but here is the setup steps for me
sudo
apt-get update
Adduser
rancid
Sudo
Apt-get install rancid cvsweb mutt postfix
Sudo nano
/etc/rancid/rancid.conf
LIST_OF_GROUPS="brisbane"
Sudo nano /etc/aliases
rancid-brisbane: rancid
rancid-admin-brisbane: rancid
Rancid: myemail@mycompany.com
newaliases
Sudo Chown -R rancid /var/lib/rancid
Sudo Chmod -R 775 /var/lib/rancid
Sudo Chown rancid logs
Sudo Chmod 775 /var/lib/rancid/logs
Cd
/var/lib/rancid/logs
Sudo Chmod 775 .
/etc/postfix/main.cf
Add
smtp.mycompany.com
postfix
restart
Su rancid
/var/lib/rancid/bin/rancid-cvs
cd /var/lib/rancid/brisbane
nano router.db
IPADDRESS_OR_HOSTNAME:brand:up_or_down
nano /home/rancid/.cloginrc
add
autoenable * 1
add method * telnet
add user
10.11.61.11 admin
add
userpassword 10.11.61.11 passwordhere
add password IPADDRESS_OR_HOSTNAME LOGINPASSWORD
ENABLEPASSWORD
add password OTHERIP_OR_HOSTNAME LOGINPASSWORD
ENABLEPASSWORD
chmod 640 /home/rancid/.cloginrc
chown rancid /home/rancid/.cloginrc
####- no
need usermod -a -G
sudo rancid
Rancid-run
Check
router config
/var/lib/rancid/CVS/brisbane/configs
Check
rancid log
/var/lib/rancid/logs
> crontab -e
- Add this line:
*/30 * * * * /usr/lib/rancid/bin/rancid-run
- Add this line:
*/30 * * * * /usr/lib/rancid/bin/rancid-run
Add the Web GUI:
apt-get install cvsweb
nano /etc/cvsweb/cvsweb.conf
Find "@CVSrepositories"
Add:
'rancid' => ['Rancid', '/var/lib/rancid/CVS'],
Save and Quit
Restart apache
apache2ctl restart
sudo ~rancid/bin/rancid-run (or, if in as root, rancid-run)
You can now open a web browser to http://IPOFSERVER/cgi-bin/cvsweb
Too Much
Information:
If you feel like you only want to
have the configuration files and not the proc info/mem info etc, just edit the
following file:
nano /var/lib/rancid/bin/rancid
Search for "# Main"
Comment out lines you no longer
wish to document
Save and Quit
Thursday, September 6, 2012
Sharing a few good sites
do you want to do programming? here is the click and drag way! thanks MIT
http://sikuli.org/
watching BBC/Discovery outside of US/UK?
http://tunlr.net/
wanna listen to all the music, incl eng/chinese/jap?
http://grooveshark.com/
of coz if need a bargin here!
http://www.ozbargain.com.au/
do you want to do programming? here is the click and drag way! thanks MIT
http://sikuli.org/
watching BBC/Discovery outside of US/UK?
http://tunlr.net/
wanna listen to all the music, incl eng/chinese/jap?
http://grooveshark.com/
of coz if need a bargin here!
http://www.ozbargain.com.au/
High
Performance Computing (HPC) on AWS
Pasted
from <http://aws.amazon.com/hpc-applications/>
GPC come on!
Subscribe to:
Posts (Atom)