GithubHelp home page GithubHelp logo

rb4's Introduction

RB4

Raspberry 4 with ubuntu 64 setup & config

INSTALLATION Ubuntu 64 bit

default user/password: ubuntu/ubuntu

set german keyboard

sudo dpkg-reconfigure keyboard-configuration

setting static IP Ethernet

edit /etc/netplan/50-cloud-init.yaml

    # This file is generated from information provided by
    # the datasource.  Changes to it will not persist across an instance.
    # To disable cloud-init's network configuration capabilities, write a file
    # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
    # network: {config: disabled}
    network:
        ethernets:
            enp0s3:
                dhcp4: false
                addresses: [192.168.1.202/24]
                gateway4: 192.168.1.1
                nameservers:
                addresses: [8.8.8.8,8.8.4.4,192.168.1.1]
        version: 2

setting static IP WLAN

edit /etc/netplan/50-cloud-init.yaml

    wifis:
        wlan0:
           dhcp4: true
           optional: true
           access-points: 
              "SSID_name":
                  password: "WLAN password"

create / edit file /boot/firmware/usercfg.txt

    # Place "config.txt" changes (dtparam, dtoverlay, disable_overscan, etc.) in
    # this file. Please refer to the README file for a description of the various
    # configuration files on the boot partition.
    dtoverlay=pi3-enable-wifi

add a new user

sudo adduser franzn
sudo usermod -aG franzn
sudo usermod -aG sudo  franzn

install tailscale

curl https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | sudo apt-key add -
curl https://pkgs.tailscale.com/stable/ubuntu/focal.list | sudo tee /etc/apt/sources.list.d/tailscale.list

sudo apt update
sudo apt install tailscale
sudo tailscale up

Installing docker on Ubuntu

sudo apt install docker.io

add user to docker-group in /etc/group

Fan

Download the script for Ubuntu

git clone https://github.com/meuter/argon-one-case-ubuntu-20.04.git

run argon1.sh

Install Portainer

docker volume create portainer_data
docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer>

ssh login without password

use ssh-copy-id, e.g. ssh-copy-id rhost1

Argon-Case utilities

git clone https://github.com/meuter/argon-one-case-ubuntu-20.04.git cd argon-one-case-ubuntu-20.04/ ./argon1.sh argonone-tempmon argon apropos argon

Install k3s and Portainer beta for Kubernetes

Default:

curl -sfL https://get.k3s.io | sh -

For Portainer use:

curl -sfL https://get.k3s.io | sh -s - server --no-deploy servicelb

Install Portainer-Beta:

curl -LO https://raw.githubusercontent.com/portainer/portainer-k8s/master/portainer-nodeport.yaml
kubectl apply -f portainer-nodeport.yaml

INSTALLATION Raspberry PI 3 B

Download and write to SSD Raspberry Pi OS (32- bit) Lite - https://www.raspberrypi.org/downloads/raspberry-pi-os/

German Keyboard other Configs (enable ssh)

sudo raspi-config

Set static IP

edit /etc/dhcpcd.config:

    interface eth0
    static ip_address=192.168.0.4/24
    static routers=192.168.0.1
    static domain_name_servers=192.168.0.1
See: https://howtoraspberrypi.com/how-to-raspberry-pi-headless-setup/

network device name setting

sudo touch /etc/udev/rules.d/73-usb-net-by-mac.rules

rb4's People

Contributors

franzn 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.