This website runs on a textbook

What exactly's going on

My Java class uses Zybooks, which uses some software that lets me pick what language and IDE to use, then gives me an Ubuntu container to code in, hosted on AWS. For example, here's code-server with Java 11. And I also have remote desktop access over VNC via Apache Guacamole. But more interestingly, I have root access.

code-server running in Zybooks, configured for Java. There is a "Submit for Grading" button in the bottom-left corner.

Here's what I did:

  1. Loaded up the bash + code-server environment
  2. Installed and ran nginx
  3. Set up remote port-forwarding from my server
    1. See here for details on that.
  4. Eternally create, modify, and delete file to keep the container alive.
    1. (In)activity detection is based off whether any files on /usercode have been modified in x minutes.

But can it run DOOM?

Yes, yes it can!

DOOM running in Zybooks

But can it run Crysis?

Probably not. But if anyone knows how to run Crysis on this thing, I'd be happy to try, just let me know.

Some other stuff

  1. I have no idea how to make a fancier site, but it turns out that the 1GB I have is just enough to run a Next.js site, and access it from Midori. Here's a script for installing Node.js and npm.

  2. Here's the neofetch results:

    ➜ neofetch
                .-/+oossssoo+/-.
            `:+ssssssssssssssssss+:`
          -+ssssssssssssssssssyyssss+-
        .ossssssssssssssssssdMMMNysssso.
       /ssssssssssshdmmNNmmyNMMMMhssssss/      mysql@f76bb9853566 
      +ssssssssshmydMMMMMMMNddddyssssssss+     ------------------ 
     /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    OS: Ubuntu 20.04.5 LTS x86_64 
    .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Host: t3.xlarge 
    +sssshhhyNMMNyssssssssssssyNMMMysssssss+   Kernel: 5.15.0-1034-aws 
    ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Uptime: 11 hours, 35 mins 
    ossyNMMMNyMMhsssssssssssssshmmmhssssssso   Packages: 697 (dpkg) 
    +sssshhhyNMMNyssssssssssssyNMMMysssssss+   Shell: bash 5.0.17 
    .ssssssssdMMMNhsssssssssshNMMMdssssssss.   Resolution: 1366x768 
     /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/    WM: IceWM 1.6.4 (Linux/x86_64) 
      +sssssssssdmydMMMMMMMMddddyssssssss+     WM Theme: default.theme 
       /ssssssssssshdmNNNNmyNMMMMhssssss/      Theme: Adwaita [GTK3] 
        .ossssssssssssssssssdMMMNysssso.       Icons: Adwaita [GTK3] 
          -+sssssssssssssssssyyyssss+-         Terminal: vscode 
            `:+ssssssssssssssssss+:`           CPU: Intel Xeon Platinum 8259CL (4) @ 2.499GHz 
                .-/+oossssoo+/-.               Memory: 2388MiB / 15815MiB