http://linuxpitstop.com/install-wetty-on-ubuntu-linux-15-04-and-centos-7
Wetty provides terminal access within web browser. It is a tiny utility that lets you run your terminal application within browser tab using both HTTP and HTTPS protocols. You can carry out all the operations you usually do on your terminal, in Wetty now. It uses hterm terminal emulator on the backend and uses websockets instead of Java Script. It is fast as compared to normal terminal and provides much better response time. Let’s see how we can install it on Ubuntu and CentOS operating systems.
For Ubuntu:
For Ubuntu:
For Ubuntu:
Alright, all pre-requisits have been installed now. Run following 
command to clone Wetty’s GitHub respository to your local system.

Now go into this cloned directory.
Install Wetty by using the following command here:
This is how the successful install process should look like.

It will start Wetty on port 3000; Launch your web brower and load http://localhost:3000 ; here is your Wetty in action. Login with your SSH login credentials and start using this fast web terminal.

Wetty provides terminal access within web browser. It is a tiny utility that lets you run your terminal application within browser tab using both HTTP and HTTPS protocols. You can carry out all the operations you usually do on your terminal, in Wetty now. It uses hterm terminal emulator on the backend and uses websockets instead of Java Script. It is fast as compared to normal terminal and provides much better response time. Let’s see how we can install it on Ubuntu and CentOS operating systems.
Installing Wetty on Ubuntu 15.04 and CentOS 7
In order to install Wetty, we must have following component on our Linux system.- Git
- Node.JS
- NPM
Installing Git:
For CentOS:
 sudo yum install git 
 sudo apt-get install git 
Installing Node.JS
For CentOS:
 sudo yum install epel-release 
 sudo yum install nodejs 
 sudo apt-get install nodejs 
Installing NPM
For CentOS:
 sudo yum install npm 
 sudo apt-get install npm 
 git clone https://github.com/krishnasrinivas/wetty 
Now go into this cloned directory.
 cd wetty 
 npm install 
Running Wetty over HTTP:
Congratulations, Wetty has been installed successfully, now start it over HTTP by using the following command:
 node app.js -p 3000 
Running Wetty over HTTPS:
If your have a valid SSL certificate, you can start Wetty on SSL port by using the following command (Replace your SSL key Certificate names and paths in the following command).
 node app.js --sslkey key.pem --sslcert cert.pem -p 3000 
 
 

No comments:
Post a Comment