2007-11-15 diff tools
Previously, I've [http://debaday.debian.net/2007/05/02/meld-graphical-tool-to-diff-and-merge-files/ written . . .
1K - last updated 2007-11-15 11:02 UTC by 6716
2008-10-16 analyzing a running process
Today I was notified that our custom-developed lab software suite had crashed. Having a look, it turns . . . know. Update: today I saw that [http://debaday.debian.net/2008/10/19/memstat-identify-what-is-using-up-virtual-memory/ . . . Debian Package of the Day highlighted memstat] which . . .
4K - last updated 2008-10-20 06:32 UTC by 6716
2008-12-19 Linux USB device handling
For reading/operating lab instruments like multimeters and power supplies, the [http://en.wikipedia.org/wiki/IEEE-488 . . . file. We want this done automatically on our Debian machines. We already have compiled and repackaged . . .
5K - last updated 2009-01-05 13:54 UTC by 6716
2009-06-06 Getting Chrome running on Fedora
Recently, the [http://dev.chromium.org/getting-involved/dev-channel|alpha builds of Chrome for Linux] . . . became available. Unfortunately, only Debian and Ubuntu packages were released. To get Chrome . . . (apparently these are named differently under Debian and Ubuntu): $ cd /usr $ sudo ln -s libnss3.so . . .
2K - last updated 2009-06-06 08:55 UTC by 6716
2009-12-02 Who is logging in
Who is logging into my Linux workstation? At my most regular workplace (I have several), I have a Debian . . .
1K - last updated 2009-12-02 08:31 UTC by 6716
2010-07-15 Sending email from a Perl script
If you're on Debian or Ubuntu Linux and you want to send a quick e-mail from a Perl script, use the Email::Send . . . but that one doesn't seem to be present in the Debian Stable package repository yet). First, install . . .
1K - last updated 2010-07-15 13:20 UTC by 6716
2010-12-06 Installing OpenOffice in a home directory
To install OpenOffice in a home directory on Debian, take the following steps: Download the tarball with . . .
1K - last updated 2010-12-06 14:17 UTC by 6716
2011-03-03 From which host am I logged in
A previous entry documented on how to change your settings in bashrc, according to from which host you . . . "host" command. Be sure you install this (under Debian and derivatives available with package dns-utils). . . .
2K - last updated 2011-03-03 17:31 UTC by 6716
2011-08-18 Google Chrome on Debian Lenny
The latest packages of Google Chrome won't install anymore on Debian 5.0, nickname Lenny. This is the . . . old stable release of Debian. For the time being, I'm still using Lenny, . . .
1K - last updated 2011-08-30 16:12 UTC by 6716
2012-01-23 Logrotate error for MySQL on Debian 6 Squeeze
When installing a new machine with Debian 6 (Squeeze), I also imported a database from a CentOS 5 box. . . . exited with return code 1 Turns out that Debian needs a user called 'debian-sys-maint' and that . . . and password are configured in /etc/defaults/debian.cnf so write these down, then create the user . . . -u root -p mysql> GRANT SHUTDOWN ON *.* TO 'debian-sys-maint'@'localhost'; mysql> GRANT RELOAD . . . ON *.* TO 'debian-sys-maint'@'localhost'; mysql> GRANT SELECT . . .
2K - last updated 2012-01-23 07:38 UTC by 6716
2012-03-08 Launchctl on OS X
= Comparison of SysV initialization and launchd = If you're an old-school Unix or Linux person, you're . . . manages this for you. Redhat uses chkconfig, Debian uses update-rc.d. * To control specific daemons, . . .
6K - last updated 2013-11-15 21:13 UTC by 6716
2013-03-27 warning Setting locale failed
I was getting the error from all kinds of Linux programs about "setting locale failed". For example, . . . ("C"). = The easy solution = If you're running Debian Linux or some derivative, you may also see the . . . OS X Mountain Lion 10.8.3) to log into my Debian Linux server (running Squeeze). Apparently, . . . with the LANG environment variable that Debian sets by default. That's because under Linux, . . .
3K - last updated 2014-03-28 13:06 UTC by 6716
2013-08-12 Page up and page down with a Logitech Marble on Linux
On Debian 7.x (Wheezy), I'm using the Logitech Trackman Marble. Mine has product number P/N 810-000767, . . .
1K - last updated 2013-08-13 07:54 UTC by 6716
2013-10-01 Find out Debian release name in one line
What you've always wanted: finding out the Debian release name in one commandline: $ lsb_release -a 2>/dev/null . . .
1K - last updated 2013-10-01 11:58 UTC by 6716
2014-05-07 Debian Wheezy interface without an IP address
Today, I needed to configure a machine so it brought up its ethernet interfaces without an IP address. . . . that speak plain ethernet. To configure Debian Wheezy to bring up these interfaces without . . . Stack Overflow] told me to add the following . . .
1K - last updated 2014-05-07 13:12 UTC by 6716
2014-05-16 VNC on Debian Wheezy
I recently discovered that VNC on Debian Wheezy is a bit of a mess. VNC can be used in two modes: to . . . provide Debian packages]. Unfortunately, even for the latest . . .
3K - last updated 2014-08-26 06:08 UTC by 6716
2014-07-10 Unattended upgrades
I'm not normally prone to linking to stuff, but this is just too good: http://www.howtoforge.com/how-to-configure-automatic-updates-on-debian-wheezy . . . Explains how you can get your Debian Wheezy box to automatically update. While this . . .
1K - last updated 2014-07-10 06:07 UTC by 6716
2014-07-25
Today, I found out that on Debian Wheezy, when using XFCE on the desktop and accessed via VNC, the Tab . . .
1K - last updated 2014-07-25 11:27 UTC by 6716
2015-05-09 DenyHosts no longer available on Debian 8.0 Jessie
When I was configuring a new Debian 8.0 ("Jessie") server, I noticed the very useful DenyHosts package . . .
1K - last updated 2015-05-09 19:10 UTC by 6716
2016-03-15
Just a tip for all you Linux-loving fiends out there: after installing a server, no matter how small, . . . sshguard]. It's available on Debian, Ubuntu and all other Debian-derivates. After . . .
1K - last updated 2016-03-15 10:22 UTC by 6716
2016-03-18 Lets Encrypt
Another day, another TLS certificate from the friendly folks at [https://letsencrypt.org Let's Encrypt]! . . . I'm running Debian 8.2 (Jessie) so I took the following steps: . . . # Backports repository deb http://httpredir.debian.org/debian jessie-backports main contrib non-free . . .
2K - last updated 2016-05-16 08:22 UTC by 6716
2016-05-16 Renewing letsencrypt certificates via crontab
Last time, I showed how I installed the LetsEncrypt certificates but not how to automatically renew them. . . . and domain parameters of course. This works on Debian 8.0 so your mileage may vary. #!/bin/sh letsencrypt . . .
2K - last updated 2016-05-16 09:41 UTC by 6716
2023-01-24 Moving server
Today, I'm moving this website to a new server with a new Debian version. This may mean some interruptions. . . .
1K - last updated 2023-03-07 13:46 UTC by bartvk
2023-12-01 Unable to use public key authentication for ssh login on Raspberry Pi
TL;DR: Raspberry Pi OS will reject rsa keys, use another type of key, and copy it to the Pi: % ssh-keygen . . . OS (which is titled "Raspberry Pi OS, a port of Debian Bookworm"). I wanted to use passwordless login . . .
2K - last updated 2023-12-01 08:55 UTC by bartvk
Console fonts
To manually change the font of the console, first you have to know where the fonts reside: * For Slackware: . . . /usr/share/kdb/consolefonts * For Debian: /usr/share/consolefonts * For RedHat and Fedora: . . . has a tool called <tt>setconsolefont</tt>. For Debian, the tool <tt>cosole-setup</tt> exists. RedHat . . .
1K - last updated 2008-02-01 07:58 UTC by 6716
Creating a deb package
= Create a Debian package in 8 steps = Create a directory according to your package name, for instance . . . $ cp ~/superscript usr/local/bin Now create a DEBIAN directory and make it your current dir: $ mkdir . . . DEBIAN $ cd DEBIAN Create a file called ''control'' . . . $ dpkg -s libqhull-dev See also the [http://www.debian.org/doc/debian-policy/ch-controlfields.html . . . Debian policy]. = Don't start from scratch = If you . . .
3K - last updated 2009-01-08 08:46 UTC by 6716
Debian
= Package tools = == dpkg-query == This command is meant to query the package database. Some examples: . . . mysql.h Or use the web frontend at http://www.debian.org/distrib/packages#search_contents If you . . . showpkg libevent1 = Font size issues = A default Debian Testing installation can have both Gnome and . . . the same font size. = Differences in startup = Debian uses the runlevels in a different manner than . . . RedHat and SuSe do. In Debian, runlevel 1 is single-user and runlevel 2 (the . . .
6K - last updated 2014-01-10 12:17 UTC by 6716
Debian guest on CentOS host
The explanation below details the installation of a Debian guest on a Xen host running the CentOS/Red . . . Hat Enterprise Linux 5 kernel. The Debian guest is installed in a logical volume, but . . . file-based image can be booted as well. To get a Debian guest running on an CentOS host, you first need . . . a Debian image file. If you have a running Debian system, . . . --arch x386 etch deb_mnt \ ftp://ftp.nl.debian.org/debian After it's done, unmount and copy . . .
4K - last updated 2007-09-21 07:29 UTC by 6716
Debian Sarge on Xen backup copy
Quick instructions for installing a Debian Sarge VM on Xen http://wiki.xensource.com/xenwiki/DebianSarge . . . mkdir /usr/xen ln -s /usr/xen /opt/xen Bootstrap Debian into a file-based image (note: this is a meager . . . --arch i386 sarge /mnt/disk http://ftp.us.debian.org/debian chroot /mnt/disk /bin/bash cd /etc; . . . steps I needed in customizing the initial debian image: Disable tls libraries in domU mv /lib/tls . . . from "http://mark.foster.cc/wiki/index.php/Debian_Sarge_on_Xen" . . .
3K - last updated 2006-09-24 13:52 UTC by 6716
DutchVirtual
= dv1 configuration notes = * eth1 has IP address 192.168.0.253 * Disks are in s/w raid, partition 1 . . . and for Debian in /etc/network/interfaces * Debian: if you . . . start function to add the -t flag. * Debian: the MAC address is stored in <tt>/etc/udev/rules.d/70-persistent-net.rules</tt>, . . . (CentOS) or /etc/hostname (Debian) * Set nameserver in /etc/resolv.conf * Check . . .
5K - last updated 2008-08-15 10:01 UTC by Bart
Get QEMU running
To get QEMU running, take the following steps: # Download the [http://cdimage.debian.org/pub/cdimage-testing/sarge_d-i/i386/rc3/sarge-i386-netinst.iso . . . Debian minimal boot CD-ROM] # Download the qemu archive . . . deb.img 4G''' # Boot from the CD and install Debian: '''qemu -user-net -boot d -cdrom sarge-i386-netinst.iso . . .
2K - last updated 2005-05-16 06:31 UTC by 6716
Linux
= System Administration = [[Remote_dump]] [[MD5sum]] [[Debian]] -- About apt-get, dpkg and other stuff . . .
2K - last updated 2012-09-14 07:24 UTC by 6716
MySQL
= Installation = Install as usual for your distribution. For Debian, this means: $ sudo apt-get install . . . password == The following procedure works on Debian Linux, but with some adjustments should work . . . where the pmadb wasn't created. For example Debian does this. To rectify this situation, [http://wiki.cihar.com/pma/pmadb . . . the create_tables script somewhere on disk (for Debian, /usr/share/doc/phpmyadmin/scripts/create_tables_mysql_4_1_2+.sql.gz) . . . edit phpMyAdmin its config.inc.php file (for Debian, /etc/phpmyadmin/config.inc.php) and uncomment . . .
8K - last updated 2023-01-30 09:45 UTC by bartvk
Perl
= Help = Help isn't far away: $ perldoc -f keyword = Parameters = Parameters (other word: arguments) . . . you can use the IPC::ShareLite package. For Debian, it's available as a package. In this setup, . . . <log_dir>log</log_dir> </daemon> </egse> On Debian and Ubuntu, the Perl packages will be installed . . .
17K - last updated 2015-06-18 09:03 UTC by 6716
Random Debian Linux Stuff
See [[Debian]] . . .
1K - last updated 2007-11-13 08:09 UTC by 6716
Random Linux Stuff
= Swap caps lock and Escape on the console = If you run Debian, add the following line to /etc/console-tools/remap: . . .
4K - last updated 2007-05-03 07:47 UTC by bvankuik
RT
= Installation on Debian = Install apache, fastcgi, mysql ... from woody. libcgi-fast-perl libfcgi-perl . . . libmysqlclitn10-dev deb http://www.backports.org/debian stable mysql-dfsg http://www.bestpractical.com/rt/draftmanual.pdf . . .
3K - last updated 2006-03-01 09:27 UTC by 6716
Screen
When you're ssh'ing to a specific remote server regularly, [http://www.gnu.org/software/screen/screen.html . . . root root 318836 Sep 11 2004 /usr/bin/screen For Debian (and perhaps derivatives): # chmod 6755 /usr/bin/screen . . .
7K - last updated 2009-05-26 14:24 UTC by 6716
Shared directories
Sometimes you need a couple of users to share a directory, for example a number of developers who test . . . This is outlined below. = Gnome = Under Debian and Ubuntu, you can create a file called $HOME/.gnomerc . . . this under other distributions. = KDE = Under Debian and Ubuntu, you can create a directory called . . .
2K - last updated 2009-10-28 10:47 UTC by 6716
SVN
I've written about the differences between SVN and CVS and the usage of the plugins in Eclipse, see also . . . be found in the Apache configuration file. For Debian, this is /etc/apache2/mods-enabled/dav_svn.conf. . . . And Apache needs read/write access. For Debian, this is done with a quick: $ chmod -R www-data:www-data . . .
17K - last updated 2014-04-11 10:18 UTC by 6716
User Mode Linux and Fedora Core 3
User Mode Linux (UML) is pretty amazing: you run a complete Linux installation ''inside'' your normal . . . # Unpack the image and move it . . . to your UML directory: <tt>mv Debian-3.0r0.ext2 ~/uml</tt> # Now do a test run: $ . . . cd ~/uml</tt> $ ./vmlinux udb0=Debian-3.0r0.ext2</tt> If all's well, a boot sequence . . . of options for networking: $ ./vmlinux ubd0=Debian-3.0r0.ext2 eth0=ethertap,tap0,fe:fd:0:0:0:1,10.0.0.37 . . .
5K - last updated 2006-02-02 09:20 UTC by 6716
Using Screen
= THIS IS AN OLD VERSION = PLEASE CHECK THE MORE RECENT PAGE: [[Screen]]. When you're ssh'ing to a specific . . . root root 318836 Sep 11 2004 /usr/bin/screen For Debian (and perhaps derivatives): # chmod 6755 /usr/bin/screen . . .
6K - last updated 2009-05-20 09:04 UTC by 6716
Vim
[http://www.moolenaar.net/habits.html Tips from Bram], be sure to read them. = Interaction with X = Vim . . . --enable-gui && make</tt>. On Debian and derivatives, you'll need the xorg-dev package, . . . It comes with most Linux distributions. For debian, install as follows: $ apt-get install exuberant-ctags . . . here is my favorite stanza to compile vim on Debian Linux (Squeeze): $ ./configure --prefix=$HOME/opt/vim73 . . . exhuberant ctags installed; if you're running Debian, type: $ sudo apt-get install exuberant-ctags . . .
9K - last updated 2014-12-12 08:11 UTC by 6716
Xen
= Tips = == Mounting == If you do a straight install of CentOS to an image with <tt>virt-manager</tt>, . . . = Xen and CentOS 5 = [[Scratch_CentOS_5]] [[Debian_guest_on_CentOS_host]] [[Optimizing_CentOS_as_a_virtual_machine]] . . . = Xen and Debian = [[Xen_on_Debian_installation_notes]] http://www.debian-administration.org/articles/304 . . . http://www.debian-administration.org/articles/360 Xen Networking . . . http://mark.foster.cc/wiki/index.php/Debian_Sarge_on_Xen ([[Debian_Sarge_on_Xen_backup_copy]]) . . .
3K - last updated 2011-09-29 09:58 UTC by 6716
Xen on Debian installation notes
= Packages = Install the following packages: sudo make gcc less libc6 libc6-dev bzip2 patch zlib And . . .
1K - last updated 2007-06-08 10:59 UTC by 6716
Yum
I've seen my share of Yum problems, because I run yum on low memory systems (256-512 MB) and yum needs . . . a gig or so to run comfortably. Never mind that Debian has this problem solved long ago, but hey -- . . .
2K - last updated 2011-09-07 07:07 UTC by 6716
46 pages found.