Input

book: Create a structured PDF document with headings, chapters, etc.
webpage: Specifies that the HTML sources are unstructured (plain web pages.) A page break is inserted between each file or URL in the output.
continuous: Specifies that the HTML sources are unstructured (plain web pages.) No page breaks are inserted between each file or URL in the output.
Title of the document for the front page.
Extract the first heading of the document and use it as title. If checked the title field has no effect.
The title image or HTML page. These file has to be an attachments!
Specify document version to be displayed on the title page.
Intellectual property owner of this document.
Copyright notice for this document.
Information about who and when modified the document are applied at the end.

Output

Specifies the output format.
Grayscale document  Title page
Compression :   JPEG big images 

Pagina

 
User defined page size 
Choose one of the predefined standard sizes or select user defined.
Specifies the page size using a standard name or in points (no suffix or ##x##pt), inches (##x##in), centimeters (##x##cm), or millimeters (##x##mm).
Set the target browser width in pixels (400-1200). This determines the page scaling of images.
   2-Sided   Landscape
   
   
   
Specifies the margin size using points (no suffix or ##x##pt), inches (##x##in), centimeters (##x##cm), or millimeters (##x##mm). Keep empty for default value.
Left
Middle
Right
Sets the page header to use on body pages.
Left
Middle
Right
Sets the page footer to use on body pages.

Indice

Sets the number of levels in the table-of-contents. Empty for unlimited levels.
   Numbered headings Check to number all of the headings in the document.
Sets the title for the table-of-contents. Empty for default title.
Left
Middle
Right
Sets the page header to use on table-of-contents pages.
Left
Middle
Right
Sets the page footer to use on table-of-contents pages.

Colors

Enter the HTML color for the body (background).
Enter the image file for the body (background). These file has to be an attachments!
Enter the HTML color for the text.
Sets the color of links.
Enables generation of links in PDF files.

Fonts

Set the default size of text.
Set the spacing between lines of text.
Choose the default typeface (font) of text.
Choose the default typeface (font) of headings.
Set the size of header and footer text.
Choose the font for header and footer text.
Change the encoding of the text in document.
Check to embed font in the output file.

PDF

Controls the initial viewing mode for the document.
Document: Displays only the docuemnt pages.
Outline: Display the table-of-contents outline as well as the document pages.
Full-screen: Displays pages on the whole screen; this mode is used primarily for presentations.
Controls the initial layout of document pages on the screen.
Single: Displays a single page at a time.
One column: Displays a single column of pages at a time.
Two column left/right: Display two columns of pages at a time; the first page is displayed in the left or right column as selected.
Choose the initial page that will be shown.

Security

Check to number all of the headings in the document.
 Versione stampabile   Modify
 Copy   Annotate
Specifies the document permissions.
Specifies the user password to restrict viewing permissions on this PDF document. Empty for no encryption.
Specifies the owner password to control who can change document permissions etc. If this field is left blank, a random 32-character password is generated so that no one can change the document.

Expert

Specify language to use for date and time format.
Shrink code blocks on page.
Show line numbers for code blocks.
Make spaces visable by dots (·) instead of white spaces.
Make line breaks visable by a extra character (¶) at the end.
Enable this feature if you searching for problems or intent to report a bug report

About

Version 2.4.2 (MoinMoin 1.9.7)


MoinMoin - Generate PDF document using HTMLDOC

This action script generate PDF documents from a Wiki site using
the HTMLDOC (http://www.htmldoc.org) software packages which has
to be preinstalled first.

Copy this script in your's MoinMoin action script plugin directory.

Thanks goes to Pascal Bauermeister who initiated the implementaion.
Lot of things changes since then but the idear using HTMLDOC is the
main concept of this implementation.

Please visit the homepage for further informations:
http://moinmo.in/ActionMarket/PdfAction

@copyright: (C) 2006 Pascal Bauermeister
@copyright: (C) 2006-2010 Raphael Bossek <raphael.bossek@solutions4linux.de>
@license: GNU GPL, see COPYING for details

       

Italiano English
Modifica History Actions

LVM

Come virtualizzare una macchina utilizzando Xen e LVM

Con LVM dobbiamo creare un "gruppo logico" dentro cui metteremo i nostri "volumi logici". Nell'esempio creiamo il gruppo logico birra associato al device fisico /dev/sda3. Dentro questo gruppo, creiamo il volume logico "ale", un hard disk da 100 Gb. Creiamo anche il volume logico "ale-swap" e formattiamo i due volumi rispettivamente ext3 e swap.

pvcreate /dev/sda3
vgcreate birra /dev/sda3
lvcreate -L100000 -nale birra
mkfs.ext3 /dev/vserver/testdevice 
mkswap -L ale-swap /dev/birra/ale-swap

A questo punto installiamo xen. Nel nostro caso prendiamo la versione a 64bit avendo un processore amd64:

apt-get install xen-linux-system-2.6.18-6-xen-amd64

il pacchetto da solo tira giu' le dipendenze che sono:

  iproute libatm1 linux-image-2.6.18-6-xen-amd64
  linux-modules-2.6.18-6-xen-amd64 python-central xen-hypervisor-3.0.3-1-amd64
  xen-linux-system-2.6.18-6-xen-amd64 xen-utils-3.0.3-1 xen-utils-common

Una volta installato il kernel, modifichiamo la entry nel grub che si sarà create. Dobbiamo forzare la dom0 a prendersi solo un certo quantitativo di ram e non tutta la ram non allocata nel sistema:

vi /boot/grub/menu.list

title           Xen 3.0.3-1-amd64 / Debian GNU/Linux, kernel 2.6.18-6-xen-amd64
root            (hd0,1)
kernel          /boot/xen-3.0.3-1-amd64.gz dom0_mem=512M
module          /boot/vmlinuz-2.6.18-6-xen-amd64 root=/dev/sda2 ro console=tty0
module          /boot/initrd.img-2.6.18-6-xen-amd64
savedefault fallback

riavviamo la macchina (utilizzare il fallback in grub puo' salvare la vita nel caso non abbiamo accesso fisico alla macchina!).

Ora dobbiamo creare un file contenente la configurazione della macchina virtuale. Nel nostro caso abbiamo preso /etc/xen/ale.sxp editandolo come segue:

kernel = "/boot/vmlinuz-2.6.18-6-xen-amd64"
ramdisk = "/boot/initrd.img-2.6.18-6-xen-amd64"
memory = 1024
name = "ale"
vif = [ 'mac=aa:00:00:7d:f8:77, ip=78.47.48.233' ]
disk = ['phy:birra/ale,sda1,w', 'phy:birra/ale-swap,sda2,w']
root = "/dev/sda1 rw"

(se non aggiungiamo un mac address, ad ogni riavvio della domU, avremmo un interfaccia di rete ethX con X che aumenta ogni volta!!!)

a seconda della configurazione della rete, potremmo voler abilitare il routing delle macchine virtuali, editando il file /etc/xen/xend-config.sxp

e decommentando le righe

(network-script network-route)
(vif-script     vif-route)

e poi riavviare con

/etc/init.d/xend restart

Adesso possiamo lanciare la macchina virtuale con

xm create /etc/xen/ale.sxp

o in alternativa per lanciarla e agganciarsi alla shell

xm create -c /etc/xen/ale.sxp

e vedere se e' partita

xm list
}}

Possiamo entrare nella macchina digitando
{{{
xm console ale

e uscire con:

CTRL-]

Configurare la rete:

Partiamo dalla macchina che ha come tabella di routing di default:

78.46.66.32/27 via 78.46.66.33 dev eth0 
78.46.66.32/27 dev eth0  proto kernel  scope link  src 78.46.66.42 
default via 78.46.66.33 dev eth0 

Su dom0

 ip route add 78.47.48.232/29 dev eth0
 /sbin/ip route add 78.47.28.233/32 dev veth1
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/conf/eth0/proxy_arp

Per noi non c'e' bisogno ->/sbin/ip link set eth0 up /sbin/ip route add 192.168.0.0/24 dev eth0 #come route add ... /sbin/ip addr add 10.0.0.1/24 dev eth1 #come ifconfig eth1 10.0.0.1 /sbin/ip link set eth1 up echo "1" > /proc/sys/net/ipv4/ip_forward echo "1" > /proc/sys/net/ipv4/conf/eth0/proxy_arp

Su domU invece:

Inutile se quello è il default gw no?? --> /sbin/ip addr add 192.168.0.1/24 dev eth0
OPZ se mettiamo la configurazione in  /etc/network/interfaces   --> /sbin/ip link set eth0 up
/sbin/ip route add default dev eth0

Per espandere una partizione LVM basta seguire questa guida:
http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html