Kategoriarkiv: Knowledge Base

Se film på en Acer Aspire One Linpus

Denne guide omhandler hvordan man kan komme til og se film på en Acer Aspire One med Linpus på. I indlægget vil jeg kalde computeren AA1, og jeg vil bruge eksterne henvisninger til downloads, så jeg garantere desværre ikke for … Læs resten

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

OsTicket can not view attachments receive through pipe

Make sure /var/www/attachment is writeable to the user running pipe and also make sure that attachments are readable by the webserver. A very crude way of ensure this is like this: ./api/pipe.php: 112 if($filename && $cfg->canUploadFileType($filename)) { 113 $ticket->saveAttachment($filename,$part->body,$msgid,’M’); 114 … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Redirecting webpage requests throug mod_rewrite (new domain/path)

Redirection from http://example.net/subdir/foo.php?bar=test to http://example.com/subdir2/foo.php?bar=test .htaccess file: RewriteEngine On RewriteRule subdir/(.*) http://www.musicondemand.dk/subdir2/$1 [R]

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

Convert a iso-8859-1 charset file into a utf-8 charset file using standard Linux tools.

iconv –from-code=ISO-8859-1 –to-code=UTF-8 iso.txt > utf.txt

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

Fixing eth assignment in copied vmware debian guest

When copying a vmware image with a debian guest os, the mac adress changes, and the next nic is called eth1. To fix this, remove the old declaration and replace it with the correct one in: /etc/udev/rules.d/z25_persistent-net.rules Example: # PCI … Læs resten

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

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

Nulstil alle porte på en Cisco 3550

interface FastEthernet0/1 no switchport no ip address exit interface FastEthernet0/2 no switchport no ip address exit interface FastEthernet0/3 no switchport no ip address exit interface FastEthernet0/4 no switchport no ip address exit interface FastEthernet0/5 no switchport no ip address exit … Læs resten

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