Git Product home page Git Product logo

linux_setup's Introduction

Linux Setup

This is almost certainly not the best way to do it, but it's what worked for me.

Install Linux Mint from USB thumbstick

Following this guide Set up initial account as child account

Create parent account

  • Log into the kid account
  • $ sudo adduser parents
    $ sudo usermod -aG sudo parents

Set privileges

  • Log into parent account
  • To check groups, run groups [parents]
  • $ sudo adduser parents adm
    $ sudo adduser parents cdrom
    $ sudo adduser parents lpadmin
    $ sudo adduser parents plugdev
    $ sudo deluser danielle sudo

Install Stuff

  • Log into parent account
  • $ sudo apt-get update
    $ sudo apt-get install emacs
    $ sudo apt-get install ktouch

Set up DNS with dnsmasq

  • Log into parent account
  • add DNSStubListener=no in /etc/systm/resolved.conf.
  • add dns=none in [main] section of /etc/NetworkManager/NetworkManager.conf.
  • <May have to replace /etc/resolv.conf with nameserver 127.0.0.53 (be careful to save a backup of the original symlink)>
  • $ sudo systemctl restart NetworkManager
    • Optionally can check if this has removed systemd-resolved from listening on port 53 with sudo ss -lp "sport = :domain"
  • $ sudo apt-get install dnsmasq

May need to set up dnsmasq to start at boot, not sure

Configure dnsmasq to function as an allowlist

  • Log into parent account
  • Get the wifi interface name by running ifconfig and parsing output, should be something like wlan0 or wlx...
  • add the following to /etc/dnsmasq.conf:
    domain-needed
    bogus-priv
    log-queries
    log-facility=/var/log/dnsmasq.log
    no-resolv
    interface=[INTERFACE NAME FOUND IN PRIOR STEP]
    
    server=/google.com/8.8.8.8
    server=/mozilla.org/8.8.8.8
    server=/mozilla.com/8.8.8.8
    server=/bitwarden.net/8.8.8.8
    server=/github.com/8.8.8.8
    <etc>

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.