Enable SSH on Ubuntu Linux

Thursday, August 26, 2010

Enable SSH on Ubuntu Linux
This post will guide you to install OpenSSH Server and client on Ubuntu Linux machine.

The following command will install both ssh client and ssh server on your ubuntu linux machine.
# sudo apt-get install openssh-server openssh-client

The reason to install both is to make it easy to directly test your ssh server right from the same machine terminal. The command is as the following:

# ssh localhost

Read more...

Something is Technically Wrong, Twitter Said

Monday, February 22, 2010

I am just surprised, twitter is saying this when I tried to access:

Something is Technically Wrong
Thanks for noticing - We're going to fix it and have things back to normal soon.

This happened several times today, I hope twitter will get back to normal soon.

Read more...

How to Mount Flash Drive on Linux Machine

Saturday, January 30, 2010

Flash drive or flashdisk is so much needed in the present conditions for it is easy to use, portable, and its price is so affordable. But if you want to use it in linux machine, you may find it difficult to mount flashdisk onto a linux machine.

For the new linux user, it is very difficult to mount the flash disk onto the machine. But here I will tell you step by step how to mount flash disk on linux machine.

1. Show the file begin with SDA
#dmesg | grep sda

2. Once you found the device, create the mount point:
#mkdir /mnt/sda

3. Mount the flashdick device to the directory
# mount /dev/sda /mnt/sda

Read more...

SED, The Unix Stream Editor

Wednesday, August 5, 2009

SED (Stream Editor) is somehow different from commom text editors that allow you to alter a file by moving the cursor on the screen. SED is a non-interactive line editor, processing one line at a time. By applying editing command on line-by-line basis, Unix SED commands will never load an entire file into memory.

SED is mostly used to perform text pattern search and replace in files. However, SED can also be used to append, display, insert, and delete text.

Thanks and Credit to Alicia and anakblog.

Read more...

Red Hat IP Address Configuration StartUp

If you want to configure IP address and network settings on your Linux Red Hat machines, you can do it by modifying the network configuration start up scripts. The Linux Red Hat machine will read this configuration script during start up process, so any change on this script will take effect every time you start your Red Hat.

Start Up Script File Location: /etc/sysconfig/network-scripts/ifcfg-eth0

TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=none
NETMASK=255.255.255.0
IPADDR=192.168.19.129

USERCTL=no
IPV6INIT=no
PEERDNS=yes
HWADDR=00:0c:29:1d:83:f0
ONBOOT=yes
GATEWAY=192.168.19.1
[root@storm ~]#


You need to specify:

  • IPADDR

  • NETMASK

  • GATEWAY


That's all. Thanks and Credit to melinda for the tips.

Read more...

PuTTy Fatal Error

Wednesday, July 15, 2009

These days I have a problem accessing my linux machine with putty.

PuTTy Fatal Error
Network Error: Software caused connection abort.

Could you suggest a solution?

Read more...

One of the disks in this virtual machine is already in use by a virtual machine

Wednesday, June 24, 2009

If you are running VMWare virtualisation machine, you may sometimes receive this message while starting up your VMWare Machine.
"One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot".

This error message will halt your VMWare so it won't continue the booting process.

But do not worry about this since it is a common problem. This Usually happened if the the machine was not shut down properly, for example you might have shut down your host OS while VMWare machine is still running on it.

The solution for this problem is quite easy. Simply check into your VMWare machine folder, find out a file/folder with .lck extension. Remove the whole folder/directory and start your VMWare.

Good luck.

Read more...