Get number of files in current directory in linux
Friday, March 30th, 2012 Posted in Andet, Linux | No Comments »You can use this command to get the list of the number of file in current directory [crayon-4fb71735023e5/] [crayon-4fb71735024ad/] [crayon-4fb7173502563/] [crayon-4fb7173502612/]
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 ...
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 ...
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 ...
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 ...
Tweaking mySQL in Debian
Monday, September 1st, 2008 Posted in Computer, Linux | No Comments »This guide is not complete to tweak you mySQL on Debian systems, because a good tweak is depending on what you want to use mySQL to. Key Buffer: The key buffer holds the indexes of tables in memory, and of cause a ...
Tæl antal linier i en fil
Saturday, August 2nd, 2008 Posted in Linux | No Comments »Jeg havde en fil liggende som jeg vil have talt for mange linier der var i. Her kommer linux programmet wc ind i billedet, filen jeg vil tælle hed installedpackages. wc –l installedpackages
Apache and multiple SSL virtual host on same IP address
Tuesday, July 8th, 2008 Posted in Computer, Linux, Windows | 2 Comments »In standard way, apache only supports one SSL virtual host per IP address, if you want to use different SSL Certificates file. But with mod-gnutls it is possible to have multiple Virtual host with different SSL Certificates file. Install mod-gnutls in ...
Opgraderingen til Apache 2 fra Apache 1.3 og danske bogstaver
Tuesday, July 1st, 2008 Posted in Linux | No Comments »Jeg har her til aften opgraderet en webserver fra Apache 1.3 til 2.0, herefter var alle danske bogstaver rettet af alle muligt mærkelige tegn. Dette kan nemt rettes i apache2.conf filen, som ligger i /etc/apache2/apache2.conf (I hvert fald hvis du kører ...
Problems with apt-get in Debian (NO_PUBKEY A70DAF536070D3A1)
Tuesday, July 1st, 2008 Posted in Computer, Debian, Linux | No Comments »I got this error: W: GPG error: http://security.debian.org testing/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1 W: GPG error: ftp://ftp.port80.se testing Release: The following signatures couldn't be verified because the public key is ...