User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
sailing:wetty [2023/12/18 12:41] willysailing:wetty [2024/02/27 12:47] (current) – removed willy
Line 1: Line 1:
-====== WeTTY  ====== 
- 
-[[https://butlerx.github.io/wetty/|WeTTY]] it's a web based terminal to your server. 
- 
-===== Installation ===== 
- 
-Create dedicated user: 
-<code bash> 
- > useradd -m wetty 
-</code> 
- 
-Now install npm locally: 
-<code bash> 
- > su - wetty 
- > curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash 
- > source .bashrc  
- > nvm install 20 
- > npm -g i wetty --prefix ~/ 
-</code> 
- 
-Now run: 
-<code bash> 
- > ./bin/wetty --host 127.0.0.1 --port 5522 --title ServerCasa --base /wetty/  
-</code> 
- 
-Might need to install fontawesome manually: 
-<code bash> 
- > npm install --save @fortawesome/fontawesome-free 
- > npm i --save @fortawesome/fontawesome-svg-core 
- > npm i --save @fortawesome/free-solid-svg-icons 
-</code> 
- 
-<file conf wetty.conf> 
-location ^~ /wetty { 
-        proxy_pass http://127.0.0.1:5522/wetty; 
-  proxy_http_version 1.1; 
-  proxy_set_header Upgrade $http_upgrade; 
-  proxy_set_header Connection "upgrade"; 
-  proxy_read_timeout 43200000; 
- 
-  proxy_set_header X-Real-IP $remote_addr; 
-  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
-  proxy_set_header Host $http_host; 
-  proxy_set_header X-NginX-Proxy true; 
-} 
-</file> 
- 
-running WeTTY result in black screen on browser. 
- 
-Note: [[https://github.com/butlerx/wetty/issues/513|issue here]] 
- 
- 
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information