bookworm:basics
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bookworm:basics [2023/07/13 21:42] – [Desktop machine] slack | bookworm:basics [2023/08/05 09:47] (current) – [Host] slack | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ==== Desktop machine ==== | ==== Desktop machine ==== | ||
| - | apt-get install git curl screen build-essential pkg-config ruby ruby-dev rubygems \ | + | apt install git curl screen build-essential pkg-config ruby ruby-dev rubygems \ |
| libmagickwand-dev jhead exiftool linux-headers-$(uname -r) make zsh \ | libmagickwand-dev jhead exiftool linux-headers-$(uname -r) make zsh \ | ||
| perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \ | perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \ | ||
| Line 17: | Line 17: | ||
| Somewhat bloated, with system ruby: | Somewhat bloated, with system ruby: | ||
| - | apt-get install git curl screen build-essential pkg-config ruby ruby-dev rubygems \ | + | apt install git curl screen build-essential pkg-config ruby ruby-dev rubygems \ |
| linux-headers-$(uname -r) make zsh perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \ | linux-headers-$(uname -r) make zsh perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \ | ||
| python-pip net-tools | python-pip net-tools | ||
| | | ||
| gem install rmagick pry awesome_print | gem install rmagick pry awesome_print | ||
| - | | ||
| - | pip install cheat | ||
| - | |||
| - | Starter set, for use with rbenv: | ||
| - | apt-get install git curl screen build-essential pkg-config linux-headers-$(uname -r) make \ | ||
| - | zsh perl libwww-perl libxml-perl net-tools | ||
| ==== Web-accessible ==== | ==== Web-accessible ==== | ||
| Line 44: | Line 38: | ||
| ufw allow WWW Full | ufw allow WWW Full | ||
| - | | ||
| - | | ||
| ==== Windows 10 ==== | ==== Windows 10 ==== | ||
| Line 52: | Line 44: | ||
| sudo passwd | sudo passwd | ||
| | | ||
| - | apt-get install git curl screen build-essential pkg-config ruby ruby-dev \ | + | apt install git curl screen build-essential pkg-config ruby ruby-dev \ |
| make zsh perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \ | make zsh perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \ | ||
| python-pip net-tools | python-pip net-tools | ||
| Line 63: | Line 55: | ||
| ===== Networking without X ===== | ===== Networking without X ===== | ||
| - | |||
| - | < | ||
| - | |||
| ''/ | ''/ | ||
| - | Edic ''/ | + | Edit ''/ |
| - | < | ||
| - | |||
| - | < | ||
| - | auto enp2s0 | ||
| - | iface enp2s0 inet static | ||
| - | address 10.0.0.1 | ||
| - | netmask 255.255.255.0 | ||
| - | gateway 10.0.0.2 | ||
| - | </ | ||
| - | |||
| - | If you want to add an IPv6 address, too, append something like: | ||
| - | |||
| - | < | ||
| - | iface enp2s0 inet6 static | ||
| - | address 2001: | ||
| - | netmask 64 | ||
| - | gateway 2001: | ||
| - | </ | ||
| ===== Config ===== | ===== Config ===== | ||
| Line 127: | Line 98: | ||
| ===== Host ===== | ===== Host ===== | ||
| + | Edit ''/ | ||
| - | cd /etc | ||
| - | mv hosts hosts.default | ||
| - | cp " | ||
| - | |||
| - | < | ||
| ===== Oh my zsh ===== | ===== Oh my zsh ===== | ||
| Line 150: | Line 117: | ||
| UUID=blah | UUID=blah | ||
| - | ===== Regional settings ===== | ||
| - | |||
| - | For '' | ||
| - | |||
| - | LANG=" | ||
| - | LCALL=" | ||
| - | | ||
| - | Which won't help, of course. | ||
| - | ===== Github ===== | ||
| - | cheat | ||
bookworm/basics.1689284569.txt.gz · Last modified: 2023/07/13 21:42 by slack