Skip to content

junaga/debian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

334 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

We use the Debian operating system almost everywhere. With and without GUIs.

uname # Linux
hostnamectl # Debian

Installation

Windows - Recommended

On Windows 11 or Windows 10 use the Windows subsystem for Linux.

wsl.exe --install debian

Cloud

Sign up anywhere in the cloud with a debit;credit card, then rent;subscribe;provision a host;server;container with any Debian release and whitelist your SSH public key. I rent on console.hetzner.com: Server with 2 vCPUs with block storage. ID required for sign up.

Hardware - don't do this

For Desktop;Laptop;x86-64 devices 64-Bit-Wintel-IBM-PC you can create a bootable USB drive. Boot UEFI, then boot the USB, then install a system to your M.2;SSD;HDD drive, then boot that drive. You can also boot from microSD, network, or memory. Ask ChatGPT for help AND call me on discord for advice.

Initialization

Copy & Paste! or download files with git clone, curl, wget.

History of Copy & Paste

System Copy Paste Cut year
macOS CMD+C CMD+V CMD+X 1983
IBM PC CTRL+Insert Shift+Insert Shift+Delete 1981
Windows CTRL+C CTRL+V CTRL+X 1995
Linux Terminal CTRL+Shift+C CTRL+Shift+V 2010

In 1983 Apple pioneered: C copy V paste X cut Z undo. Similar keys were added by Windows 19-95, supplementing the IBM PC keys. In 2020 the Windows Terminal wt.exe added Linux Terminals keys. wt.exe and wsl.exe are Linux desktop culture incorporated into Microsoft.

Outside Windows explorer.exe the key CTRL+C sends byte 3 which is "End of Text" in ASCII and Unicode.

Configuration

Install packages and connect ChatGPT; use --device-auth for headless env

sudo bash ./node/upgrade.sh
codex login

codex "code a \"Hello, World\" API in JavaScript"

Configure Shell and generate an SSH keypair

cp -r ./node/home/. ~/.
bash

ssh-keygen -N "" -C "junaga"
cat ~/.ssh/id_ed25519.pub
# copy the public key

Use VS Code

# 1. Download and Install VS Code

# 2. Install extensions
bash ./desktop/editor/extensions.sh

# 3. Configure an SSH Host
code ~/.bash_history
code ~/.ssh/config

# 4. Open a remote directory or file
remote brigade ~/dev/

History of Editors: CLI, TUI, GUI

# ed $FILE             # 1969
# vi $FILE             # 1976
# emacs $FILE          # 1976
# notepad.exe $FILE    # 1983
# emacs $FILE          # 1985
# pico $FILE           # 1989
# vim $FILE            # 1991
# nano $FILE           # 1999
# notepad++.exe $FILE  # 2003
# mate $FILE           # 2004
# subl $FILE           # 2008
# atom $FILE           # 2014
code $FILE           # 2015
# nvim $FILE           # 2015
micro $FILE          # 2016
# cursor $FILE         # 2023

NVIDIA GPU, hypr.land and Google Chrome

Make sure you manually disable Secure Boot in UEFI; Because apt:nvidia-driver is not installed, it's compiled with apt:dkms. Installing apt:nvidia-driver installs the source code, then it compiles, then installs the actual driver software. But the newly compiled software has no cryptographic release signature, which is required for Secure Boot.

sudo bash ./node/upgrade.sh
sudo bash ./desktop/upgrade.sh
cp ./desktop/.hypr ~/.hypr
sudo reboot 0
dbus-run-session Hyprland --config ~/.hypr

Hyprland Desktop Screenshot

About

Linux scripts and dotfiles

Resources

Stars

Watchers

Forks

Contributors

Languages