update readme with docs about new machine setup
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# about
|
||||
|
||||
Most of this should be moved to my personal wiki
|
||||
|
||||
This is an "rsync repo tracked with git" for my dotfiles; see
|
||||
"context" section at the end for more detail.
|
||||
|
||||
@@ -9,50 +11,189 @@ to be an active hindrance to my productivity:
|
||||
|
||||
# new system config
|
||||
|
||||
terminology:
|
||||
|
||||
- being-set-up machine = mark
|
||||
- already-set-up machine = pilot
|
||||
|
||||
## devuan
|
||||
|
||||
- SSH config:
|
||||
|
||||
### SSHD config
|
||||
|
||||
- copy `id_rsa.pub` from laptop
|
||||
- edit `/etc/ssh/sshd_config` to sane defaults
|
||||
- in particular:
|
||||
|
||||
1. disable root login
|
||||
2. disable password login
|
||||
in particular:
|
||||
|
||||
- sudo: add `pharpend` to `sudo` group:
|
||||
1. **disable root login**
|
||||
2. **disable password login**
|
||||
|
||||
### sudo
|
||||
|
||||
- add `pharpend` to `sudo` group:
|
||||
|
||||
```
|
||||
# apt install sudo
|
||||
# usermod -aG pharpend sudo
|
||||
```
|
||||
|
||||
- firefox:
|
||||
### firefox
|
||||
|
||||
|
||||
```
|
||||
% sudo apt install firefox
|
||||
```
|
||||
|
||||
- rsync firefox passwords
|
||||
- add to firefox
|
||||
|
||||
- dotfiles:
|
||||
### git
|
||||
|
||||
```
|
||||
% sudo apt install git
|
||||
% git config --global init.defaultBranch master
|
||||
% git config --global user.name "Peter Harpending"
|
||||
% git config --global user.email "peter@harpending.org"
|
||||
```
|
||||
|
||||
### `git.harpending.org`
|
||||
|
||||
- ssh keygen
|
||||
|
||||
```
|
||||
% ssh-keygen
|
||||
% cat ~/.ssh/id_ed25519.pub
|
||||
```
|
||||
|
||||
- go to `git.harpending.org` on pilot machine, add ssh key to user
|
||||
profile
|
||||
|
||||
|
||||
### dotfiles
|
||||
|
||||
```
|
||||
% mkdir ~/gho
|
||||
% cd ~/gho
|
||||
% git clone https://git.harpending.org/pharpend/dotfiles-ii.git
|
||||
```
|
||||
|
||||
- tmux:
|
||||
### tmux
|
||||
|
||||
```
|
||||
% sudo apt install tmux
|
||||
% cp ~/gho/dotfiles-ii/tmux.conf ~/.tmux.conf
|
||||
```
|
||||
|
||||
- zsh:
|
||||
### zsh
|
||||
|
||||
```
|
||||
% sudo apt install zsh zsh-syntax-highlighting
|
||||
% cp ~/gho/dotfiles-ii/zshrc ~/.zshrc
|
||||
% chsh -s /usr/bin/zsh
|
||||
```
|
||||
|
||||
- vim:
|
||||
|
||||
### vim
|
||||
|
||||
```
|
||||
% sudo apt install vim vim-pathogen
|
||||
%
|
||||
```
|
||||
|
||||
```
|
||||
% cp -rv ~/gho/dotfiles-ii/vimrc ~/.vimrc
|
||||
% cp -rv ~/gho/dotfiles-ii/vim ~/.vim
|
||||
```
|
||||
|
||||
|
||||
### i3
|
||||
|
||||
pulls in i3wm, i3lock, i3status, dunst:
|
||||
|
||||
```
|
||||
% sudo apt install i3
|
||||
% mkdir ~/.i3
|
||||
% cp -rv ~/gho/dotfiles-ii/i3/config ~/.i3/config
|
||||
% cp -rv ~/gho/dotfiles-ii/i3status.conf ~/.i3status.conf
|
||||
```
|
||||
|
||||
### fonts
|
||||
|
||||
```
|
||||
% sudo apt install fonts-liberation fonts-fantasque-sans font-manager
|
||||
```
|
||||
|
||||
to refresh font cache:
|
||||
|
||||
```
|
||||
% fc-cache -fv
|
||||
```
|
||||
|
||||
### terminator
|
||||
|
||||
```
|
||||
% sudo apt install terminator
|
||||
% rsync -avn ~/gho/dotfiles-ii/config/ ~/.config
|
||||
```
|
||||
|
||||
### terminator
|
||||
|
||||
### music
|
||||
|
||||
music
|
||||
|
||||
- dry run (for making sure didn't fuck up confusing af slash syntax):
|
||||
|
||||
```
|
||||
% rsync -avn Music/ pharpend@mark:/home/pharpend/Music
|
||||
```
|
||||
|
||||
- wet run:
|
||||
|
||||
```
|
||||
% rsync -av Music/ pharpend@mark:/home/pharpend/Music
|
||||
```
|
||||
|
||||
### `apt install` shell utilities
|
||||
|
||||
exhaustive-ish
|
||||
|
||||
```
|
||||
# apt install\
|
||||
build-essential \
|
||||
gcc \
|
||||
git \
|
||||
rsync \
|
||||
sudo \
|
||||
tmux \
|
||||
tree \
|
||||
vim \
|
||||
vim-pathogen \
|
||||
zsh \
|
||||
zsh-syntax-highlighting \
|
||||
```
|
||||
|
||||
### `apt install` desktop utilities
|
||||
|
||||
|
||||
```
|
||||
# apt install\
|
||||
blueman \
|
||||
emacs \
|
||||
firefox \
|
||||
i3 \
|
||||
gthumb \
|
||||
guake \
|
||||
kde-spectacle \
|
||||
mpc \
|
||||
mpd \
|
||||
ncmpcpp \
|
||||
nitrogen \
|
||||
redshift \
|
||||
rxvt-unicode \
|
||||
terminator \
|
||||
```
|
||||
|
||||
|
||||
|
||||
## freebsd
|
||||
|
||||
Reference in New Issue
Block a user