⬑
OpenBSD安装
MIRROR
edit /etc/installurl
, to use Tuna
BASIC SETUP
edit /etc/doas
:
permit nopass <user> as root
install bash, emacs, :
doas pkg_add bash emacs gmake
edit ‘.profile’:
source ~/.bashrc
edit .bashrc
:
export LC_ALL=en_US.UTF-8
export PATH=~/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
export HOME
export TERM
export PS1='\n[\u@\h] \w\n$ '
alias sudo='doas'
export EDITOR='emacs'
export VISUAL='emacs'