Blog

Running Lotus Notes 6.5.x with WINE

27.11.2005 at 15:34

I recently needed Lotus Notes 6.5.2 for business purposes, i knew that it kind of worded with WINE and so i gave it a try. Here are my tips for others who have to run Notes under a unix-like operating system.

1) Take a wine version which is known to work (20050725) newer 
   ones like 0.9 don't (at least i couldn't manage to make it work).
2) Install the notes client on a windows box
3) Adjust all settings on the windows box
        - set the webrowser to notes
        - set the sametime connection to manual
        - configure proper TCP/IP settings and disable everything
          else (NETBIOS)
4) Copy the notes directory over to the linux machine
5) Copy mfc42.dll and msvcp60.dll from C:\Windows\System32 to 
   ~/.wine/drive_c/windows/system
6) Launch winecfg and set the windows version to Win98
7) Run Notes with wine "c:\program files\lotus\notes\nlnotes.exe"

Additional hints and help may be found in the comments in wine's appdb, the lotus notes ibm forum or over here.

Marc

read more comments

Stopping SSHD bruteforcing with fail2ban

27.11.2005 at 13:58

Ok today i had enough from those script kiddys trying to break into one of my boxes by bruteforcing my sshd. So i googled a bit and found fail2ban from the homepage:

Fail2Ban scans log files and bans IP that makes too many password
 failures. It updates firewall rules to reject the IP address.

Of course still better would be to disallow all authentication methods but key-files. Another approach to solve this problem may be portknocking.

Marc

read more comments

Installing Standard Java(tm) on Debian in a nice way

27.11.2005 at 12:35

First of all whenever possible i would recommend using a free alternative like (classpath, kaffe or gcj) but sometimes this is simply not possible because some features are not yet implemented. Since there are no official Sun Java package in Debian, we have to install it from another source or manually. As always there are different ways to accomplish this, we could for example simply fetch the *.bin file from the sun page, make it executable and let it extract it's content to /usr/local and then creating some symlinks. Or try to convert the rpm-file into a deb with alien and then installing it with dpkg. Another opertiunity would be to use prepacked java packges from blackdown.org however they do currently not support Java 1.5.

Fortunately there is another solution, namely java-package which will make our life a bit easier. Here is a short description of the package.

apt-cache show java-package

Description: utility for building Java(TM) 2 related Debian packages
 This package provides the capability to create a debian package from
 a Java(TM) 2 distribution by just running make-jpkg <filename>.
 .
 This program currently works with the following Java(TM) 2 Runtime
 Environments and Development Kits:
 .
  * Sun Microsystems(TM) 1.4 and 1.5 Standard Edition
  * IBM(TM) 1.3, 1.4, and 5.0 Standard Edition
  * Blackdown Java-Linux 1.3 and 1.4 Standard Edition
Tag: langdevel::java

As you can read installing java is as simply as executing one command.

make-jpkg <filename-of-java-package>

This simplified my process of installing standard java hope it will help you too.

Marc

read more comments

Monitoring config files with git/cogito and displaying them nicely with gitweb

01.11.2005 at 11:31

I recently took a look at the git-webinterface on kernel.org and it really attracted me. I thought it would be nice to manage the config files in my home directory with git and make them available on the net via gitweb.

If you are new to git/cogito i would strongly recommend to investigate a few minutes and work through the README.

In debian you can install git and cogito with apt-get install cogito. And then proceed as explained in the README.

Per default cg-init adds all files in the current directory to the repository which is actually not that useful for monitoring config files in a home directory where only dotfiles are of interest. However newer version of cogito provide a few command line options for us -I is especially handy because it doesn't perform an initial commit at all.

So we are able to set up a git repository without any files by running

cg-init -I

Afterwards you can continue by adding further files as you like, if an error occurs at the initional commit you should add the -C option.

cg-add .bash_profile

Now that the files are added we can do an initial commit.

cg-commit -m"Initial commit"

For further help with cogito or git read the corresponding manual pages.

So now lets install gitweb.

apt-get install gitweb

Gitweb expects the git-repostries in /var/cache/git but this can easily be changed by editing /etc/gitweb.conf. However i prefer to symlink the content from my home directory to the default gitweb project directory as shown below.

ln -s /home/marc/.git /var/cache/git/config-files.git

That's it you can know view your repository on http://localhost/cgi-bin/gitweb.cgi (assuming that apache is configured properly of course).

Here is my final git repository to handle my configfiles.

Marc

read more comments

CMus a ncurses based music player

22.10.2005 at 21:16

For those of you who don't know i like ncurses based apps because they usually have a decent interface which can be handled only by keyboard. Therefore the apps can be used almost everywhere even over ssh when no x-server is running and with screen you even have some kind of window manager.

I regularly use vim, mutt and sometimes irssi and now it seems that i have found another great console app the CMus - C* Music Player. It is a full featured music player for the console with support for various file formats, a intuitive interface including playlist handling (sorting,grouping,searching etc.), directory browser, vim-like command line syntax with tab expansion, extremely powerful playlist filters and a lot more.

I suggest you just check it out and read the documentation which is included in the source tarball, it really is a good piece of software.

Configuring CMus to use the also dmix plugin

As i covered in an another blog entry the also dmix plugin can be used to control the access to the sound device and allowing multiple applications to use it at the same time. To configure CMus to use the dmix plugin we just have to change one option in it's config file which is per default located in ~/.config/cmus/config

dsp.alsa.device = "plug:dmix"

This could also be done by issuing the following command within cmus in command line mode.

:set dsp.alsa.device=plug:dmix

Hope you enjoy using this cool app.

Marc.

read more comments

<< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 >>