# sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
==> enable 'sshd password authentication'
# service ssh restart
# apt-get install nodejs npm
# npm install -g wetty (or) yarn global add wetty
# curl https://gist.githubusercontent.com/subicura/9058671c16e2abd36533fea2798886b0/raw/e5d249612711b14c9c8f44798dea1368395e86a9/wetty.service -o /lib/systemd/system/wetty.service
=> vi /lib/systemd/system/wetty.service
----------------------------------------
[Unit]
Description=wetty service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/local/bin/wetty -p 4200 --base=/
[Install]
WantedBy=multi-user.target
----------------------------------------
# systemctl start wetty
# systemctl enable wetty
<connect with web browser 'http://ip-addr:4200'
'Linux (pLinux & x86)' 카테고리의 다른 글
Ubuntu disable automatic specific software update ex. postgresql (0) | 2020.01.15 |
---|---|
Linux Software Raid Failure (failed disk removal and re-add) (0) | 2015.05.15 |
Install MariaDB from Repositories (0) | 2015.02.25 |
install VirtualBox on LinuxMint(Ubuntu) (0) | 2015.01.14 |
ElementaryOS Luna 에서 kernel 3.14.1 (ubuntu 14.04) 으로 업그레이드 하기... (0) | 2014.12.17 |