Månedsarkiv: august 2008

Mysql UTF8 helvede…

mysql –default-character-set=UTF8 bettegrisdk_gris -pfoobar < bettegrisdk_gris.sql

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

rdf2:/etc/apache2# cat httpd.conf ServerName rdf2.sk.mcn.dk rdf2:/etc/apache2#

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

HTTP 301 Redirects med php

For at teste hvilken type redirect en given side laver: @ telnet localhost 80 Trying 127.0.0.1… Connected to localhost. Escape character is ‘^]’. GET / HTTP/1.1 Host: lcauto.dk HTTP/1.1 302 Found Date: Sat, 23 Aug 2008 23:33:49 GMT Server: Apache/2.2.3 … Læs resten

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

Installing a shiny new Debian Etch as a VMWare Jail Server

mkdir install cd install wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.6-91891.tar.gz wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.6-91891.tar.gz tar zxf VMware-mui-1.0.6-91891.tar.gz tar zxf VMware-server-1.0.6-91891.tar.gz apt-get install linux-headers-`uname -r` x-window-system gcc psmisc // Just accept whatever it says when it asks for screen resolution 10 x default “Read license agreement” Enter … Læs resten

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