FreeBSD

mark on November 11th, 2012

Install svn:

pkg_add -r subversion

Obtain STABLE-9 source tree:

svn co svn://svn.freebsd.org/base/stable/9 /usr/src

Obtain HEAD tree:

svn co svn://svn.freebsd.org/base/head /usr/src

Update source tree:

svn up /usr/src
…
Share

Continue reading about Obtain FreeBSD sources tree using svn

mark on February 27th, 2012

Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, … see http://www.geany.org/ for more detail

Geany-plugins provides a lot of plugins, see http://plugins.geany.org/ for more detail.

The FreeBSD port geany-plugins has been update to 0.21.…

Share

Continue reading about devel/geany-plugins: update to 0.21

mark on February 18th, 2012
pkg_add -r gksu

create launcher in gnome like this:
gksu "mount_smbfs -N //user@samsung-982afca/share /mnt/xpshare/"

create /root/.nsmbrc like this (use upper case!!!):
[SAMSUNG-982AFCA:MARK:SHARE]
addr=192.168.56.1
password=user_password…
Share

Continue reading about Using mount_smbfs in GNOME

mark on February 13th, 2012
create new VM (1Gb ram, 1 CPU, 60Mb video ram, 100Gb hd in dynamic vdi)
install freebsd from ISO
fix networking
enable ssh
fix rc.conf
pkg_add -r screen
cvs co script
fix .cshrc for users
pkg_add -r cvsup-without-gui
update ports tree (cvsup -g -L 1 ports-supfile)
pkg_add -r xorg
pkg_add -r gnome2
fetch http://datasked.com/pub/script/vbox
chmod +x vbox
./vbox
pkg_add -r gnome2-fifth-toe gnome2-power-tools gnome2-office gnome2-hacker-tools…
Share

Continue reading about FreeBSD on VirtualBox

mark on February 9th, 2012
install freebsd from DVD
pkg_add -r screen
cvs co script
fix .cshrc for users
fix hostname
fix password for users
fix ssh server
fix rc.conf
svn src
compile and install kernel+world
pkg_add -r cvsup-without-gui
update ports tree (cvsup -g -L 1 ports-supfile)
install ntpd
fix firewall (es. pf)
install portupgrade
fix mail
fix cron
add jails…
Share

Continue reading about Setup FreeBSD server

mark on February 9th, 2012
make installworld DESTDIR=/path_jail
mergemaster -i -U -D /path_jail
make delete-old
cd /etc/mail && make && make install…
Share

Continue reading about Update jail

mark on February 9th, 2012
make installworld DESTDIR=/path_jail
make distribution DESTDIR=/path_jail

install script to run jail (see http://datasked.com/pub/script/jail_ex)
update bacula for backup

jump in jail (jexec ...)

fix rc.conf (hostname etc.)
fix resolv.conf
fix .cshrc
fix reboot info
fix alias
fix sendmail
fix root passwd
fix tzsetup
get port tree with cvsup
fix crontab
install ports…
Share

Continue reading about Add jail