Install Wetty on CentOS/RHEL 6.X

Source: Internet
Author: User

Install Wetty on CentOS/RHEL 6.X

What is Wetty?

Wetty = Web + tty

As a system administrator, if you are on a Linux desktop, you can use it to connect to a remote server like a GNOME terminal (or similar). If you are in Windows, you can use an SSH client such as Putty to connect to a remote computer, and then access the Internet in a browser and check emails.

(LCTT note: in short, this is a Web browser-based Remote Terminal)

 

Step 2: Install the epel Source
  1. #wget http://download.Fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  2. # rpm -ivh epel-release-6-8.noarch.rpm

 

Step 2: Install Dependencies
  1. #yum install epel-release git nodejs npm -y

(LCTT Note: Yes, that's right. It was written in node. js)

 

Step 2: Clone the GitHub repository after installing the dependency
  1. #gitclone https://github.com/krishnasrinivas/wetty

 

Step 2: Run Wetty
  1. #cd wetty
  2. # npm install

 

Step 2: Start Wetty from a Web browser and access the Linux terminal
  1. # node app.js -p 8080

 

Step 2: Install HTTPS certificate for Wetty
  1. # openssl req -x509 -newkey rsa:2048-keyout key.pem -out cert.pem -days 365-nodes

Wait for completion.

 

Step 2: Use Wetty over HTTPS
  1. #nohup node app.js --sslkey key.pem --sslcert cert.pem -p 8080&

 

Step 2: Add a user to wetty
  1. #useradd<username>
  2. #Passwd<username>

 

Step 2: Access wetty
  1. http://Your_IP-Address:8080

Enter the certificate you created for wetty and access it.

End now!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.