Kategoriarkiv: Old Base

Start X automatisk (autologin)

# Starting X at the boot without xdm (autologin), even without login: rc.local: echo “Autologin of user <username>” cd /home/<username> su – <username> ~/.bash_profile: if [“`tty`” = “/dev/console” -o “`tty`” = “/dev/tty0”] then startx fi

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

Apache, php & mysql on Windows

Fetch: http://archive.apache.org/dist/httpd/binaries/win32/apache_1.3.29-win32-x86-no_src.exe doubleclick the file and follow the install: Network domain should be ‘localhost’ Server name should be ‘127.0.0.1’ Admin email should be your email. Otherwise just leave the defaults, after install your apache should be running. Fetch php windows … Læs resten

Udgivet i Apache, Knowledge Base, Networking, Old Base, PHP, SQL | Skriv en kommentar

Opsætning af ProFTPD+mod_sql

ProFTPD+mod_sql De fleste linux distributioner kommer idag med en ftpserver. Rigtig mange bruger ProFTPD som standard ftpserver. En alm. installation af ProFTPD bruger operativsystemets egen brugerdatabase, men der er faktisk mulighed for at bruge mange andre former for login. En … Læs resten

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

Compact Flash med Asus 6in1 paa FreeBSD

client01# mount -t msdos /dev/da0s1 /mnt client01# ls /mnt imhkada9

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

Multiple X Sessions

Stats session on X-Terminal 1 startx — :1

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

using smtp.mai.dk as smarthost with qmail

echo “:smtp.mail.dk” >> /var/qmail/control/smtproutes remember to ‘man qmail-remote’

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

/proc in freebsd

in fstab: proc /proc procfs rw 0 0 mount /proc

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

Apache logfiles in MySQL

The database: Database changed mysql> describe weblog; +————-+————–+——+—–+———+—————-+ | Field | Type | Null | Key | Default | Extra | +————-+————–+——+—–+———+—————-+ | ID | int(11) | | PRI | NULL | auto_increment | | remotehost | varchar(255) | | … Læs resten

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

Editing the .bash_profile to your needs

When you’ve installed bash from scratch or from ports on BSD bash is pretty ugly. it looks something like this: bash-2.05b$ pretty useless it is here .bash_profile comes in to view I’m not going blabber alot with long howto’s etc. … Læs resten

Udgivet i FreeBSD, Old Base, Shellscript | Skriv en kommentar

How to move channels in irssi

/windows move X X is the number you want to move the current channel to. Vladimirr.dk

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