Differences

This shows you the differences between two versions of the page.

build:misc [2010/03/03 15:33]
99.100.133.164 old revision restored
build:misc [2010/08/02 10:03] (current)
64.242.52.33 old revision restored
Line 109: Line 109:
===== Network Tools ===== ===== Network Tools =====
-Note that netcat apparently gets installed by default in Debian 4.0.+Note that netcat apparently gets installed by default in Debian 5.0.
Tcpdump is a good tool for monitoring packets going across the wire. It's helpful when troubleshooting network protocol issues. Tcpdump is a good tool for monitoring packets going across the wire. It's helpful when troubleshooting network protocol issues.
Line 183: Line 183:
The following is used to force automatic logouts for shells that are not within an X session, for security purposes. This can also be done from the SSH daemon. The following is used to force automatic logouts for shells that are not within an X session, for security purposes. This can also be done from the SSH daemon.
 +
<code bash> <code bash>
sudo sh -c 'cat > /etc/profile.d/autologout.sh' << EOF sudo sh -c 'cat > /etc/profile.d/autologout.sh' << EOF
Line 201: Line 202:
===== Python ===== ===== Python =====
 +
<code bash> <code bash>
sudo apt-get install -y python sudo apt-get install -y python
Line 206: Line 208:
===== Security ===== ===== Security =====
 +
GNU Privacy Guard is a clone of PGP. The command-line utility is called ''gpg'' and the package is called ''gnupg''. It's now installed by default. GNU Privacy Guard is a clone of PGP. The command-line utility is called ''gpg'' and the package is called ''gnupg''. It's now installed by default.
- 
-==== Logging ==== 
- 
-Edit ''/etc/logrotate.conf'' to change the ''rotate'' option for ''/var/log/wtmp'' from ''1'' to ''25'', and ''/var/log/btmp'' from ''1'' to ''13''. 
- 
-This step logically belongs on the [[logging]] or [[security]] pages, but [[logging]] hasn't be updated in three years and is not being used on installations, and [[security]] is mostly dealing with SSL keys.  So put it here for now. 
===== Documentation ===== ===== Documentation =====
 +
<code bash> <code bash>
sudo apt-get install -y doc-base sudo apt-get install -y doc-base
Line 220: Line 218:
===== Other ===== ===== Other =====
 +
<code bash> <code bash>
sudo apt-get install tree sudo apt-get install tree
Line 225: Line 224:
''bc'' for doing simple math. ''bc'' for doing simple math.
 +
<code bash> <code bash>
sudo apt-get install bc sudo apt-get install bc
Line 230: Line 230:
Deferred execution scheduler to supplement cron. NOTE: Wait until after installing Postfix to install this; otherwise, it will require exim4 to be installed. Deferred execution scheduler to supplement cron. NOTE: Wait until after installing Postfix to install this; otherwise, it will require exim4 to be installed.
 +
<code bash> <code bash>
sudo apt-get install at sudo apt-get install at
Line 235: Line 236:
The ''[[http://betterthangrep.com/ | ack]]'' command is a nice replacement for ''grep''. It does the "right thing" in many ways better than grep -- ignores non-text files, backup files, SVN/GIT repositories, etc. For Debian 5.0+ systems, we can simply install the package: The ''[[http://betterthangrep.com/ | ack]]'' command is a nice replacement for ''grep''. It does the "right thing" in many ways better than grep -- ignores non-text files, backup files, SVN/GIT repositories, etc. For Debian 5.0+ systems, we can simply install the package:
 +
<code bash> <code bash>
sudo apt-get install ack-grep sudo apt-get install ack-grep
sudo sh -c 'echo "alias ack=ack-grep" >> /etc/bash.bashrc' sudo sh -c 'echo "alias ack=ack-grep" >> /etc/bash.bashrc'
</code> </code>
 +
 +===== TODO =====
 +
 +There's no /etc/profile.d in Debian 5.0, so the idle auto-logout doesn't work.
 
build/misc.1267651988.txt.gz · Last modified: 2010/03/03 15:33 by 99.100.133.164
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki