Lots of concerts this weekend!

Posted in Music on August 21st, 2010 by Peter

This will be a interesting weekend with two famous death metal bands that I have been following for several years, and guest bands that will be awesome to see live as well.

Cannibal Corpse with their new record “Evisceration Plague” tonight @ The Academy.

Suffocation with their new record “Blood Oath” tomorrow @ Whelan’s.

Tickets.

Tags: , , , , , , , ,

Photos from Spain trip

Posted in Motocross on June 27th, 2010 by Peter

To make a long story short:

I became acquainted with a guy on the Internet with the same interests.

We packed our bags.
We decided to drive from Norway to Spain with a 1994 VW Transporter to ride Motocross.
We drove Norway, Sweden, Denmark, Germany, France and Spain.

Here are some pictures from the 3800 kilometer long trip.

The trip

26 Photos

The stay

15 Photos

The riding

14 Photos

Read more »

Tags: , , , , , , , ,

Concert with Bolt Thrower

Posted in Music on June 7th, 2010 by Peter

Concert with Bolt Thrower and Rotting Christ

Tags: , , ,

Error saving media attachment in WordPress

Posted in Computers on May 9th, 2010 by Peter

A couple of weeks ago I upgraded my WordPress to the latest version and found that I could not upload files anymore, because of permission errors. I have used several hours to search the net for a solution. And I actually found one that worked for me:

1) Go to “Settings” then go to “Miscellaneous” and check that your “Store uploads in this folder” is correct. Is should be something like “wp-content/uploads”.

Mine was perfectly OK.

2) Next step is to check the permissions for your “uploads” folder located in “wordpress/wp-content/uploads/” on your server. I changed the whole “uploads” folder with “chmod 777 uploads” without luck.

If you do “cd uploads” and change permissions for the folder “2010″  (“chmod 777 2010″). This one didn’t help me either.

Now, since we are in May month and I haven’t uploaded anything because of this issue, there is no folder called “05″.

The solution:

Create folder “05″ (uploads/2010/05) and set permissions to 777.

Now try uploading some files.
The Browser and the Flash uploader now works for me.

Tags: , , , , , ,

Show uptime from multiple Windows Servers

Posted in Computers on March 8th, 2010 by Peter

Microsoft have developed a tool that allows you to estimate server availability.

Creating a little batch script will help to fetch uptime from multiple Windows servers in your network.

Download uptime.exe from Microsoft here.
Place it in C:\WINDOWS on all servers you wish to receive uptime from.

Fire-up Notepad and add:

@echo off
title Server Uptime
uptime <server-hostname-1>
uptime <server-hostname-2>
uptime <server-hostname-3>
uptime <server-hostname-4>
pause

You can use IP-addresses instead of hostnames, but it wouldn’t look so nice. Add as many servers you wish.

Save file as myuptime.bat (or whatever you like) in C:\WINDOWS.

Click Start -> Run and type “myuptime”. Hit Enter.

You should now see something similar:

Uptime

If you get any errors you have to make sure that the machine that is running this .bat-file can ping the hostname and get reply from the other servers.

If not, you may want to edit the “hosts” file in “C:\WINDOWS\System32\Drivers\etc” and manually add mappings of IP-addresses to hostnames.

Tags: , , , , ,

Postfix howto

Posted in Computers on March 8th, 2010 by Peter

This guide will cover the basic installation and configuration of Postfix, Maildrop and IMAP by using the built-in Advanced Packaging Tool (apt-get) for Debian.

Make sure you have your apt-get sourcelist updated before you start so you receive the lastest packages.

You will need following packages:

Postfix MTA
- Mailsystem

Maildrop
- Mail delivery agent

Courier IMAP
- IMAP server so we can connect to our system using an e-mail client or a webmail system.

Step 1 – Receive and install the packages:

# apt-get install postfix
# apt-get install courier-imap
# apt-get install maildrop

If everything went allright, you now have the packages installed.

Step 2 – Postfix configuration:

The Postfix configuration directory is located in “/etc/postfix”, and the main configuration file is called “main.cf”.

Use nano or your favorite editor.

# nano /etc/postfix/main.cf

Add the following:

myhostname = <mail.yourdomain.com> # Add your domain here.
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = <yourdomain.com>, localhost # Add your domain here.
relayhost = <smtp.yourisp.com> # Add this if you wish to forward outgoing mail to your ISPs smtp, otherwise leave blank.
home_mailbox = Maildir/ #
Value is appended to the user’s home directory path.
mailbox_command = /usr/bin/maildrop -d “$USER” -f “$SENDER” “$EXTENSION” # Give the job to maildrop.
mailbox_size_limit = 0 # With this setting, users will not have a mailbox limit.
recipient_delimiter = +
inet_interfaces = all

Step 3 – Create email user:

# adduser -shell /sbin/nologin emailuser
# passwd emailuser

# cd /home/emailuser (as root)
# maildirmake Maildir

This will give the emailuser no access to shell logins.

Mail will now be delivered to /home/emailuser/Maildir.

Step 4 – Forwarding

Since maildrop is mail delivery agent, you need to edit /etc/aliases and specify where you want mail to root user to be delivered.

# nano /etc/aliases

And change: root: nobody to root: emailuser

Example:

If you want to forward emails that are sent to “emailuser2@<yourdomain.com>” to “emailuser@<yourdomain.com>”

Add:

emailuser2: emailuser

Run the command

# newaliases

Reload Postfix:

# /etc/init.d/postfix stop
# /etc/init.d/postfix start

Start Courier-IMAP:

# /etc/init.d/courier-imap start

Remember to check that you have port 143 open for incoming IMAP connections.

Setup your favorite email client and you should now be able to receive incoming mails to emailuser@yourdomain.com with the proviso that you have the DNS settings of your domain right.

Tags: , , , , ,

Recommended Death metal albums

Posted in Music on December 22nd, 2009 by Peter

Organic Hallucinosis

Organic Hallucinosis 250x250

Decapitated is a Polish technical death metal band that I started to listen to not so long ago. Their latest album is called Organic Hallucinosis wich is the fourth studio album wich was recorded and produced in 2006 by Earache Records. Actually the same record label that has produced for Deicide.

It is an album packed with fast changing rythms and a extremely high tempo. Each song has its own riffing, always damn solid, brutal and unbelievably accurate. Organic Hallucinosis is something special, not for all metal listeners, but also not only for those who appreciate death metal only for its strength and brutality. Here there is precision, technique, rage and a lot of “headbanger’s material”. I recommend strongly this to all extreme metallers.

The rough and deep vocal reminds me of Burton C. Bell, the vocalist of Fear Factory.


Scars of the Crucifix

Scars of the Crucifix 250x250
An album released in 2004 by Deicide.

The lyrical content is as anti-christian as it can be. If there is heaven, these guys can sure turn it into hell.

The drums continue to impress.

Vocals on the album are layered in high pitched screams and low grunted growls. When separated they sound pretty cool but most of the time they are mixed in together. For what it’s worth, they still seem to take their religion seriously. I can’t see Deicide progressing on any other level besides what has been achieved on this album, but what’s on this album is enough to satisfy the most ruthless metal maniac.

The whole album is less than half an hour long.

Tags: , ,

WordPress rules!

Posted in Computers on December 6th, 2009 by Peter

I have had thoughts about starting my own blog and spent some time on the net yesterday to find a good PHP blog script. After 30 minutes of searching back and forth, I found that I would give WordPress a try. WordPress has many giving opportunities and is very easy to set up. I am running my own Apache server with mod_rewrite module for the “pretty” permalinks and MySQL as the database engine, and also one will find many themes and addons for WordPress. Many of them are actually free!

Check out WordPress.com if you want to start your own free blog in seconds.
You can also go to WordPress.org if you want to download and host your own blog.

Good documentation!