Linux
Create a Linux or Utility Live Stick
Create Linux Live USB Stick with UNetbootin. Easy way to test a lot of other linux distributions or play around with some system utilities You can install the following OS and System utilities with unetbootin. Operating Systems * Ubuntu * Fedora * Debian * PCLinux OS * Linux Mint * Sabayon Linux * openSUSE * [...]
Encrypt your USB Stick
Encrypt your USB Stick with cryptsetup or TrueCrypt on Ubuntu. 1. Use cryptsetup 1.1 Install cryptsetup: aptitude install cryptsetup 1.2 Setup cryptsetup volume: Unmount the stick and format it: umount /dev/usb1 cryptsetup luksFormat /dev/usb1 Type “YES” an choose a password. Open the crypt partition: cryptsetup luksOpen /dev/usb1 crypt_USB Create new Filesystem and mount it: mkfs.ext4 [...]
Resize images (folder) with imagemagick (mogrify)
Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI. First install imagemagick: aptitude install imagemagick Now “cd” into the directory with your images and execute: [...]
Puppet Dashboard / Reports – Ubuntu
Puppet reports with “Puppet Dashboard“: Installation: Add the following lines to your “/etc/apt/sources.list” file: deb http://apt.puppetlabs.com/ubuntu lucid main deb-src http://apt.puppetlabs.com/ubuntu lucid main Run aptitude update to updates your packet list. If you get an “GPG error” because the public key is not available than add the Puppet Labs repository key to APT. (NO_PUBKEY 1054B7A24BD6EC30) run: [...]
Install Tomcat 7 on Debian (Lenny) with virtual hosts and Apache2 integration
This article is a new version of my Apache Tomcat 6 article. This article describes how to install Apache Tomcat 7 on Debian Lenny, Apache2 integration and virtual hosts. Tocat 7 is not available over the regular sources on Debain Lenny (and Etch) it need to be installed by hand. Tomcat 7 is still BETA. [...]
Monitoring the Nagios process with monit
Monitoring the Nagios process with monit Howto to install monit on Debian or Ubuntu to monitor the nagios process. Installation aptitude install monit Configuration Edit the monit configuration file /etc/monit/monitrc and make the following changes: Generall settings set daemon 120 set logfile syslog facility log_daemon set mailserver localhost set mail-format { from: monit@myserver.de } set [...]
Adobe Coldfusion 9 – Debian 5.0 Lenny – Ubuntu 9.10 or 10.04
Install Apache2 webserver: aptitude install apache2 Install required libraries: aptitude install libstdc++5 Install coldfusion: Download the coldfusion installation paket (Linux bin-file) from www.adobe.com. You can use the Trial Edition and upgrade later to the full version by enter the serial number in the administration webinterface Make the downloaded file executeable and run the installer: chmod [...]
VMWare Server 2 – Unable to build the vsock module
Just a quick Post, the solution for the “Unable to build the vsock module” error message if you install VMWare Server 2 on Debian or Ubuntu: tar xvf /usr/lib/vmware/modules/source/vsock.tar cd vsock-only sed -i ‘s/^\#include //’ autoconf/*.c make cp vsock.o /lib/modules/$(uname -r)/misc ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko depmod -a invoke-rc.d vmware restart
Samba Error on Ubuntu Karmic
There is an error in the current version of Samba on Ubuntu Karmic you find in the samba log file (/var/log/samba/log.smbd) this message: [2009/12/07 12:26:26, 0] smbd/server.c:456(smbd_open_one_socket) smbd_open_once_socket: open_socket_in: Address already in use The best solution is a downgrade to version 3.3.2: wget http://security.ubuntu.com/ubuntu/pool/main/s/samba/samba_3.3.2-1ubuntu3.2_amd64.deb dpkg -i –force-all samba_3.3.2-1ubuntu3.2_amd64.deb Update: Problem solved (Version 3.4.0)
Zend Server Community Edition on Ubuntu Server
The best way to install Zend Server is to follow the instructions on http://files.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#deb_installation.htm. Here the short version: 1. Installation: 1.1 Define a repository by opening the following file: “/etc/apt/sources.list” and adding the line: deb http://repos.zend.com/zend-server/deb server non-free 1.2 Add Zend’s repository public key by running: wget http://repos.zend.com/deb/zend.key -O- |apt-key add – If you are [...]

