June 30, 2014

Packt is offering all of its eBooks and Videos at just $10 each for 10 days

Packt is celebrating 10 years anniversary and is celebrating that with offering all of its eBooks and Videos at just $10 each for 10 days.

How to Send Mail from the Command Line with Telnet

You can easily test your mail configuration from a linux server with telnet.

$ telnet rhel1 25
Connected to rhel1.
Escape character is '^]'.
220 rhel1.localdomain ESMTP Postfix
HELO rhel1                        # Note that "HELO" is not a misspelled. It is the command for telnet services.
250-SIZE 10240000
250 DSN
MAIL FROM: ivan@rhel2
250 2.1.0 Ok
RCPT TO: david@rhel1
250 2.1.5 Ok
354 End data with <CR><LF>.<CR><LF>
Subject: Subject goes here.
Body goes here.
.                                # End body with '.' and Enter                            
250 2.0.0 Ok: queued as 5C3E5E12EA
                                 # Quite interactive mail session with ctrl + ']'
221 2.0.0 Bye
Connection closed by foreign host.

For a more detail description, please see http://www.ehow.com/how_5209651_use-sendmail-command-line.html.

Server Comaparison between RHEL and Windows

An interesting comparison (in swedish) between RHEL server and Windows server.

Windows vs Linux


How to Install KVM on Ubuntu 14.04 LTS (Trusty)


Verify that you have enabled virtualization in BIOS. For detail see Virtualization with KVM on RHEL 6


Install required packages.


Now you ready to run virt-manager and install new virtual guests.

If you are new to kvm, please read Virtualization with KVM on RHEL 6 for a detailed description.

June 21, 2014

Tweak Unity in Ubuntu 14.04

The preferred way to tweak the user interface (Unity) in Ubuntu 14.04 is via the unity-tweak-tool. You can also use ccsm - CompizConfig Settings Manager, but I would recommend to stick with the recommended unity-tweak-tool, since settings can be messed up, when manipulating settings with different tools.

To install:

And if you have got lost when configure, you can always get back to original configuration with:

Static Routes with RHEL 6

The new way to add static routes in RHEL 6 is

Or alternative via the old ip command style.

And to set the default gateway.

How to Install Minecraft in Ubuntu 14.04

Kids go crazy over the swedish developed game Minecraft. Below is a link how to install it on Ubuntu 14.04.