To Do List After Launching a New Linux/Unix Like Server for Development


Commands, tricks & cautions that will be used here have been tested only on a Ubuntu 12.04 VPS. Though, most of the commands should work in other Unix like system without any change.
In this lesson we will see how should a newly launched/opened server be configured for basic security & proper accessibility. Usually you get an IP address & a root password for logging in as root, as soon as you open a new cloud/vps server from rackspace/digitalocean or some others like these.

1. Connecting to the remote system through/using SSH:
SSH(Secure Shell) is a protocol used to securely loggin in to a remote system & also ssh is the tool used in Linux that connect to the remote server over the SSH protocol.

ssh root@

The terminal will show a message and will prompt

Are you sure you want to continue connecting (yes/no)?

Type yes & press enter & then in next prompt enter your root password that was provided by that server provider while opening a VPS. So, now we are logged in to the remote system as root user.

2. Change your root user’s password:
You used the root password that was generated & provided by the server provider & the first thing is to change this password. Enter the following command on the terminal.


It will first ask the current root password & after entering the current password it will ask your desired new password twice for confirmation. Continue reading

Setup Auto Deployment with Git & Shell Script


Few days ago I found a nice post on the web about a trick for auto deploying sources/files to server from inside local development repository using shell script. I mean, you don’t need to log in into the server each time the code status is changed and pull the changes from a repository to make the server’s files updated. You can do all of these from inside the local repository by assigning several remotes to it & by using the Hook feature of git on the server end. I have just tried that out and made a screencast with some detail descriptions.

Following is a diagram of what I am going to show you detail on the video below it. Hope it might be helpful for some one who wants to watch a demo even before trying out few commands 🙂

Untitled drawing

Live Demo [watch in 720p at least]

How to setup LAMP server in Ubuntu by only one command

Here is a shortcut and easiest way of setting up LAMP server in Ubuntu.
Well, there is obviously option of installing packages separately for making ready a LAMP server in Ubuntu.
Open  terminal or Connect to remote server via it and then execute the following commad.
Only command:
sudo tasksel
Then the following window should pop-up in the terminal.

Select ([.] LAMP server) by pressing arrow key and do (OK) by pressing Tab key of keyboard. On the next screent, type your desired password for MySQL and Done!!!

If some how this command does not work then simply use the following one:

sudo apt-get install lamp-server^

How to restore Gnome panel, Ubuntu 10.x later


Ubuntu gnome panels are nice enough to arrange shortcuts, menus, items on it. Even new panel can be added on gnome desktop‘s left, right or bottom side. But some times a panel can be customized or assembled roughly. Then you would like to reset all as its default sate. For that, open Terminal and run these following commands:

gconftool-2 --recursive-unset /apps/panel

pkill gnome-panel

It should be restored on its default settings!!!

Install IE6 in Ubuntu 10.X


An easy way to use IE6 (I think its just for testing CSS issues with IE ) in Ubuntu/Linux are described bellow:

Step 1: Make sure Wine is already installed on your computer. If not then use this command on your terminal

sudo apt-get install wine

Step 2: Then the following


Step 3:Now

sh winetricks ie6

Final : To Run IE6

wine iexplore