Kategoriarkiv: Linux

install mod_mono on gentoo

The mod_mono and some dependencies are masked: (I use ~amd64, use ~x86 if that applies to your system) # echo “www-apache/mod_mono ~amd64” >> /etc/portage/package.keywords # echo “dev-dotnet/xsp ~amd64” >> /etc/portage/package.keywords # echo “dev-lang/mono ~amd64” >> /etc/portage/package.keywords # echo “www-apache/mod_mono aspnet2” … Læs resten

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

Change timezone on Debian boxes

Current default timezone: ‘Europe/Copenhagen’ Local time is now: Mon Jun 25 13:51:47 CEST 2007. Universal Time is now: Mon Jun 25 11:51:47 UTC 2007. Run ‘dpkg-reconfigure tzdata’ if you wish to change it.

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

Dualscreen med x200 paa debian med aabne drivere

Section “Files” FontPath “/usr/share/fonts/X11/misc” FontPath “/usr/X11R6/lib/X11/fonts/misc” FontPath “/usr/share/fonts/X11/cyrillic” FontPath “/usr/X11R6/lib/X11/fonts/cyrillic” FontPath “/usr/share/fonts/X11/100dpi/:unscaled” FontPath “/usr/X11R6/lib/X11/fonts/100dpi/:unscaled” FontPath “/usr/share/fonts/X11/75dpi/:unscaled” FontPath “/usr/X11R6/lib/X11/fonts/75dpi/:unscaled” FontPath “/usr/share/fonts/X11/Type1” FontPath “/usr/X11R6/lib/X11/fonts/Type1” FontPath “/usr/share/fonts/X11/100dpi” FontPath “/usr/X11R6/lib/X11/fonts/100dpi” FontPath “/usr/share/fonts/X11/75dpi” FontPath “/usr/X11R6/lib/X11/fonts/75dpi” # path to defoma fonts FontPath “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType” EndSection Section “Module” … Læs resten

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

Opsætning af pmacct på debian

pmacct og mysql installeres via apt. i mysql oprettes databasen pmacct og brugeren pmacct@localhost med koden pmacct: create database pmacct; grant all privileges on pmacct.* to pmacct@localhost identified by ‘pmacct’; følgende config bruges: (/etc/pmacct/pmacctd.conf) ! pmacctd configuration ! ! ! … Læs resten

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

SSH Pre-login banner

/etc/issue.ssh should contain the banner: web01:~# cat /etc/issue.ssh This is a Level2 system web01:~# and add: Banner /etc/issue.ssh to /etc/ssh/sshd_config then sighup

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

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

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

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

LVM Commands

# Grow a file system: SIZE=+220G DEVICE=/dev/vg1/misc lvextend -L${SIZE} ${DEVICE} && umount ${DEVICE} && e2fsck -f ${DEVICE} && resize2fs ${DEVICE} ; mount ${DEVICE} # Shrink a filesystem: umount ${DEVICE} && e2fsck -f ${DEVICE} && resize2fs ${DEVICE} ${SIZE} && lvresize -L${SIZE} … Læs resten

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

Starting JACKD with my soundcard and EDIROL UM1SX

mike@workstation:~$ lspci | grep Audio 00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 05) jackd –realtime –driver alsa -p 128 -n 3 -r 44100–device=hw:0 Edirol UM1SX: modprobe snd-seq-midi modprobe snd-usb-audio to confirm: workstation:~# aconnect -oi … Læs resten

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