Månedsarkiv: april 2004

converting ext2 to ext3 by adding a journal

for all partitions run: tune2fs -j /dev/hdXX remember to edit fstab, filetype to ext3, and remount to activate journal…

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

Microsoft Developer Network

http://msdn.microsoft.com/library/default.asp http://www.online-admin.com/ntset.html#TNTUserMan

Udgivet i Windows | Skriv en kommentar

Microsoft Developer Network

http://msdn.microsoft.com/library/default.asp http://www.online-admin.com/ntset.html#TNTUserMan

Udgivet i Knowledge Base, Windows | Skriv en kommentar

using ISO-8859-1 in samba

if æøå is making trouble, add this line to smb.conf under [global] client code page = 850 character set = ISO8859-1 valid chars = æ:Æ ø:Ø å:Å

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

maildrop MDA upon vpopmail + imap

d /usr/src wget http://heanet.dl.sourceforge.net/sourceforge/courier/maildrop-1.6.3.tar.bz2 tar jxpvf maildrop-1.6.3.tar.bz2 cd maildrop-1.6.3 ./configure –prefix=/usr make make install-strip now the tricky part: go to the directory of delivery (etc /var/vpopmail/domains/domain.com/user) make a control file: ‘.qmail’ containing: | /usr/bin/maildrop ./mailfilter and a control file: ‘mailfilter’ … Læs resten

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

Ipw2100 on Linux (gentoo)

First of all your kernel must have hotplug support and wireless enabledb You can check this with these commands: bash-2.05b# grep CONFIG_NET_RADIO \ > /lib/modules/2.6.5-gentoo-r1/build/include/linux/autoconf.h bash-2.05b# grep CONFIG_HOTPLUG \ /lib/modules/2.6.5-gentoo-r1/build/include/linux/autoconf.h #define CONFIG_HOTPLUG 1 #undef CONFIG_HOTPLUG_PCI Then you download hostap-driver out … Læs resten

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

install af mod_gzip på apache 1.3 linux

compile mod_gzip: (det er en god ide at have apxs i path btw) cd /usr/src wget http://heanet.dl.sourceforge.net/sourceforge/mod-gzip/mod_gzip-1.3.26.1a.tgz tar zxpvf mod_gzip-1.3.26.1a.tgz cd mod_gzip-1.3.26.1a make APXS=`which apxs` make install APXS=`which apxs` fetch config fil fra : http://www.schroepl.net/projekte/mod_gzip/config.htm gem den som mod_gzip.conf i … Læs resten

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

Importing osvdb into postgresql

sql# create database osvdb; sql# create user osvdb password ‘yourpasswordhere’; unix# wget http://www.osvdb.org/OSVDB-tables.sql unix# psql osvdb osvdb < OSVDB-tables.sql Password: unix# wget http://www.osvdb.org/OSVDB-views.sql unix# psql osvdb osvdb < OSVDB-views.sql Password: unix# wget http://www.osvdb.org/OSVDB-procedures.sql unix# find /usr/local/pgsql/ | grep plpgsql.so /usr/local/pgsql/lib/plpgsql.so … Læs resten

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

Portsupdate on freebsd (ports only)

cd /usr/ports/net/cvsup-without-gui make && make install && make clean Edit the file: /usr/share/examples/cvsup/ports-supfile -all you have to do is to change “CHANGE_THIS” to “cvsup.dk.freebsd.org” Run the update with /usr/local/bin/cvsup -L 2 -g /usr/share/examples/cvsup/ports-supfile

Udgivet i FreeBSD, Knowledge Base | Skriv en kommentar

Gnuplot

gnuplot> set yzeroaxis gnuplot> set xzeroaxis gnuplot> plot 2*x**2,x**2,0.5*x**2,-0.5*x**2,-x**2,-2*x**2 gnuplot> a(x)=2*x**2 gnuplot> b(x)=x**2 gnuplot> c(x)=0.5*x**2 gnuplot> d(x)=-0.5*x**2 gnuplot> e(x)=-x**2 gnuplot> f(x)=-2*x**2 gnuplot> plot a(x),b(x),c(x),d(x),e(x),f(x) gnuplot> a(x)=2*x**2 gnuplot> b(x)=x**2 gnuplot> c(x)=0.5*x**2 gnuplot> d(x)=-0.5*x**2 gnuplot> e(x)=-x**2 gnuplot> f(x)=-2*x**2 gnuplot> plot a(x),b(x),c(x),d(x),e(x),f(x) gnuplot>

Udgivet i Knowledge Base, Old Base | Skriv en kommentar