You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. sudo apt update
2. sudo apt upgrade
3. adduser user_name
4. usermod -aG sudo user_name
5. su user_name
6. cd ~
7. mkdir -p ~/.ssh
8. sudo nano ~/.ssh/authorized_keys // paste your local system public key in this file
9. exit from server and try to login as new user with your ssh key
10. sudo chmod 644 ~/.ssh/authorized_keys
11. sudo nano /etc/ssh/sshd_config
12. Now chage the line "PermitRootLogin yes" to "PermitRootLogin no"
13. sudo service sshd restart
14. sudo apt install nginx
15. sudo service nginx start
16. Install nodejs
17. sudo chown -R $USER:$USER /var/www
18. mkdir /var/www/app
After setting and starting on node or react app proxy paas to different ports