User Tools

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sailing:wetty [2023/12/18 12:29] sailorsailing: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. 
- 
-useradd -m wetty 
-su - wetty 
- npm -g i wetty --prefix ~/ 
- 
- ./bin/wetty --host 127.0.0.1 --port 5522 --title ServerCasa --base /wetty/  
- 
-npm install --save @fortawesome/fontawesome-free 
-npm i --save @fortawesome/fontawesome-svg-core 
-npm i --save @fortawesome/free-solid-svg-icons 
- 
-   36  curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && source ~/.profile 
-   37  nvm install 20 
-   38  echo 'export NVM_DIR="$HOME/.nvm" 
-[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm 
-[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion' >> .bash_rc 
-   39  chmod +x .bashrc  
-   40  source .bashrc  
-   41  nvm install 20 
- 
- 
- 
-location /wetty { 
-    proxy_pass https://127.0.0.1:3000/wetty; 
-    # 
-    proxy_pass_request_headers on; 
-    # 
-    proxy_set_header Host $host; 
-    # 
-    proxy_http_version 1.1; 
-    # 
-    proxy_set_header X-Real-IP $remote_addr; 
-    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
-    proxy_set_header X-Forwarded-Proto $scheme; 
-    proxy_set_header X-Forwarded-Protocol $scheme; 
-    proxy_set_header X-Forwarded-Host $http_host; 
-    proxy_set_header X-NginX-Proxy true; 
-    # 
-    proxy_set_header Upgrade $http_upgrade; 
-    proxy_set_header Connection $http_connection; 
-    proxy_read_timeout 43200000; 
-    proxy_set_header X-Forwarded-Ssl on; 
-    # 
-    proxy_redirect off; 
-    proxy_buffering off; 
-} 
- 
- 
-running WeTTY result in black screen. 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