Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Archive for the ‘Linux’ Category

Get list of installed programs from dead disk ubuntu debian

Tuesday, May 24th, 2011 Posted in Debian | No Comments »

If you have a dead installation, some will not boot you can use this commands, to get the list of installed programs. grep -B 1 \ "^Status: install ok installed$" /media/recovery2/var/lib/dpkg/status | \ awk '/^Package:.*$/{print $2"\t\tinstall"}' | \ sort > package.list And this command to ...

Ubuntu and (dot).local addresses – Avahi

Thursday, August 26th, 2010 Posted in Debian, Linux | No Comments »

I have a Ubuntu server where there was a problem with .local address, i could't look up the zone from the server. After a little search i found that Avahi (Zeroconf) was the problem. The default setup of Avahi, is to look ...

Quick pingscan with nmap (ipscan / ip scan)

Thursday, May 20th, 2010 Posted in Debian, Linux | No Comments »

root@ubuntu-server:~# nmap -sP 10.45.1.1-255 Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-20 13:12 CEST Host 10.45.1.1 is up. Host 10.45.1.2 is up (0.0011s latency). MAC Address: 00:19:E0:12:26:1E (Tp-link Technologies Co.) Host 10.45.1.20 is up (0.040s latency). MAC Address: 00:1C:C4:0C:66:5F (Hewlett Packard) Host 10.45.1.30 is up (0.00093s latency). MAC ...

QMAIL + VPOPMAIL (with MySQL accounts) + COURIER-IMAP + Roundcube, QMAIL-SCANNER + CLAM ANTIVIRUS + SPAMASSASSIN

Wednesday, May 19th, 2010 Posted in Debian, Linux | No Comments »

I have get the permission to copy paste this great guide and keep it updated. The Guide will soon come in a updated version on this homepage. Link to the Original is online here: http://www.bowe.id.au/michael/isp/webmail-server.htm INSTALL UCSPI-TCP cd /usr/local/src wget http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz wget http://www.qmail.org/ucspi-rss.diff tar xzf ucspi-tcp-0.88.tar.gz chown ...

Vmware ESX 3.5 and Dell openmanage

Monday, May 17th, 2010 Posted in Computer, Dell, Linux, Windows | No Comments »

First you need to install: http://www.vmware.com/download/download.do?downloadGroup=VI-RCLI-U2 This is a vmware Remote CLI tools. Install it on a windows machine. After you install remember to log out and the log in, else you will get some error about libxml.dll cannot be found. Then download Dell ...

Vmware ESXi (ESX) 4.0 and Dell Openmanage SNMP Traps

Tuesday, April 27th, 2010 Posted in Dell, Linux, Windows | No Comments »

First you need to install: http://www.vmware.com/downloads/download.do?downloadGroup=VCLI40U1 This is a vmware CLI tools. Install it on a windows machine. After you install remember to log out and the log in, else you will get this error: Can’t load ‘C:/Program Files/VMware/VMware VI Remote CLI/Perl/site/lib/auto/XML/LibXML/Common/Common.dll’ for ...

Pureftpd (Ubuntu / Debian)

Tuesday, March 23rd, 2010 Posted in Debian, Linux | No Comments »

Setting up Pure ftpd to run on certains port is very simple. Log on to you linux box and run this command: echo "60010 60030" > /etc/pure-ftpd/conf/PassivePortRange /etc/init.d/pure-ftpd restart or if you run mysql as a backend /etc/init.d/pure-ftpd-mysql restart Now you just need to forward port ...

mySQL – Table is marked as crashed and should be repaired

Thursday, October 15th, 2009 Posted in Debian, Linux, Windows | No Comments »

if you got this error: Table <TableName> is marked as crashed and should be repaired This could be fixed by go to the path where mysql database files is located, on Debian this will be /var/lig/mysql Go into the database where the crashed ...

Problems with apt-get in ubuntu (NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6)

Tuesday, June 30th, 2009 Posted in Debian | 2 Comments »

I got this error: W: GPG error: http://mirrors.sunsite.dk stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6 W: You may want to run apt-get update to correct these problems This can be resolve ...

Debian packages cpio failes to be updated

Saturday, November 8th, 2008 Posted in Debian | No Comments »

If you have some troubles upgrading cpio, it returns this error: Preparing to replace cpio 2.6-18 (using .../cpio_2.6-18.1+etch1_i386.deb) ... Unpacking replacement cpio ... Replaced by files in installed package tar ... dpkg: error processing /var/cache/apt/archives/cpio_2.6-18.1+etch1_i386.deb (--u ...