- On the client machine create a ssh configuration file in
$HOME/.ssh/config
Host mycvs
HostKeyAlias zenag.desy.de
Hostname localhost
Port 8822
- Create a forwarding of all local connections to port 8822 to
cvsserver.domain.net with the command:
ssh -v -l alberto -L 8822:zenag.desy.de:22 zenith206.desy.de
- Set the environment variables:
export CVSROOT=cvsserver2:/var/lib/cvs/
export CVS_RSH=ssh
- And now execute the cvs commands, for instance:
cvs -d alberto@cvsserver2:/var/lib/cvs update
- a2ps How to print two files one after the
other:
a2ps --file-align=fill -o output.ps file1.txt file2.txt
- How to format a postscript file for book printing:
psbook infile.ps > out1.ps
pstops "4:0L@0.7(21cm,0)+1L@0.7(21cm,14.85cm),2R@0.7(0,29.75cm)+3R@0.7(0,14.85cm)" infile.ps > outfile.ps
- Formattare il DVD+RW nel caso sia vergine.
# cd /opt/src/dvd+rw-tools-5.21.4.10.8
# ./dvd+rw-format /dev/hdc
- Creare una immagine ISO.
- Aggiungere nel PATH il link a mkisofs di Schilling
# export PATH=/opt/schily/bin/:$PATH
- Creare immagine con mkisofs
# /opt/schily/bin/mkisofs -graft-points -f -R -r -l -J -o image.iso schily/=/opt/schily/
- Regole da seguire per i path names:
- Per le directory: slash at both ends.
nome_directory/=/path/completo/alla/directory/con/slash/finale/
- Per i files: no slash at the end.
nome_file=/path/to/file/senza/slash/finale
- Passare l'immagine creata a growisofs che la masterizza:
# ./growisofs -dvd-compat -Z /dev/hdc=image.iso
- Nel caso si volesse fare un test di prova senza scrivere:
# ./growisofs -dry-run -dvd-compat -Z /dev/hdc=image.iso