User Tools

Site Tools


bookworm:basics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bookworm:basics [2023/07/13 21:43] slackbookworm:basics [2023/08/05 09:47] (current) – [Host] slack
Line 22: Line 22:
      
   gem install rmagick pry awesome_print   gem install rmagick pry awesome_print
-   
-  pip install cheat 
- 
-Starter set, for use with rbenv: 
  
-  apt 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 61: Line 55:
  
 ===== Networking without X ===== ===== Networking without X =====
- 
-<del>''eth0'' just became something like ''enp2s0'' However, if you ask for a predictable network name in ''raspi-config'', you end up with something like ''enxb827ebb6be60''.</del>  Seems to have gone back to ''eth0''. 
- 
  
 ''/etc/network/interfaces'' seems to be deprecated on Raspbian so that dhcpcd has overall control. ''/etc/network/interfaces'' seems to be deprecated on Raspbian so that dhcpcd has overall control.
  
-Edic ''/etc/dhcpcd.conf'', which is well commented and self-explanatory (start by uncommenting ''interface eth0'').  Reboot to update dhcpcd.+Edit ''/etc/dhcpcd.conf'', which is well commented and self-explanatory (start by uncommenting ''interface eth0'').  Reboot to update dhcpcd.
  
-<del>If you're configuring it manually then something like this in ''/etc/network/interfaces'' will set the default gateway (network, broadcast and gateway are optional):</del> 
- 
-<code> 
-auto enp2s0 
-iface enp2s0 inet static 
-  address 10.0.0.1 
-  netmask 255.255.255.0 
-  gateway 10.0.0.2 
-</code> 
- 
-If you want to add an IPv6 address, too, append something like: 
- 
-<code> 
-iface enp2s0 inet6 static 
-  address 2001:db8::c0ca:1eaf 
-  netmask 64 
-  gateway 2001:db8::1ead:ed:beef 
-</code> 
  
 ===== Config ===== ===== Config =====
Line 125: Line 98:
 ===== Host ===== ===== Host =====
  
 +Edit ''/etc/hosts''; automation of this never really worked, it changes too much and is too rooty.
  
-  cd /etc 
-  mv hosts hosts.default 
-  cp "$CONFIG/root/hosts" . 
- 
-<del>ln -s "$CONFIG/root/hosts" .</del> <--- doesn't work 
  
 ===== Oh my zsh ===== ===== Oh my zsh =====
Line 148: Line 117:
   UUID=blah  /huge ntfs  uid=1000,gid=1000,umask=022,auto  0  0   UUID=blah  /huge ntfs  uid=1000,gid=1000,umask=022,auto  0  0
  
-===== Regional settings ===== 
- 
-For ''gnome-terminal'' to load, ''/etc/environment'': 
- 
-    LANG="en_GB.UTF-8" 
-    LCALL="en_GB.UTF-8" 
-     
-Which won't help, of course. 
  
-===== Github ===== 
  
-cheat 
bookworm/basics.1689284626.txt.gz · Last modified: 2023/07/13 21:43 by slack