Archive

Archive for September, 2008

Lotus Domino 8.0.2 update hickups

September 30th, 2008 dirk No comments

After updating a Domino Server from 8.0 to 8.0.2 on RHEL and installation of the german language pack, the console.log looked very strange:

30.09.2008 16:18:53   33:02
ConvertZoneToText: Warning Time Zone -1 not found!
30.09.2008 16:18:53   33:14
ConvertZoneToText: Warning Time Zone -1 not found!

After a little research the problem cleared up: domino is missing ressource files for the servers default language. This was solved after the correct language was set in the rc_script:

DOMINO_LANG="de_DE.UTF-8"
Categories: Uncategorized Tags:

recursive chmod directories only

September 30th, 2008 dirk No comments
find . -type d -exec chmod 755 {} \;

oder (mit Ausgabe)

find . -type d -exec chmod 755 {} \; -print
Categories: Linux Tags:

bash customizing in OS X Leopard

September 27th, 2008 dirk No comments

Since I’m using Mac OS X for admin tasks at work I was annoyed about the keymappings and presets in Terminal.app. As bash is the standard shell in Leopard, I missed the settings that I’m accustomed to as a long term Linux user and admin.

If every solution could be so easy. Just create the neccessary config files:

touch ~/.bash_profile

paste the following code in ~/.bash_profile:

if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
touch ~/.bashrc

As usual, you can tweak almost all bash settings in your “~/.bashrc”.
Here are some examples:

# Define how Bash prompt looks like:
#
# User @ Host - working dir
export PS1='\u@\h\w: '
 
# Cli Colors
export CLICOLOR=1
# use bold blue for dir’s
export LSCOLORS=Exfxcxdxbxegedabagacad
 
# history handling
#
# Erase duplicates
export HISTCONTROL=erasedups
# resize history size
export HISTSIZE=5000
# append to bash_history if Terminal.app quits
shopt -s histappend
 
alias l='ls -al'

Adapt the keyboard mappings to your needs:

touch ~/.inputrc

The following code shows some example setting for your ~/.inputrc:

# do not bell on tab-completion
set bell-style none
# set bell-style visible
set convert-meta off
set input-meta on
set output-meta on
set show-all-if-ambiguous on
set visible-stats on
set completion-ignore-case On
 
"\e[1~": beginning-of-line
"\e[4~": end-of-line
"\e[5~": history-search-backward
"\e[6~": history-search-forward
"\e[3~": delete-char
"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
Categories: OS, OS X Tags:
Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: