Grep .gz files on linux
Tuesday, June 3rd, 2008 Posted in Linux | No Comments »I was looking to a method to search a lot of .gz files through. It was some logfiles, you can use zgrep to do this. Example: zgrep 'Search word' /path/to/yours.gz So I do this to search a lot of gz files through: Zgrep '130.226.165.XXX' ...
Vmware Server 1.0.5-80187 on Ubuntu 8.04
Monday, June 2nd, 2008 Posted in Computer, Debian, Linux | No Comments »I have some trouble install vmware-mui on my Ubuntu 8.04. I got it fix, doing this: ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib/libcrypto.so.4 ln -s /usr/lib/vmware-mui/lib/libssl.so.4 /lib/libssl.so.4 ln -s /usr/lib/vmware-mui/lib/libcrypto.so.4 /lib/libcrypto.so.4 And after that i edit /etc/init.d/httpd.vmware And go line 256. I change so that vmware_exec "Starting httpd.vmware:" vmware_start_httpd is ...
Debian and build a package from source
Tuesday, March 11th, 2008 Posted in Debian, Linux | No Comments »I want to build pure-ftpd from source becurs my debian server dosent support capabilities. So first i download the package: host:/usr/local/src/# cd /usr/local/src host:/usr/local/src/# apt-get -b source packagename Then i change the debian/rules files in the package, so that pure-ftpd not support capabilities. (--without-capabilities) host:/usr/local/src/# ...
Linux RAID og nye diske
Wednesday, August 29th, 2007 Posted in Linux | No Comments »Nå man vil komme en ny disk i sit raid og ens bootloader er grub, skal man huske efter man har tilføjet disken til raidet, at tilføje den nye disk til grup. (Installere grub på den), ellers kan man ikke ...
Debian: Installing the same packages on another machine
Friday, April 28th, 2006 Posted in Debian | No Comments »1) dpkg --get-selections > list.txt --- do this on source system move "list.txt" to target system 2) dpkg --set-selections < list.txt --- do this on target system 3) dselect install
Debian Unstabe NO_PUBKEY
Wednesday, April 19th, 2006 Posted in Linux | No Comments »When you run apt-get in Debian Unstable, you can get a error like this: W: GPG error: ftp://ftp.se.debian.org unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: You may want to run apt-get ...
Mini howto to install PHP5 on Debian from source
Saturday, September 3rd, 2005 Posted in Linux | No Comments »Mini howto to install PHP5 on Debian from source Installation of PHP5, on Debian Sarge 3.1 apt-get install \ libxml2 \ libc-client-dev \ libgmp3-dev \ libgmp3-doc \ libmpfr-dev \ libpng2-dev \ libpng2 \ libjpeg62-dev \ libgdbmg1 \ libgdbm-dev \ libc6-dev \ libbz2-dev \ bzip2 \ zlib1g-dev \ zlib1g \ apache-dev \ g++ ...
Qmail: Vpopmail & SSL
Thursday, August 25th, 2005 Posted in Linux | No Comments »Mini howto's about putting ssl on Vpopmail. My Qmail is running after this guide: http://www.pipeline.com.au/staff/mbowe/isp/webmail-server.htm apt-get install stunnel4 mkdir -p /var/log/qmail/pop3d-ssl/ chown -R qmaill.nofiles /var/log/qmail/pop3d-ssl/ mkdir -p /var/qmail/supervise/qmail-pop3d-ssl mkdir -p /var/qmail/supervise/qmail-pop3d-ssl/log /var/qmail/supervise/qmail-pop3-ssl/run #!/bin/sh exec /usr/local/bin/softlimit -m 4000000 /usr/local/bin/tcpserver -H -R -v -l annsofie.dumdidum.dk -c100 0 995 /usr/sbin/stunnel4 /var/qmail/control/pop3s.conf 2>&1 /var/qmail/supervise/qmail-pop3d-ssl/log/run #!/bin/sh # Keep 30 logs ...