Monday, 8 July 2013

web based terminal in Ubuntu 12.04

How to Access web based terminal in Ubuntu 12.04

Step1: In First step we have to update apt source file

root@ubuntu:~# apt-get update

It will update the base system.

Step2: In Third step we will download & install shellinabox package

You can use any of below links as per your system architecture:-



For 32-bit

wget http://archive.ubuntu.com/ubuntu/pool/universe/s/shellinabox/shellinabox_2.14-1_i386.deb

For 64-bit

wget http://archive.ubuntu.com/ubuntu/pool/universe/s/shellinabox/shellinabox_2.14-1_amd64.deb


Step3: Now we need to install this packages with dpkg command.

 root@ubuntu:~#  dpkg -i shellinabox_2.14-1_i386.deb

Step4: we will check the service status

root@ubuntu:~#  /etc/init.d/shellinabox status
root@ubuntu:~# /etc/init.d/shellinabox stop

root@ubuntu:~# /etc/init.d/shellinabox status
Shell In A Box Daemon is not running



root@ubuntu:~# /etc/init.d/shellinabox start

root@ubuntu:~# /etc/init.d/shellinabox status
Shell In A Box Daemon is running

root@ubuntu:~#


Step5: Now go to any Browser and open this server IP with port number 4200

eg: 192.168.28.96:4200
root login: root
Password:**********
Last login: Mon Jul 8 17:08:13 IST 2013 from 192.168.28.26 on pts/2
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-23-generic-pae i686)
 * Documentation:  https://help.ubuntu.com/                                                                                      
347 packages can be updated.
121 updates are security updates.
root@ubuntu:~$ ls
Changes.odt Desktop Dropbox GNUstep NetBeansProjects scripts Templates Untitled 1.pdf voicebackup
data Documents examples.desktop mozilla.pdf Pictures sites test.php Videos voice_bkp
DATA.ods Downloads Firefox_wallpaper.png Music Public svnco Ubuntu One VirtualBox VMs WCF.odt

root@ubuntu:~$

No comments:

Post a Comment