Skip to main content

Posts

Showing posts from 2010

Lingo: Destructive Buy-in

Lingo: Destructive Buy-inDefinition: Enough buy-in from employees and/or management to approve an idea or project, but not enough buy-in to execute it successfully.

Origin: Corporate lore from a now-defunct biotech firm in MA, USA. First seen in an early Scott Adams interview in the form "destructive agreement".

How do I find which package contains a certain file?

What to do if you need to install or build a package on Linux and it wants a missing file/library/etc... Have you ever tried to install package or some vendor software, only to find that the install fails due to a missing library? Here is a collection of methods for finding the package that contains the missing file.

Red Hat Enterprise Linux/CentOS Using yumyum whatprovides /full/path/to/missing/filename Note: In all of these processes, fill in the actual filename and path for which you are looking.

Using rpmfind siteBrowse to http://rpm.pbone.net/index.php3/stat/2/simple/2Enter filename or /full/path/to/missing/filename in the search box (start with just the filename)Check boxes of rpm-based distributions in which you want to searchClick search Debian/Ubuntu apt-filesudo aptitude install apt-file sudo apt-file update apt-file search filename or
apt-file search /full/path/to/missing/filename Using Debian's websiteBrowse to http://www.debian.org/distrib/packagesScroll to …

Local-link Address (LLA, 169.254.0.0/16) networking on Debian/Ubuntu Linux How To

Instructions for connecting external IP devices to the second NIC on a Debian/Ubuntu box using Local-link Address networking (169.254.0.0/16) e.g. connecting a Axis 206M camera.

Install on the Debian/Ubuntu PC:

dhcp3-serveravahi-autoipd To configure dhcpd, add the following lines to /etc/dhcp3/dhcpd.conf:

subnet 169.254.0.0 netmask 255.255.0.0 { range 169.254.8.2 169.254.8.20; } Add a route to 255.255.255.255 to the second NIC in order to send UDP broadcast traffic to it. This is accomplished by the last two lines below in /etc/network/interfaces:

% cat /etc/network/interfaces auto lo eth0 eth1 iface lo inet loopback address 127.0.0.1 netmask 255.0.0.0 iface eth0 inet dhcp iface eth1 inet dhcp post-up route add -net 255.255.255.255 netmask 255.255.255.255 metric 99 dev eth1 post-down route del -net 255.255.255.255 netmask 255.255.255.255 metric 99 dev eth1

Idea: Relatively Reliable Ram Drive Server

Idea:Relatively Reliable Ram Disk Server (specs updated 2012-Q2)
Two commodity servers

Parts (for each)
MB with 8 or 16 DIMM slots Two 10G ethernet cards for storageSATA RAIDFour smallish enterprise drives:Two drives in a mirrored pair for OSTwo drives for backing store32GB DIMMs of ECC Registered RAMParts for file server node
Bonded pair of 1G or 10G cardsBuilding
Make a large RAM disk on each (leave 2GB for OS)On one machine:Share the RAM disk with the other machine via one crossover network (one of the 10G cards on each machine) via iSCSIShare pair of backing drives via iSCSI On other machine (file server)Using md, on each, mirror the iSCSI RAM disk to the local RAM disk.Make a filesystem on mirrored RAM diskShare RAM filesystem via NFS and SAMBA.Combine iSCSI drives and local drives into RAID 0+1 backing store. Make journaled filesytem on backing store disk. Mount backing storePut each server on a sizable independent UPS with a serial/USB monitor to smooth out uptime (5h-10h)
Configu…