User Tools

Site Tools


stretch:basics

Differences

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

Link to this comparison view

Next revision
Previous revision
stretch:basics [2018/01/04 22:53] – Copied from Jessy slackstretch:basics [2019/11/07 17:58] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Jessy Basics ======+====== Stretch (9) Basics ======
  
 ===== Apt ===== ===== Apt =====
Line 8: Line 8:
   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 \
-  dolphin vlc+  dolphin vlc python-pip net-tools
      
   gem install rmagick mini_exiftool pry awesome_print   gem install rmagick mini_exiftool pry awesome_print
 +  
 +  pip install cheat
  
 **Without x** (headless): **Without x** (headless):
  
   apt-get install git curl screen build-essential pkg-config ruby ruby-dev rubygems \   apt-get 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
      
   gem install rmagick pry awesome_print   gem install rmagick pry awesome_print
 +  
 +  pip install cheat
 +
 +**Windows 10** (headless):
 +
 +  sudo passwd
 +  
 +  apt-get install git curl screen build-essential pkg-config ruby ruby-dev \
 +  make zsh perl libwww-perl libxml-perl libxml-simple-perl atomicparsley rtorrent \
 +  python-pip net-tools
 +  
 +  gem install rmagick pry awesome_print
 +  
 +  pip install cheat
 +  
 +  mkdir ~/.screen && chmod 700 ~/.screen
 +
 +===== Networking without X =====
 +
 +''eth0'' just became something like ''enp2s0''.
 +
 +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):
 +
 +<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 41: Line 83:
   cd /usr/share/X11/xkb/symbols   cd /usr/share/X11/xkb/symbols
   mv gb gb.default   mv gb gb.default
-  ls -s "$CONFIG/gb" .+  ln -s "$CONFIG/gb" .
      
   cd ../rules   cd ../rules
Line 55: Line 97:
   cd /etc   cd /etc
   mv hosts hosts.default   mv hosts hosts.default
-  ln -s "$CONFIG/root/hosts" .+  cp "$CONFIG/root/hosts"
 + 
 +<del>ln -s "$CONFIG/root/hosts" .</del> <--- doesn't work
  
 ===== Oh my zsh ===== ===== Oh my zsh =====
Line 72: Line 116:
   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
stretch/basics.1515106390.txt.gz · Last modified: 2019/11/07 17:58 (external edit)