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
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
mark on February 12th, 2012

in command mode:

1,$s/(press Ctrl+V+M)//g
Share
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
mark on February 9th, 2012

#create database
mysqladmin -u root create db_name

#dump database
/usr/local/bin/mysqldump -u user -p password -f --databases name_db > name_db.sql

#restore databse
mysql < dump.sql

#create new user
CREATE USER 'username'@'hostname' IDENTIFIED BY 'password';

#grant privileges
GRANT ALL PRIVILEGES ON db_name.* TO 'username'@'hostname' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
Share
mark on February 9th, 2012

CVSROOT=:pserver:username@hostname:/path_cvs
cvs login
cvs co
cvs commit
... see man cvs

How add directory tree:


cvs add root_dir
cd root_dir
find . -name \* -exec cvs add {} \;
cvs ci
Share
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
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
mark on December 23rd, 2011

Questo documento è un manuale di inglese, utile per una facile e veloce consultazione.
La maggior parte di questo documento è dedicata alla grammatica inglese.

Download (PDF, 469.52KB)

Share
mark on December 23rd, 2011

Viene presentata una relazione riguardante un’analisi di due metodologie per eseguire processi in modo sicuro: la system call chroot e le jail del sistema operativo FreeBSD.

Download (PDF, 80.59KB)

Share