Kategoriarkiv: Knowledge Base

Cisco 2950 – STP With Uplinkfast, trunks and VLans

no service password-encryption hostname HOSTNAME enable secret 5 $ENCRYPTED PASSWORD/ enable password UNECRYPTED PASSWORD ip subnet-zero vtp domain pre-dmz vtp mode transparent spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id spanning-tree uplinkfast no spanning-tree vlan 1 vlan … Læs resten

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

Music on website

It’s very simple to get music playing on your website: <EMBED NAME=”Player” SRC=”music.mp3″ AUTOSTART=”true” LOOP=”false” TYPE=”audio/mp3″ showvideo=”0″ showcontrols=”0″ showdisplay=”0″ showstatusbar=”0″ ShowCaptioning=”false” ShowPositionControls=”false” nosave=”true”> This line will start the file ‘music.mp3’ automatic. The options is simple to understand and edit (The … Læs resten

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

vmware tools in debian

install vmware-tools in debian: uname -r and use the matching package for your headers: apt-get install gcc make linux-headers-2.6.18-5-486 Insert the cd, mount it and unzip /mnt/cdrom/VMwareTools-1.0.4-56528.tar.gz to /tmp/ run the installer and answer all default questions

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

Install CURL extension to PHP on debian

It’s simple to install the CURL extension on debian, ubuntu etc. with apt-get First download curl extension: apt-get install curl libcurl3 libcurl3-dev php5-curl When this is done all you need is restarting your apache: /etc/init.d/apache2 restart And then it should … Læs resten

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

Fix broken CVS HEAD branch

# go to HEAD sandbox # remove all sticky tags cvs upd -A # merge all changes from the branch point up untill now into HEAD. # beware! If any changes exists in HEAD, they will be overwritten cvs upd … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Installing an alphaweb server

********************* Setup etch backports: ********************* echo “deb http://www.backports.org/debian etch-backports main contrib non-free” >> /etc/apt/sources.list cat >> /etc/apt/preferences << EOF Package: * Pin: release a=etch-backports Pin-Priority: 999 EOF wget -O – http://backports.org/debian/archive.key | apt-key add – apt-get update *************************** Setup webserver, … Læs resten

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

Roku Soundbrigde Streaming fra Icecast

I have to write this down while its fresh in my memory … At the office we have a Roku Soundbridge which is a unit with a lot of potentiale and right now i unleashed just a bit more of … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Sending SMS From Linux (Sony Ericsson and Gnokii)

the phone should show up in dmesg like: usb 2-1: new full speed USB device using uhci_hcd and address 2 usb 2-1: configuration #1 chosen from 1 choice cdc_acm 2-1:1.1: ttyACM0: USB ACM device cdc_acm 2-1:1.3: ttyACM1: USB ACM device … Læs resten

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

Simple iptables-firewalling the Debian way

The script is self explanatory, and if you dont understand it go read some newbie-guide to iptables, otherwise place the script in /etc/init.d name it firewall and run: update-rc.d rc.firewall defaults 19 And then you are ready to go 🙂 … Læs resten

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

Setting up a CVS repository (pserver)

First we need a fresh Debian 4.0 install – Installation of cvs and cvsd # apt-get install cvs cvsd – You will be asked for the name of the repositories you want to permit access to, here we wrote “mcs” … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar