paris/i-098403fc39803a851
by SadServersMore by SadServers
admin@i-08320041ff966cd0f:~$ curl localhost curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-08320041ff966cd0f:~$ sudo -s We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-08320041ff966cd0f:~$
taipei/i-08320041ff966cd0f 00:54
by SadServersudev 221828 0 221828 0% /dev tmpfs 46636 368 46268 1% /run /dev/nvme0n1p1 8026128 6354488 1242384 84% / tmpfs 233168 12 233156 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 126678 6016 120662 5% /boot/efi admin@i-00d214f43a2aadb8f:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme2n1 259:2 0 1G 0 disk admin@i-00d214f43a2aadb8f:~$ mount | grep 'on / '
kihei/i-00d214f43a2aadb8f 00:13
by SadServersTasks: 1 (limit: 521) Memory: 21.5M CPU: 394ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 08:20:08 i-003e48bbc8151d53a systemd[1]: Started Flask Application. Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Serving Flask app 'webserveDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Debug mode: off Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: WARNING: This is a developmentDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Running on http://127.0.0.1Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: Press CTRL+C to quit admin@i-003e48bbc8151d53a:~$ vim /etc/systemd/system/flaskapp.service admin@i-003e48bbc8151d53a:~$ vim /home/admin/webserver.py admin@i-003e48bbc8151d53a:~$ system