Settembre 2007


In Polymedia per clonare la transizione di save seguire i seguenti passi:

  • in SA creare una transizione con gli stessi valori di quella di save, tranne name e descr :-)
  • editare <polymedia_srv_dir>\PPC\jsp\contentItemButtonBar.xs clonando il template della transizione di save per la nuova transizione
  • editare <polymedia_srv_dir>\SP\contents\contentItem.js clonando la funzione per save (saveContentInstance) per la nuova transizione.

dovrebbe essere tutto.

Per montare immagini iso come dischi usare VirtualCdRom.

c:\%WINDOWS_DIR%\system32\VCdControlTool.exe



This free program for Windows XP lets you create a virtual CD drive on your hard disk. Some visitors to the site have confirmed that it works with Windows 2000 too (but this is not stated in Microsoft’s official readme).

For anyone unfamiliar with the terms ‘virtual CD’ or ‘CD emulator’, they mean that you can copy the entire contents of a CD-ROM to your hard disk and run the programs or access the files without the need for the original CD. This can make files more accessible, faster and more convenient. Given the speed and size of today’s hard drives, you could easily fit a number of CDs onto your hard drive without noticing the difference. Assuming you had 30 full CDs, these would take around 20GB on a hard drive and all will be accessible after a few clicks of a mouse.

Hard drives are about 10 times faster than a CD, plus you can instantly access the file instead of grabbing the CD case, inserting the CD and awaiting for the contents to load. It’s true, you could try copying the files over to the hard drive, but this can get messy, plus some programs require a CD to be loaded in order to run. This virtual CD program ‘pretends’ it is a CD drive (even though the files are on your hard drive), so your programs will run as normal.

It only works with ISO images

Installation instructions


1. Copy VCdRom.sys to your %systemroot%system32drivers folder.
2. Execute VCdControlTool.exe
3. Click “Driver control”
4. If the “Install Driver” button is available, click it. Navigate to the %systemroot%system32drivers folder, select VCdRom.sys, and click Open.
5. Click “Start”
6. Click OK
7. Click “Add Drive” to add a drive to the drive list. Ensure that the drive added is not a local drive. If it is, continue to click “Add Drive” until an unused drive letter is available.
8. Select an unused drive letter from the drive list and click “Mount”.
9. Navigate to the image file, select it, and click “OK”. UNC naming conventions should not be used, however mapped network drives should be OK.

You may now use the drive letter as if it were a local CD-ROM device. When you are finished you may unmount, stop, and remove the driver from memory using the driver control.

Acaricare il setup e lanciareie6setup /c:”ie6wzd.exe /d:1 /s:”"#E”

quindi seguire le istruzioni:

  1. selezione SO
  2. selezione dir

Prestazioni

vmstat [sec] //vedo informazioni su cpu e swap

Backup

tar -cvf – /u01/IAS9i | gzip – > midtier_040304.tar.gz nohup tar -cvf – /u01/IAS9i | gzip – > midtier_040304.tar.gz &// in background

Vi

1,$s/.$//g //elimina ultimo carattere di ogni riga

Ricerca testo dentro file

find . -exec grep ‘testo da cercare’ {} \; -exec ls -l {} \;

find . -name ‘*.xml’ -exec grep ‘testo da cercare’ {} \; -exec ls -l {} \;

Vedere la configurazione dei servizi:
chkconfig

Impostare NFS

Server:

  • /etc
    • hosts.allow
    • exports
  • /etc/init.d
    • usare lo script nfs

Client

  • mount -o rsize=1024,wsize=1024 192.168.205.76:/opt/resin-2.1.16/webapps/ /mnt/webapps
  • umount /mnt/webapps

Assicurarsi che il mod_rewte sia caricato dopo mod_jk nella conf di Apache (caricato dopo = valutato prima).

La regola da usare deve essere del tipo:

RewriteRule ^(.*)/command/(.*)$ $1/command?var=$2 [PT,QSA]

usando [PT] la URL riscritta verra poi processata dalgi altri moduli come mod_jk.

L’articolo originale è qui http://www.kotfu.net/2006/11/tomcat-apache-mod_jk-and-mod_r.html