<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.slacky.eu/wikislack/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
		<id>http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;feed=atom&amp;action=history</id>
		<title>Creazione di un server virtuale con Slackware 10.2 - Cronologia</title>
		<link rel="self" type="application/atom+xml" href="http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;action=history"/>
		<updated>2013-06-18T21:59:34Z</updated>
		<subtitle>Cronologia della pagina su questo sito</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;diff=6226&amp;oldid=prev</id>
		<title>Zoros: Archiviato in Slackware 10.x, corretto link (puntava a slacky.it)</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;diff=6226&amp;oldid=prev"/>
				<updated>2011-04-20T20:51:17Z</updated>
		
		<summary type="html">&lt;p&gt;Archiviato in Slackware 10.x, corretto link (puntava a slacky.it)&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 20:51, 20 apr 2011&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Configurazione]]&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=Scopo dell'articolo=&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=Scopo dell'articolo=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Lo scopo di questo articolo e' illustrare la creazione di una webfarm &quot;casalinga&quot; virtuale utilizzando Slackware e Vmware server&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Lo scopo di questo articolo e' illustrare la creazione di una webfarm &quot;casalinga&quot; virtuale utilizzando Slackware e Vmware server&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 7:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 6:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=Creazione raid e installazione sistema base=&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=Creazione raid e installazione sistema base=&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Per l'installazione del Raid ho fatto riferimento ad un altro articolo presente in questo wiki di&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Per l'installazione del Raid ho fatto riferimento ad un altro articolo presente in questo wiki di&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;span class=&quot;diffchange diffchange-inline&quot;&gt;[http://www.slacky.it/wikislack/index.php?title=How_to_build_a_SATA_Raid_Software_using_Slackware_Linux &lt;/span&gt;Lorenzo Allori], che ringrazio.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;span class=&quot;diffchange diffchange-inline&quot;&gt;[http://www.slacky.eu/wikislack/index.php?title=How_to_build_a_SATA_Raid_Software_using_Slackware_Linux &lt;/span&gt;Lorenzo Allori], che ringrazio.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;La scheda madre non ha un controller Raid Ata integrato, quindi dobbiamo creare un raid software in fase di installazione di Slackware. &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;La scheda madre non ha un controller Raid Ata integrato, quindi dobbiamo creare un raid software in fase di installazione di Slackware. &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Eseguiamo il boot come al solito dal cd/dvd di Slackware, utilizziamo il kernel di default (o quello che e' piu' congeniale al vostro hardware), scegliamo il layout della tastiera e arriviamo al momento della partizione dei dischi.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Eseguiamo il boot come al solito dal cd/dvd di Slackware, utilizziamo il kernel di default (o quello che e' piu' congeniale al vostro hardware), scegliamo il layout della tastiera e arriviamo al momento della partizione dei dischi.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 157:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 156:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Autore: [[utente:Twister| Twister]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Autore: [[utente:Twister| Twister]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Configurazione-10]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:3227:newid:6226 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zoros</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;diff=3227&amp;oldid=prev</id>
		<title>Twister il 11:59, 24 nov 2006</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Creazione_di_un_server_virtuale_con_Slackware_10.2&amp;diff=3227&amp;oldid=prev"/>
				<updated>2006-11-24T11:59:22Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Configurazione]]&lt;br /&gt;
=Scopo dell'articolo=&lt;br /&gt;
Lo scopo di questo articolo e' illustrare la creazione di una webfarm &amp;quot;casalinga&amp;quot; virtuale utilizzando Slackware e Vmware server&lt;br /&gt;
=Hardware e software utilizzati=&lt;br /&gt;
Per la realizzazione del server e' stato utilizzato un normale pc PIV con 1Gb di Ram, 2 dischi da 80 GB Ata identici (messi in raid), una sola scheda di rete.&lt;br /&gt;
E' stata utilizzata Slackware per il sistema di base, il server web e il server MySql, per il firewall(che funziona anche da VPN) e' stata utilizzata per leggerezza e facilita' di configurazione [http://m0n0.ch/wall/ M0n0wall]&lt;br /&gt;
=Creazione raid e installazione sistema base=&lt;br /&gt;
Per l'installazione del Raid ho fatto riferimento ad un altro articolo presente in questo wiki di&lt;br /&gt;
[http://www.slacky.it/wikislack/index.php?title=How_to_build_a_SATA_Raid_Software_using_Slackware_Linux Lorenzo Allori], che ringrazio.&lt;br /&gt;
La scheda madre non ha un controller Raid Ata integrato, quindi dobbiamo creare un raid software in fase di installazione di Slackware. &lt;br /&gt;
Eseguiamo il boot come al solito dal cd/dvd di Slackware, utilizziamo il kernel di default (o quello che e' piu' congeniale al vostro hardware), scegliamo il layout della tastiera e arriviamo al momento della partizione dei dischi.&lt;br /&gt;
Con Fdisk creiamo le varie partizioni,'''identiche''' su entrambi i volumi, personalmente ho creato la partizione di swap di 1Gb, la / di 5 Gb la /home di 2Gb, /var di 2gb e il resto lo ho assegnato ad una partizione /vm, per le macchine virtuali.&lt;br /&gt;
Assegnamo a tutte le partizioni il flag &amp;quot;Linux raid autodetect&amp;quot;, dopodiche' armiamoci di vi e creiamo il file /etc/raidtab con questo contenuto&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
raiddev /dev/md0&lt;br /&gt;
raid-level 1&lt;br /&gt;
nr-raid-disks 2&lt;br /&gt;
nr-spare-disks 0&lt;br /&gt;
device /dev/hda1&lt;br /&gt;
raid-disk 0&lt;br /&gt;
device /dev/hdb1&lt;br /&gt;
raid-disk 1&lt;br /&gt;
chunk-size 32&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ho usato questa partizione come swap, creiamo il raid su questo dispositivo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkraid /dev/md0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Se non abbiamo errori creiamo lo swap space e attiviamolo&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkswap /dev/md0&lt;br /&gt;
&lt;br /&gt;
swapon -a&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''IMPORTANTE:''' In fase di installazione questa partizione non ci verra' proposta come swap, dobbiamo&lt;br /&gt;
quindi installare confermando il non utilizzo di una partizione di swap, a fine installazione dobbiamo&lt;br /&gt;
aggiungere manualmente ad fstab in testa questa riga&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/md0        swap    swap    defaults        0 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Creiamo ora le altre partizioni in modo similare, ad esempio per la /, apriamo nuovamente con vi&lt;br /&gt;
/etc/raidtab e sostituiamo a quello scritto precedentemente (quindi NON aggiungendo):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
raiddev /dev/md1&lt;br /&gt;
raid-level 1&lt;br /&gt;
nr-raid-disks 2&lt;br /&gt;
nr-spare-disks 0&lt;br /&gt;
device /dev/hda2&lt;br /&gt;
raid-disk 0&lt;br /&gt;
device /dev/hdb2&lt;br /&gt;
raid-disk 1&lt;br /&gt;
chunk-size 32&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e creiamo l'array&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkraid /dev/md1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e cosi' via per tutte le partizioni rimanenti.&lt;br /&gt;
Controlliamo ora il RAID&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat /proc/mdstat&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Devono comparire una serie di informazioni tra cui lo stato del sync del raid, una volta che tutti i dischi sono arrivati al 100% avviamo la procedura di setup; procediamo alla normale installazione ricordandoci di confermare il fatto di non avere una swap e di indicare la corretta partizione di /.&lt;br /&gt;
&lt;br /&gt;
Personalmente ho installato un sistema estremamente minimale evitando qualsiasi &amp;quot;orpello&amp;quot;, come wm ho scelto fluxbox, l'unico &amp;quot;vezzo&amp;quot; e' quello di firefox per l'utilizzo della console web di vmware che permette facilmente di impostare la priorita' di boot delle varie VM.&lt;br /&gt;
'''Installiamo assolutamente i sorgenti del Kernel'''&lt;br /&gt;
&lt;br /&gt;
=Installazione VMWare server e menagement console=&lt;br /&gt;
&lt;br /&gt;
L'installazione di Vmware in Slackware si discosta da quella per le altre distribuzioni, data la mancanza del file /etc/init.d e di tutto cio' che ne consegue, quindi dobbiamo fare un piccolo&lt;br /&gt;
workaround:&lt;br /&gt;
&lt;br /&gt;
Scarichiamo [http://download3.vmware.com/software/vmserver/VMware-server-1.0.1-29996.tar.gz vmwareserver], e la [http://download3.vmware.com/software/vmserver/VMware-mui-1.0.1-29996.tar.gz management-interface].&lt;br /&gt;
Lanciamo ora questi comandi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /etc&lt;br /&gt;
mkdir init.d&lt;br /&gt;
for i in {0,1,2,3,4,5,6}; do mkdir rc$i.d; done&lt;br /&gt;
mkdir /etc/pam.d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Torniamo nella directory dove abbiamo scaricato vmware e installiamo il server&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar xvf VMware-server-1.0.1-29996.tar.gz&lt;br /&gt;
cd vmware-distrib&lt;br /&gt;
./vmware-install.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Rispondiamo semplicemente alle domande (nella maggior parte dei casi e'indicato premere invio per le opzioni di default).&lt;br /&gt;
&lt;br /&gt;
Una volta terminato (a meno che non vi siano errori) occupiamoci della menagement interface&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
tar xvf VMware-mui-1.0.1-29996.tar.gz&lt;br /&gt;
cd vmware-mui-distrib&lt;br /&gt;
./vmware-install.pl&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finito anche questo rimettiamo apposto la nostra distribuzione:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp /etc/init.d/vmware /etc/rc.d/rc.vmware&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aggiungiamo a /etc/rc.d/rc.local le seguenti righe&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#VMWARE START&lt;br /&gt;
if [ -x /etc/rc.d/rc.vmware ]; then&lt;br /&gt;
      /etc/rc.d/rc.vmware start&lt;br /&gt;
fi&lt;br /&gt;
#MENAGEMENT START&lt;br /&gt;
if [ -x /usr/lib/vmware-mui/apache/bin/httpd-vmware ]; then&lt;br /&gt;
      /usr/lib/vmware-mui/apache/bin/httpd-vmware start&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
rimettiamo apposto /etc&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -rf /etc/init.d&lt;br /&gt;
for i in {0,1,2,3,4,5,6}; do rm -rf /etc/rc$i.d; done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Se tutto va bene al prossimo riavvio dovrebbe partire in automatico sia vmware che la sua management console&lt;br /&gt;
&lt;br /&gt;
L'installazione delle Virtual machines in VMWare e' facilmente intuibile e esula da questo howto.&lt;br /&gt;
&lt;br /&gt;
=HINTS=&lt;br /&gt;
&lt;br /&gt;
Personalmente ho scelto di utilizzare una diversa sottorete per le macchine virtuali (la rete interna e' xxx.xxx.55.xxx, le virtuali sono su xxx.xxx.50.xxx)&lt;br /&gt;
&lt;br /&gt;
L'interfaccia web e' in ascolto su localhost:8222 o ipmacchinabase:8222&lt;br /&gt;
&lt;br /&gt;
Per lavorare sulle macchine virtuali (installazione, configurazione, utilizzo &amp;quot;reale&amp;quot;) potete utilizzare la vmware console, che nella macchina base e'&lt;br /&gt;
richiamabile con il comando vmware.&lt;br /&gt;
Oppure potete installarla su una qualsiasi macchina nella vostra rete prelevandola da [http://download3.vmware.com/software/vmserver/VMware-server-linux-client-1.0.1-29996.zip qui]&lt;br /&gt;
&lt;br /&gt;
Per qualsiasi informazione potete contattarmi su twister&amp;lt;at&amp;gt;slacky&amp;lt;dot&amp;gt;it&lt;br /&gt;
nel canale #slackware sul server irc.syronet.org:6667&lt;br /&gt;
&lt;br /&gt;
Autore: [[utente:Twister| Twister]]&lt;/div&gt;</summary>
		<author><name>Twister</name></author>	</entry>

	</feed>