Software: Unterschied zwischen den Versionen

Aus Fachschaft_Informatik
Zur Navigation springen Zur Suche springen
K (1 Versionen)
(Aufgeräumt und umsortiert)
Zeile 3: Zeile 3:
Im [[Rechenzentrum]] ist jede Menge Software installiert, sie ist nur manchmal schwer zu finden.
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 [http://wiki.NetBSD.se/index.php/pkgsrc pkgsrc]. Diese liegen unter /usr/pkg. Wie man die Programme verwenden kann, steht in den Dateien /usr/pkg[[/README]] und /usr/pkg/bash_profile.
Zusätzlich zu der Software, die Reinhard verwaltet (Solaris + viel GNU + diverses (siehe /opt)) gibt es von Roland Kompilate aus [http://wiki.NetBSD.se/index.php/pkgsrc 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:
Coole Software, die sich dort findet:


 
{| border="1"
{| class="wikitable"
|Jabber-Client      || gajim  
!Jabber-Client      !! gajim  
|-
|-
|Desktop-Dekoration || hot-babe  
|Desktop-Dekoration || hot-babe  
Zeile 16: Zeile 15:
|-
|-
|Windowmanager      || xfce4  
|Windowmanager      || xfce4  
|-
|}
|
 
|-
Software, die sich dort nicht findet aber anderswo:
|
 
|-
{| border="1"
|
|-
|fluxbox  || /home/j2004/4winter/bin/fluxbox  
|fluxbox  || /home/j2004/4winter/bin/fluxbox  
|-
|-
|tightvnc || /home/j2004/4winter/local/tightvnc/vncviewer  
|tightvnc || /home/j2004/4winter/local/tightvnc/vncviewer  
|-
|-
|iPython   
|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:
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 ===
<pre>
<pre>
# das Solaris-Userland saugt. Aber es gibt hier auch zahlreiche GNU-Tools:
# das Solaris-Userland saugt. Aber es gibt hier auch zahlreiche GNU-Tools:
case `uname` in
case `uname` in
[[SunOS]])
SunOS)
   alias ls=gls
   alias ls=gls
   alias tar=gtar
   alias tar=gtar
Zeile 46: Zeile 44:
   alias cp=gcp
   alias cp=gcp
   alias grep=ggrep
   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
   export PATH="$PATH:/usr/sbin" # für ping
   ;;
   ;;
esac
esac
</pre>


=== Weitere Bash-Einstellungen ===
<pre>
# If set, bash checks the window size after  each
# If set, bash checks the window size after  each
# command  and,  if necessary, updates the values
# command  and,  if necessary, updates the values
Zeile 66: Zeile 72:
bind "set bell-style visible"
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
</pre>
=== Verschiedenes ===
<pre>
# use less as pager (viewing man pages etc)
# use less as pager (viewing man pages etc)
export PAGER=less
export PAGER=less


# dont use rsh
# dont use rsh
export [[CVS_RSH]]=ssh
export CVS_RSH=ssh
 
# 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


# Sets the umask so newly created files are not accessible by
# Sets the umask so newly created files are not accessible by
# anyone except yourself
# anyone except yourself
umask 0077
umask 0077
# History control: ignore duplicates and lines starting with
# a space
export HISTCONTROL=ignoreboth
# remember lots of lines
export HISTSIZE=2000
export HISTFILESIZE=2000
# thats it :)
</pre>
</pre>



Version vom 13. November 2007, 21:03 Uhr

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