Software

Aus Fachschaft_Informatik
Version vom 13. November 2007, 20:03 Uhr von Roland Illig (Diskussion | Beiträge) (Aufgeräumt und umsortiert)
Zur Navigation springen Zur Suche springen

Software im Informatik-Rechenzentrum

Im Rechenzentrum ist jede Menge Software installiert, sie ist nur manchmal schwer zu finden.

Zusätzlich zu der Software, die Reinhard verwaltet (Solaris + viel GNU + diverses (siehe /opt)) gibt es von Roland Kompilate aus pkgsrc. Diese liegen unter /usr/pkg. Wie man die Programme verwenden kann, steht in den Dateien /usr/pkg/README und /usr/pkg/bash_profile.

Coole Software, die sich dort findet:

Jabber-Client gajim
Desktop-Dekoration hot-babe
Tetris gtetrinet, bastet, xtris
Windowmanager xfce4

Software, die sich dort nicht findet aber anderswo:

fluxbox /home/j2004/4winter/bin/fluxbox
tightvnc /home/j2004/4winter/local/tightvnc/vncviewer
iPython env PYTHONPATH=/home/j2004/4winter/local/lib/python /home/j2004/4winter/bin/ipython

Bash-Konfiguration

Um sich das taegliche Arbeiten mit der Shell ein wenig angenehmer zu gestalten, kann es ratsam sein, folgendes in die ~/.bash_profile einzutragen:

Aliase für angenehmes Arbeiten

# das Solaris-Userland saugt. Aber es gibt hier auch zahlreiche GNU-Tools:
case `uname` in
SunOS)
  alias ls=gls
  alias tar=gtar
  alias vi=vim
  alias find=gfind
  alias sed=gsed
  alias du=gdu
  alias df=gdf
  alias cp=gcp
  alias grep=ggrep
  # rolands xemacs does not work
  alias xemacs=/opt/bin/xemacs
  # use Reinhards gpg which has the setuid bit set and therefore
  # can use secure memory
  alias gpg=/opt/bin/gpg
  export PATH="$PATH:/usr/sbin" # für ping
  ;;
esac

Weitere Bash-Einstellungen

# If set, bash checks the window size after  each
# command  and,  if necessary, updates the values
# of LINES and COLUMNS.
shopt -s checkwinsize

# If set to On, readline performs filename  matching  and
# completion in a case-insensitive fashion.
bind "set completion-ignore-case on"

# Controls what happens when readline wants to  ring  the
# terminal  bell.   If  set to none, readline never rings
# the bell.  If set to visible, readline uses  a  visible
# bell  if one is available.  If set to audible, readline
# attempts to ring the terminal's bell.
bind "set bell-style visible"

# History control: ignore duplicates and lines starting with 
# a space
export HISTCONTROL=ignoreboth
# remember lots of lines
export HISTSIZE=2000
export HISTFILESIZE=2000

Verschiedenes

# use less as pager (viewing man pages etc)
export PAGER=less

# dont use rsh
export CVS_RSH=ssh

# Sets the umask so newly created files are not accessible by
# anyone except yourself
umask 0077

Wer sich das Suchen durch die History mit PageUp/Down in readline-basierten Programmen (wie der bash) angewoehnt hat, kann dies in der datei ~/.inputrc wuenschen:

"\e[5~": history-search-backward
"\e[6~": history-search-forward

Siehe auch

Weblinks