Kategoriarkiv: Old Base

Klientel anvendelse af CVS (pserver)

— Remote anvendelse: Log ind på CVS Serveren og log herefter ind på remote maskinen med flg. kommando: # ssh web01.mcs.bz -R 2401:127.0.0.1:2401 Herefter kan CVS Serveren tilgåes fra web01 ved at connecte til localhost port 2401, trafik mellem CVS … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

D-Link DFE-570TX

This is a 4 Port NIC Card from D-Link, the systems sees it as a DEC-21152(But on the board/chip itself it says Intel 21152) this is in fact a PCI Bridge which bridges to 4 PCI Nic’s which again Linux … Læs resten

Udgivet i Knowledge Base, Networking, Old Base | Skriv en kommentar

MRTG on debian

Installing an configuring mrtg on debian is quite straightforward. Just issue a “apt-get install mrtg” and you’re done. As for configuring it, there are just another few minutes more. You can use a very useful utility, called “cfgmaker” to generate … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Extract a mysql query to XML

echo “select * from table” | mysql -B –xml -h [host] -u [user] -p[password] [database] > output.xml not all of the parameters are needed of course. use –table if you want the nice ascii tables around the result if -B … Læs resten

Udgivet i Knowledge Base, Old Base, SQL | Skriv en kommentar

Install Mono on Debian

This works on Sarge and Etch: apt-get install mono libmono-corlib2.0-cil

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Layout til IPAccounting

Traffic trafid INT AUTOINCREMENT time DateTime \ ip INT / Burde være lavet som kombined key med clustered index? sent INT recieved INT Index på `time` og `ip` LocalIPs lid INT AUTOINCREMENT ip INT description VARCHAR(255)

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

HP Procurve commands

Many commands are similar to cisco IOS. Locate a specific mac addres in the port table: switch1.mcn.dk# show mac-address 0010a7-0600d4 Status and Counters – Address Table – 0010a7-0600d4 MAC Address : 0010a7-0600d4 Located on Port : 25

Udgivet i HP, Knowledge Base, Networking, Old Base | Skriv en kommentar

XML formatting with xmllint

To get a nice output of any xml file: xmllint –format <file> To strip all spaces, tabs and newlines: xmllint –noblanks <file> For sorting look at xmlstar.sourceforge.net

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

D-link Switch config

reset config ipif System ipaddress 192.168.1.200/24 config stp priority 49152 config stp ports 1-22 state disable config stp ports 25 cost 100000 priority 144 migrate yes state enabled config stp ports 26 cost 200000 priority 160 migrate yes state enabled … Læs resten

Udgivet i Knowledge Base, Networking, Old Base | Skriv en kommentar

SquirrelMail runs slow with bigger inboxes

If you experience problems with squirrelmail running slow on inboxes with lots of e-mails, then the problem is with who’s handling the sorting. Normally, the imap server is capable of doing this sorting server side, which is alot faster than … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar