Tags All Entries

FreeBSD

get ports

# setup port tree
portsnap fetch
portsnap extract

# install portmaster
cd /usr/ports/ports-mgmt/portmaster
make install
portmaster

# install neovim
portmaster install editors/neovim

# install tmux
pkg install tmux zsh py27-pip-9.0.1

# add user (follow prompts)
adduser

# add user to sudo
# alice ALL=(ALL) NOPASSWD: ALL
visudo

# Login as user / ssh
# Add ssh key
cd ~
mkdir .ssh
chmod 700 .ssh
touch .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
## add key

# install git
portmaster install devel/git

Links to this note