Code Monkey home page Code Monkey logo

sa's Introduction

NYCU-SA

HW1

Install FreeBSD / Ubuntu & WireGuard

  • Basic(15%)
    • Install FreeBSD 13.2-RELEASE
    • Alternatively, Install Ubuntu 22.04
  • Root on ZFS (15%)
    • Zpool name : zroot (rpool on Ubuntu)
  • Add a user and a group
    • User should also be in the "wheel" group ("sudo" on Ubuntu)
    • Use this user to do this homework instead of root (using sudo)
  • Add a user called "judge" for Online Judge
    • User should also be in the "wheel" ("sudo" on ubuntu) group
    • Please use "sh" as default shell (10%)
    • This user needs to run sudo without password (15%)
  • Set your machine to current time zone and adjust current time (10%)
    • CST
  • Enable sshd (20%)
    • Install this public key to your /home/judge/.ssh/ for Online Judge.
      $ fetch https://nasa.cs.nctu.edu.tw/sa/2023/nasakey.pub
      $ cat nasakey.pub >> /home/judge/.ssh/authorized_ke
    • You can use Fingerprint to check "nasakey.pub"
      $ ssh-keygen -l -f nasakey.pub
      256 SHA256:0LO0tdbs1Q5q4J8wa4Hidej2gkq9gqtLQeJwm98VYZk sa-2023 (ED25519)
  • Install Wireguard
    • Configure the connection
    • Configuration directory: /usr/local/etc/wireguard/wg0.conf
    • Use wg-quic and wg to start/stop the connection

HW2

Shell Script

sa's People

Contributors

chueating1005 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.