portsnap fetch extract
cd /usr/ports/ports-mgmt/portupgrade
make && make install
ee /etc/make.conf
############################
WITHOUT_LINUXTHREADS=yes
NO_INET6=true
WITHOUT_X11=YES
#kernel
KERNCONF=MYCONF
#update
SUP_UPDATE=
SUP= /usr/bin/csup
SUPFLAGS= -g -L 2 -z
SUPHOST= cvsup4.ru.FreeBSD.org
SUPFILE= /usr/share/examples/cvsup/standard-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
WITHOUT_DICT="yes"
WITHOUT_GAMES="yes"
WITHOUT_HTML="yes"
WITHOUT_INET6="yes"
WITHOUT_INET6_SUPPORT="yes"
WITHOUT_USB="yes"
WITHOUT_X11="yes"
WITHOUT_BLUETOOTH="yes"
NO_BLUETOOTH="yes"
WITHOUT_ATM="yes"
WITHOUT_IPX="yes"
WITHOUT_CDDL="yes"
WITHOUT_FLOPPY="yes"
WITHOUT_INET6="yes"
WITHOUT_NCP="yes"
WITHOUT_NDIS="yes"
############################
cd /usr/ports/ports-mgmt/portupgrade
make && make install
ee /etc/make.conf
############################
WITHOUT_LINUXTHREADS=yes
NO_INET6=true
WITHOUT_X11=YES
#kernel
KERNCONF=MYCONF
#update
SUP_UPDATE=
SUP= /usr/bin/csup
SUPFLAGS= -g -L 2 -z
SUPHOST= cvsup4.ru.FreeBSD.org
SUPFILE= /usr/share/examples/cvsup/standard-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
WITHOUT_DICT="yes"
WITHOUT_GAMES="yes"
WITHOUT_HTML="yes"
WITHOUT_INET6="yes"
WITHOUT_INET6_SUPPORT="yes"
WITHOUT_USB="yes"
WITHOUT_X11="yes"
WITHOUT_BLUETOOTH="yes"
NO_BLUETOOTH="yes"
WITHOUT_ATM="yes"
WITHOUT_IPX="yes"
WITHOUT_CDDL="yes"
WITHOUT_FLOPPY="yes"
WITHOUT_INET6="yes"
WITHOUT_NCP="yes"
WITHOUT_NDIS="yes"
############################
#pkg_add cvsup-without-gui
#cd /usr/src && make update
#mkdir /root/kernels && ee /root/kernels/BSDRASsrv
#ln -s /root/kernels/BSDRASsrv
#make -j4 buildworld
#make buildkernel
#make installkernel
#reboot
(booting in single mode 4)
#mount -u /
#mount -a
#cd /usr/src && make installworld
#reboot
#/usr/local/sbin/portinstall -cCrR subversion
#/usr/local/sbin/portinstall -cCrR bash screen
#ee .bashrc
export PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] '
export TERM=linux
alias ls='ls -GAh'
alias ll='ls -l'
alias grep='grep --color'
alias fgrep='fgrep --color'
#ee .screenrc
vbell off
defscrollback 5000
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %C:%s %A | %1`%{-}'
screen -t main
scselect 0
#pw usermod root -s /usr/local/bin/bash
#cd /usr/src && make update
#mkdir /root/kernels && ee /root/kernels/BSDRASsrv
#ln -s /root/kernels/BSDRASsrv
#make -j4 buildworld
#make buildkernel
#make installkernel
#reboot
(booting in single mode 4)
#mount -u /
#mount -a
#cd /usr/src && make installworld
#reboot
#/usr/local/sbin/portinstall -cCrR subversion
#/usr/local/sbin/portinstall -cCrR bash screen
#ee .bashrc
export PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[0m\] '
export TERM=linux
alias ls='ls -GAh'
alias ll='ls -l'
alias grep='grep --color'
alias fgrep='fgrep --color'
#ee .screenrc
vbell off
defscrollback 5000
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n*%f %t%{= kG}%+Lw%< %{= kG}%-=%D %m/%d/%y | %C:%s %A | %1`%{-}'
screen -t main
scselect 0
#pw usermod root -s /usr/local/bin/bash
Комментариев нет:
Отправить комментарий