echo 'inet IP MASK NONE' > /etc/hostname.IFNAME
echo 'inet IP MASK NONE' > /etc/hostname.IFNAME
echo IPGATEWAY > /etc/mygate
chmod 744 /etc/netstat
/etc/netstat
echo 'export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/' >> /root/.profile
echo 'PS1="\[\e[36;1m\]\u@\[\e[32;1m\][\h]\e[36;1m\]> "' >> /root/.profile
adduser m4rk
echo 'PS1="\[\e[31;1m\]\u@\[\e[32;1m\][\h]\e[31;1m\]> "' >> /home/m4rk/.profile
chsh -s bash
ln -s .profile .bashrc
visudo and permit su to group wheel
pkg_add -rv bash
pkg_add -rv nano
pkg_add -rv gnuls
pkg_add -rv vim-7.2.190p1-no_x11cp /usr/local/share/vim/vim72/vimrc_example.vim .vimrc
rm -f /usr/bin/vi ; ln -s /usr/local/bin/vim /usr/bin/vi
cat /etc/hosts
127.0.0.1 localhost.syn.local localhost lo lo0
::1 localhost.syn.local localhost lo lo0
tail /root/.profile
alias ll="gls -lh --color"
alias sl="gls -lh --color"
alias l="gls -h --color"
alias rm="rm -i"
alias mv="mv -i"
alias cp="cp -i"
alias grep="grep -i"
mkdir /mnt/cdrom
echo "/dev/cd0a /mnt/cdrom cd9660 ro,noauto 0 0" >> /etc/fstab
cd /usr/
ftp ftp://ftp.das.ufsc.br/pub/OpenBSD/4.6/ports.tar.gz
tar xzvf ports.tar.gz
rm -f ports.tar.gz
cd /usr/ports/net/cvsup
make install clean
vi /root/ports-file and put:
# Defaults that apply to all the collections
*default release=cvs
*default delete use-rel-suffix
*default umask=002
*default host=anoncvs3.usa.openbsd.org
*default base=/usr
*default prefix=/usr
*default tag=OPENBSD_4_6
# If your network link is a T1 or faster, comment
# out the following line.
*default compress
OpenBSD-ports
#OpenBSD-all
#OpenBSD-src
#OpenBSD-www
#OpenBSD-x11
#OpenBSD-xenocara
cvsup -g -L 2 /root/ports-file
cd /usr/ports/sysutils/pftop/
make install clean
cd /usr/ports/infrastructure/build/
./out-of-date
find /usr/ports/ -name links
cd /usr/ports/www/links/
make update
pkg_add -ui -F update -F updatedepends
So, I begin the work! :)
biOos
No comments:
Post a Comment