User Tools

Site Tools


build:misc

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
build:misc [2012/12/10 22:41]
127.0.0.1 external edit
build:misc [2014/09/03 12:05] (current)
Admin Add email clients.
Line 102: Line 102:
 ==== mail command line utility ==== ==== mail command line utility ====
  
-The ''​mail''​ command line utility is not installed by default, causing several scripts ​thet rely on it to fail. Previously, we used the ''​mailx''​ variant, which is in the bsd-mailx''​ package in Debian Squeeze (6.0). For Debian Squeeze, we chose to go with the GNU ''​mailutils''​ package instead. It works with a wider range of mail sources, including Maildir folders, and even IMAP. The package also includes the ''​movemail''​ command and a ''​sieve''​ client for configuring mail filters over the SIEVE protocol.+The ''​mail''​ command line utility is not installed by default, causing several scripts ​that rely on it to fail. Previously, we used the ''​mailx''​ variant, which is in the ''​bsd-mailx''​ package in Debian Squeeze (6.0). For Debian Squeeze, we chose to go with the GNU ''​mailutils''​ package instead. It works with a wider range of mail sources, including Maildir folders, and even IMAP. The package also includes the ''​movemail''​ command and a ''​sieve''​ client for configuring mail filters over the SIEVE protocol.
  
 NOTE: Wait until after installing Postfix to install this; otherwise, it will force exim4 to be installed. NOTE: Wait until after installing Postfix to install this; otherwise, it will force exim4 to be installed.
Line 214: Line 214:
  
 ===== Perl ===== ===== Perl =====
- 
  
 <code bash> <code bash>
 sudo apt-get install perl perl-modules perl-doc sudo apt-get install perl perl-modules perl-doc
 +</​code>​
 +
 +
 +===== Java =====
 +
 +We want to install "​headless"​ JRE, so that we don't need X11 libraries. It'd be nice to have Java 7 in addition to Java 6, but Debian 6 does not have Java 7 packages available. We'd like to install the JDK, but it requires X11 for some reason, so we'll do all our development and compiling on our desktops.
 +
 +<code bash>
 +sudo apt-get install openjdk-6-jre-headless openjdk-6-doc
 +sudo sh -c 'cat > /​etc/​profile.d/​java.sh'​ <<EOF
 +JAVA_HOME='/​usr/​lib/​jvm/​java-6-openjdk'​
 +export JAVA_HOME
 +EOF
 </​code>​ </​code>​
  
Line 223: Line 235:
 ===== Shells ===== ===== Shells =====
  
-Install nearly every shell know to UNIX-kind.+Install nearly every shell known to UNIX-kind.
  
 <code bash> <code bash>
Line 230: Line 242:
 sudo apt-get install csh sudo apt-get install csh
 sudo apt-get install zsh zsh-doc sudo apt-get install zsh zsh-doc
 +</​code>​
 +
 +
 +===== Email =====
 +
 +We're going to install a couple email clients, for those who like to read email via a TUI.
 +
 +<code bash>
 +sudo apt-get install mutt
 +sudo apt-get install nmh
 </​code>​ </​code>​
  
Line 305: Line 327:
 sudo mkdir -p /​usr/​local/​share/​man/​man1 sudo mkdir -p /​usr/​local/​share/​man/​man1
 sudo ln -s /​usr/​share/​man/​man1/​ack-grep.1p.gz /​usr/​local/​share/​man/​man1/​ack.1p.gz sudo ln -s /​usr/​share/​man/​man1/​ack-grep.1p.gz /​usr/​local/​share/​man/​man1/​ack.1p.gz
 +</​code>​
 +
 +
 +===== Custom Scripts =====
 +
 +We've created some custom system administration scripts to make things easier for ourselves. We keep them on GitHub, but we'll download them as a ZIP file for simplicity'​s sake.
 +
 +<code bash>
 +wget https://​github.com/​boochtek/​sysadmin/​archive/​master.zip -O sysadmin.zip
 +unzip sysadmin.zip
 +sudo install -m 755 sysadmin-master/​sbin/​* /​usr/​local/​sbin/​
 </​code>​ </​code>​
  
Line 311: Line 344:
  
   * Enabled ''​sa1''​ to run from cron; edit ''/​etc/​default/​sysstat''​ to enable that.   * Enabled ''​sa1''​ to run from cron; edit ''/​etc/​default/​sysstat''​ to enable that.
-  * There'​s no /​etc/​profile.d in Debian 5.0, so the idle auto-logout doesn'​t work. It should work in Debian 6.0+, but has not yet been tested.+
  
  
build/misc.1355200916.txt.gz ยท Last modified: 2012/12/16 14:07 (external edit)