joplin-notes/_resources/setup.md
2026-11-04 00:33:23 +05:30

1.5 KiB

install with in ubuntu apt install nano micro nginx certbot python3-certbot-nginx btop tmux openjdk-21-jre-headless:amd64 nodejs

for minimum npm install do this apt install npm --no-install-recommends

also install pm2 npm install pm2@latest -g

before doing this so apt update for indexing

some other through executables broot, dua

when extracting tar.gz use this tar -xzvf filename.tar.gz and when only .tar then use -xvf and dont use z.

or for destination tar -xzvf example.tar.gz -C /path/to/destination/

to copy everything including root files do this cp -r /source/directory/* /destination/directory/ : this will copy regular files cp -r /source/directory/.* /destination/directory/ : this will copy dotfiles

projects

  1. quiz management site : spring project
    cd ~/projects/java/quiz_app
    java -jar demo-0.0.1-SNAPSHOT.jar 
  1. dropzone
    cd ~/projects/node/hostfile_project/main
    pm2 start ecosystem.config.js  --no-daemon
    
  1. movie recommendation site
    cd ~/projects/node/movie_back
    npm start
  1. smart-brain
    cd ~/projects/node/face-extractor/smart-brain
    npm start
  1. unofficial blog
     cd ~/projects/static/unofficial_blog_build
     python3 -m http.server 9020

after this expose port 80 and 443 so these sites can be access to main host podman run -itd -p 80:80 -p 443:443 --name vps1 vps-image:v1 /bin/bash and podman exec -it vps1 bash

start/reload nginx inside by nginx -s reload and to stop and rm container name podman stop vps1 && podman rm vps1