# SGU - DTU group notes ## VPS authenticate - IP: `103.97.124.184` - Port ssh: `2018` - PMA: `103.97.124.184/phpmyadmin` - Login: |User|Password|PMA_user|PMA_password| |-|-|-|-|-| |`root`|`Yv25KAGE`|`admin`|`ef2bdf38e04c041e260ce694d4a6f2`| |`xenang` |`ef2bdf38e04c041e260ce694d4a6f2` |`admin_xenang` |`ef2bdf38e04c041e260ce694d4a6f2` | ## Google accounts - CSKH: `wcs.cskh@gmail.com` / `!@#QweAsd` - Auto mail: `wcs.automail@gmail.com` / `!@#QweAsd` ## Common commands - SSH to vps via commandline: ``` ssh {username}@{VPS IP} -p{VPS Port} ``` Example: ``` ssh xenang@103.97.124.184 -p2018` ``` - Send file from local to VPS: ``` scp -P{VPS port} /your/file/name {username}@{VPS IP}:~/path/to/file ``` Example: ``` scp -P2018 D://abc.txt xenang@103.97.124.184:/var/www/html/ ``` - Set permission for file: ``` chmod 775 /path/to/file ``` - Set permission for directory: ``` chmod -R 775 /path/to/file ``` - Change owner for file/folder: ``` chown {user} /path/to ``` Example: ``` chown xenang /home/domains/xenangcoviet.com/public_html/storage ```