近日,mac被困死,几台虚拟机brige上不了网,nat不是很好用,无奈在本机安装代理软件
碰到终端设置代理的问题记录下来:
LOGNAME=root
# more .profile
# $OpenBSD: dot.profile,v 1.8 2009/05/06 22:02:05 millert Exp $
#
# sh/ksh initialization
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
export PATH
: ${HOME='/root'}
export HOME
PKG_PATH=http://ftp.kddlabs.co.jp/OpenBSD/4.8/packages/amd64/
export PKG_PATH
umask 022
http_proxy=http://192.168.0.8:808/
export http_proxy
if [ -x /usr/bin/tset ]; then
if [ X"$XTERM_VERSION" = X"" ]; then
eval `/usr/bin/tset -sQ '-munknown:?vt220' $TERM`
else
eval `/usr/bin/tset -IsQ '-munknown:?vt220' $TERM`
fi
fi
#