Difference between revisions of "Shell in a box"
From Linuxintro
imported>ThorstenStaerk |
imported>ThorstenStaerk |
||
Line 18: | Line 18: | ||
* make sure the firewall is open, here is an example for SUSE Linux: | * make sure the firewall is open, here is an example for SUSE Linux: | ||
rcSuSEfirewall2 stop | rcSuSEfirewall2 stop | ||
+ | |||
+ | * add a user for shell in a box, in this example ''user'' | ||
+ | useradd -m ''user'' | ||
+ | passwd ''user'' | ||
* call shell in a box | * call shell in a box |
Revision as of 12:32, 27 December 2011
Shell in a Box allows you to control a computer over the network using a Linux console in a web page.
- open a console as root.
- Download shell in a box from google
wget http://shellinabox.googlecode.com/files/shellinabox-2.10.tar.gz
- unpack it
tar xvzf shellinabox-2.10.tar.gz
- install some dependencies, in this example for SUSE Linux 12.1:
yast -i make
- build it
cd shellinabox-2.10 ./configure && make && make install
- make sure the firewall is open, here is an example for SUSE Linux:
rcSuSEfirewall2 stop
- add a user for shell in a box, in this example user
useradd -m user passwd user
- call shell in a box
shellinaboxd &
- test it by surfing to your computer: http://localhost:4200
use proxypass in the apache configuration to forward to its port
See also
This article is a stub and needs improvement. You can help here :)