This article was first written in July 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/284).
This article mainly describes several tricks to admin a CVS install on RHFC2.
Adding a user
Adding a user for pserver is done by updating the CVSROOT/passwd file in the CVS modules repository. The passwords there are encrypted using the htpasswd utility, so use it like this:
cd /home/cvs/cvsroot/CVSROOT htpasswd passwd user1 Please enter password: _
If the user is not a system user, you need to add a little something to the passwd file to authorize him as another user. Guessing that the CVS system user on that server is called “cvs”, update the corresponding line in passwd by trailing “:cvs”.
If needed (it shouldn’t be) restart the server by restarting xinetd.
Removing a user
Removing a user is done the same way as adding one, except for the command line being
htpasswd -D passwd user1
This article was first written in July 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/283).
Console Registry Tool for Windows - version 3.0 Copyright (C) Microsoft Corp. 1981-2001. All rights reserved REG EXPORT KeyName FileName Keyname ROOTKEY\SubKey (local machine only) ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ] SubKey The full name of a registry key under the selected ROOTKEY FileName The name of the disk file to export REG IMPORT FileName FileName The name of the disk file to import (local machine onl
Some common keys to backup
REG EXPORT "HKCU\Software\SimonTatham" "D:\PuTTY.050704.reg" REG EXPORT "HKCU\Software\Martin Prikryl" "D:\WinSCP2.050704.reg" REG EXPORT "HKCU\Software\TortoiseCVS" "D:\TortoiseCVS.050704.reg" REG EXPORT "HKCU\Software\pgAdmin III" "D:\pgAdmin3.050704.reg" REG EXPORT "HKCU\Software\FileZilla" "D:\FileZilla.050704.reg" REG EXPORT "HKCU\Software\Star-Tools" "D:\MySQL-Front.050704.reg"
We have extensive knowledge in the following Free Software (in no particular order):
- Linux (2.4 and 2.6)
- Debian / Ubuntu / Librassoc / IPcop
- Samba (2.x and 3.x)
- Apache (1.x and 2.x)
- PostgreSQL (7.x, 8.x)
- MySQL (3.x, 4.x and 5.x)
- PHP (4.x, 5.x)
- Exim (3.x and 4.x)
- Courier (IMAP/POP3)
- XAMS / Postfix Admin
- Dolibarr (2.x beta)
- Dokeos & Dokeos videoconference tool
- Tulip IDE
- GNOME (1.4 and 2.x)
- Evolution (1.x and 2.x)
- Mozilla / Firefox / Galeon / Epiphany / Thunderbird / Sunbird
- Software RAID
- Zebra / Quagga
- DCL (Double Choco Latte)
- Drupal (5.x, 6.x)
We have experience in running those (and more) on many hardware platforms, like:
- Digital Alpha
- PowerPC (Mac and IBM)
- ARM (iPaq)
- Motorola 68k (Mac and Sun)
We have as well experience in setting up free building environments, distributed or not, for many different programming languages.
This article was first written in July 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/281).
This article was first written in July 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/280).
Here is an example on how to configure a DHCP server on a Cisco router.
ip domain-name 220.127.116.11 ip dhcp excluded-address 192.168.64.1 ip dhcp excluded-address 192.168.1.7 ip dhcp pool DHCPPool import all network 192.168.64.0 255.255.255.0 dns-server 18.104.22.168 22.214.171.124 default-router 192.168.64.253 option 150 ip 10.31.1.107
Note that the DHCP pool is 192.168.64.0/24 and that there are excluded addresses. Note also there is an extra option (here TFTP-server) configured. Everything else should be straight-forward for anybody accustomed with DHCP servers configuration.
This article was first written in July 2005 for the BeezNest technical website (http://glasnost.beeznest.org/articles/282).
A Debian system can take more and more disk space as you install new packages. Let’s see how we can detect which packages are no longer used (unsused/obsolete/transitional) and clean them if we are sure we don’t need them anymore.
First, it is good to know that when you use apt (apt-get, aptitude, dselect, synaptic, …) the files downloaded are stored in /var/cache/apt/archives, and never cleaned. To clean them, use the following:
- to clean obsolete packages (packages of version which would not be installed if requested now)
$ sudo apt-get autoclean
- to empty all /var/cache/apt/archives/*.deb
$ sudo apt-get clean
If using aptitude, it keeps a track of packages taken to fulfill dependencies to other packages, so not installed explicitely, which allows to remove packages when the package that needed it is removed.If using another apt tool, it does not keep such information, so there are probably dependencies left after a removal.
To keep track anyway of these dependencies, Debian provides the debfoster tool.
To detect such orphaned packages, Debian provides the deborphan tool.
When used without parameters, it only lists the libraries on which no package depends.
I suggest using the following parameters, which list all orphaned packages, with their respective sizes (works only starting from Sarge).
$ deborphan -az
And I personally sort them to first remove the biggest ones.
$ deborphan -az | sort -n
There are lots of locales supported by Debian packages, which may take up quite a lot of disk space. The Debian tool localepurge permits to wipe the unused locales.
When upgrading from one Debian release to another, some packages maybe left without being of any use, and are pretty difficult to track. To detect them, Debian provides the apt-show-versions tool.
There are also many transitional dummy packages that exist only for the upgrade to happen smoothly. To detect them:
$ dpkg -l|grep dummy $ dpkg -l|grep transitional $ dpkg -l|grep obsolete