2008-06-25

PIDs Littler Than 300 Reserved?

在 ubuntu 6.06.2 上试验了一下, pid 长到 32767 之后, 新的 pid 并不是从 1 开始分配的, 而是从 300 开始, 貌似系统给自己预留了一些 :-)

2008-06-13

[Ubuntu] Packages being kept back

# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
openssh-client openssh-server
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
# apt-get install openssh-client openssh-server
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
openssh-blacklist
Suggested packages:
rssh
The following NEW packages will be installed:
openssh-blacklist
The following packages will be upgraded:
openssh-client openssh-server
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2909kB of archives.
After unpacking 4280kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com dapper-updates/main openssh-blacklist 0.1-1ubuntu0.6.06.1 [2125kB]
Get:2 http://us.archive.ubuntu.com dapper-updates/main openssh-server 1:4.2p1-7ubuntu3.4 [207kB]
Get:3 http://us.archive.ubuntu.com dapper-updates/main openssh-client 1:4.2p1-7ubuntu3.4 [577kB]
Fetched 2909kB in 45s (63.6kB/s)
Preconfiguring packages ...
Selecting previously deselected package openssh-blacklist.
(Reading database ... 93922 files and directories currently installed.)
Unpacking openssh-blacklist (from .../openssh-blacklist_0.1-1ubuntu0.6.06.1_all.deb) ...
Preparing to replace openssh-server 1:4.2p1-7ubuntu3.3 (using .../openssh-server_1%3a4.2p1-7ubuntu3.4_i386.deb) ...
Unpacking replacement openssh-server ...
Preparing to replace openssh-client 1:4.2p1-7ubuntu3.3 (using .../openssh-client_1%3a4.2p1-7ubuntu3.4_i386.deb) ...
Unpacking replacement openssh-client ...
Setting up openssh-blacklist (0.1-1ubuntu0.6.06.1) ...
Setting up openssh-client (4.2p1-7ubuntu3.4) ...

Setting up openssh-server (4.2p1-7ubuntu3.4) ...
* Restarting OpenBSD Secure Shell server... [ ok ]

#

2008-06-06

Quick Reference Cards

Quick Reference Cards - http://www.digilife.be/

How to uninstall Apps in Mac OS X

-- apple mac os x uninstall --

[Ubuntu 6.06] Disable IPv6

系统启动到 IPv6 over IPv4 tunneling driver 时候 hang 住了

2008-06-05

Hex Editors

  • apt-cache search -n hex
  • apt-get install hexedit
  • apt-get install hexer
  • apt-get install hexcurse
  • apt-get install ncurses-hexedit
--
hex edit editor

2008-06-04

2008-05-31

How to enable single window mode in Safari

After browsing for a few hours in Safari it's possible to end up with a dozen windows or so because of links that open a new window (links with target="_blank"). I've always wished there was a way to have these links open in a new tab instead of a new window (sometimes referred to as single window mode).

In the latest Safari 3.1 Apple finally added a (hidden) preference! To enable single window mode and have all links open in a new tab that would normally have opened in a new window, we only need to enable the TargetedClicksCreateTabs preference using the following command (paste it into Terminal):

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

You might need to restart Safari before the setting is taken into effect. To disable the setting again, run the same command with false instead of true.

Have fun!

-- From http://www.naquah.net/

2008-05-22

2008-05-17

Ubuntu 8.04

前天收到了从 Netherland 寄来的 Ubuntu 8.04 的 CD, 里面已经 officially 包含了 Wubi 安装程序, 在 Windows XP 上安装了一下, 很顺畅, 没遇到什么麻烦, 只是在安装过程中有个进度条竟然到了 128%, 应该是个小 bug. 启动之后使用正常, 只发现一点儿小问题: 音量控制不起作用.

2008-05-15

Securing and Optimizing Linux

Securing and Optimizing Linux - RedHat Edition - A Hands on Guide

2008-05-09

PuttyCyg

PuttyCyg - code.google.com

--
putty cygwin

Layer 4-7 Switching

Layer 4 switching: The magic combination - NetworkWorld.com
Multilayer Switch - Wikipedia.org

A Layer 7 Switch performs wire-speed processing of packet header content, not only at Layer 2 or Layer 3, but also at the transport layer (Layer 4) up through the application layer (OSI’s Layer 7). Layer 7 switch integrates routing and switching by forwarding traffic at layer 2 speed using layer 7 information. For example, an XML switch can analyze the XML tags at the application level and make forwarding decisions. -- javvin.com

Readers' Choice Awards 2008

Readers' Choice Awards 2008

Parted Magic

Parted Magic is a Linux LiveCD/USB/PXE with its elemental purpose being to partition hard drives.

Optimized at approximately 45MB, the Parted Magic OS employs core programs of GParted and Parted to handle partitioning tasks with ease, while featuring other useful programs (e.g. Partition Image, TestDisk, fdisk, sfdisk, dd, ddrescue, etc.) and an excellent set of documentation to benefit the user. An extensive collection of fileystem tools are also included, as Parted Magic supports the following: ext2, ext3, ext4, fat16, fat32, hfs, hfs+, jfs, linux-swap, ntfs, reiserfs, reiser4, and xfs.

The latest version is updated with: Linux 2.6.24.3, Parted 1.8.8, ntfsprogs-2.0.0, ntfs-3g-1.2506, and GParted-0.3.7.

Parted Magic uses Busybox for basic Unix commands and networking, the Dropbear SSH server and client, and Firefox to surf the web.

The current Xserver is xorg-server-1.4.0.90 with the following drivers: apm, ark, ati, chips, cirrus, cyrix, glint, i128, i740, i810, mga, neomagic, nv, r128, riva128, radeon, rendition, s3, s3virge, savage, siliconmotion, sis, tdfx, tga, trident, tseng, vesa, vmware, and voodoo.

The mini Xserver, Xvesa, is also available.

Parted Magic falls under the terms of the GPL.

2008-05-04

LDAP Docs

LDAP related RFCs - bind9.net
LDAP related RFCs - ldapman.org