News

Sponsor

hetzner.de

Donate

Letzte 3 Spenden
07-02-2010 30.00
07-02-2010 15.00
06-02-2010 3.00

Spende

Languages


Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.   Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
h2
Titel: new script: svmi - a virtual machine installer  BeitragVerfasst am: 04.09.2007, 21:59 Uhr



Anmeldung: 28. Nov 2006

Beiträge: 4966

First drafts are working now, see this thread for more: http://sidux.com/PNphpBB2-viewtopic-t-5686.html

Features:
  • vmware any any install, automatically downloads and runs latest version
  • v**multimedia** download and install, very basic, no configurations, it's up to you currently to get the stuff running
  • vbox installer, including add user to group
  • vbox kernel module builder. Note, to build without error, please do a dist-upgrade first.
  • You can run the options manually, or use the auto install feature, non interactive mode:
  • see svmi -h for autoinstall options.
  • Script, as usual, updates itself automatically so you'll always have the latest version when it runs.


To download and install:
      Code:
cd /usr/local/bin; wget -Nc techpatterns.com/svmi; chmod +x svmi; svmi


This is very early in the script's life, so only basic stuff works. To do: error handling, qemu image builder, v**multimedia** instructions, vmx file downloader.

If you use v**multimedia**, the any any patch updater and runner will be a pleasant surprise for you, I made it to scratch my pet peeve of having to manually run any any each kernel update, now it's all automatic.

This script is basically a companion script for sgfxi, and like it, offers both free and non free options.

Once it's a bit more solid, I'll add in the svmi option to post dist-upgrade options in smxi so it's all integrated.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
craigevil
Titel: RE: new script: svmi - a virtual machine installer  BeitragVerfasst am: 04.09.2007, 22:36 Uhr



Anmeldung: 30. Nov 2006

Beiträge: 636
Wohnort: USA
Once again h2 you rock. Between you, the awesome devs and the sweet apps xadras keeps coming up with, sidux rules.

_________________
Debian Tips My Debian sources.list
"If you can't apt-get something, it isn't useful or doesn't exist"
 
 Benutzer-Profile anzeigen Private Nachricht senden Yahoo Messenger MSN Messenger  
Antworten mit Zitat Nach oben
hubi
Titel: RE: new script: svmi - a virtual machine installer  BeitragVerfasst am: 04.09.2007, 22:47 Uhr



Anmeldung: 30. Nov 2006
Wien
Beiträge: 4354

h2 magic again.

Thank you so much,
hubi

_________________
Bonitas stultitiaque sodales sunt.
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden  
Antworten mit Zitat Nach oben
Lanzi
Titel: RE: new script: svmi - a virtual machine installer  BeitragVerfasst am: 04.09.2007, 23:02 Uhr



Anmeldung: 02. Dec 2006

Beiträge: 636

Wow...
That is really cool! Thanks a lot
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel: RE: new script: svmi - a virtual machine installer  BeitragVerfasst am: 04.09.2007, 23:32 Uhr



Anmeldung: 02. Dec 2006

Beiträge: 2462

Sweet! H2 strikes again with another sidux gem Smile
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
BenGoodrich
Titel: Re: new script: svmi - a virtual machine installer  BeitragVerfasst am: 04.09.2007, 23:44 Uhr



Anmeldung: 02. Dec 2006

Beiträge: 221

      h2 hat folgendes geschrieben::
First drafts are working now, see this thread for more: http://sidux.com/PNphpBB2-viewtopic-t-5686.html


From the other thread, re: KVM

      h2 hat folgendes geschrieben::
Seems doable, but I have no way to test that myself, since it appears my cpus are not cabable.


Actually, according to http://packages.debian.org/sid/kvm ,

-------------------------------------------------------------------------------
For the best performance the processor must support hardware virtualization, provided by AMD's SVM capability and Intel's VT. To find out if your processor has the necessary support, do as follows:

* Make sure you run Linux 2.6.16 or newer for AMD processors, or Linux 2.6.15 for Intel processors. Older Linux versions do not report the virtualization capabilities.

* Run this command in a shell: egrep '^flags.*(vmx|svm)' /proc/cpuinfo

If it prints anything, the processor provides hardware virtualization support and is suitable for use with KVM.

Without hardware support, KVM falls back to the considerably slower QEMU-based software virtualization. In this case, it makes more sense to use the qemu package, possibly with the kqemu package for better performance.
-----------------------------------------------------------------------------------

So, one could test if the future version of the smvi script were installing kvm correctly even without the necessary hardware; the VM would just run no faster than it does with (k)qemu.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jaegermeister
Titel:   BeitragVerfasst am: 05.09.2007, 00:53 Uhr



Anmeldung: 07. Apr 2007

Beiträge: 619

Wonderful idea, thx a lot!!!!!!

_________________
------------------------------------
SI VIS PACEM, PARA BELLVM
------------------------------------

AC MILAN CaMpIoNe d'EuRoPa 2oo7!!!!
AC MILAN WoRLd ChAmPiOn 2oo7!!!!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mb
Titel:   BeitragVerfasst am: 05.09.2007, 01:39 Uhr



Anmeldung: 09. Dec 2006

Beiträge: 36

svmi is truly impressive!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 05.09.2007, 02:39 Uhr



Anmeldung: 28. Nov 2006

Beiträge: 4966

I am impatient, and have added now an svmi starter in post du tweaks part of smxi.

It will just start smxi with the basic options, but I might modify that so users can set certain actions to always occur by default when they run it, like making a new kernel module etc.

We'll see.

I'll try to get the worst rough edges off it tonight, but it's more or less functioning.

But remember, it won't create your vmware images or vmx files for you yet, you still need to do that manually with vmware player, but the basic setup is now available.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 05.09.2007, 07:00 Uhr



Anmeldung: 28. Nov 2006

Beiträge: 4966

version 0.5.10: error handling and logging running, all logs go to one file so we can use logrotate: /var/log/svmi.log

I'll add a bit more logging later.

Improved vmware installer and anyany installer to give some information about how to proceed.

Should be a bit more intuitive, but still needs work.

Still do to: qemu image builder for v**multimedia**

This script is now also a module for smxi, so you can start it that way too if you want.

_________________
sidux Maintenance script: dist-upgrade, kernel install, general utilities: smxi
Backup script [rsync or rdiff-backup]: rbxi
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
rh
Titel:   BeitragVerfasst am: 05.09.2007, 07:51 Uhr



Anmeldung: 11. Dec 2006

Beiträge: 207

very fine like all from h2 ...

_________________
happy with sidux ...
rh
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
wegface
Titel:   BeitragVerfasst am: 05.09.2007, 09:15 Uhr



Anmeldung: 02. Dec 2006

Beiträge: 409

nice work h2, very nice. Smile

_________________
Linux user 403389 and Herbaholic Trichopath
AMD Athlon 64 X2 4200+ / 2GB ram
Acer Aspire One 1.5g ram
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Dutchy
Titel:   BeitragVerfasst am: 05.09.2007, 10:10 Uhr



Anmeldung: 22. Feb 2007

Beiträge: 507

I am just itching to try this. Excellent work h2

_________________
Check out my book(s): http://stores.lulu.com/towerland
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
DeepDayze
Titel:   BeitragVerfasst am: 05.09.2007, 13:18 Uhr



Anmeldung: 02. Dec 2006

Beiträge: 2462

Another thing...vbox 1.5 hit sid Smile
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
BenGoodrich
Titel:   BeitragVerfasst am: 05.09.2007, 20:14 Uhr



Anmeldung: 02. Dec 2006

Beiträge: 221

Building the virtualbox-ose-modules with svmi fails in the case where the modules that were pre-built by slh are already installed
      Code:
Done with /usr/src/virtualbox-ose-modules-2.6.23-rc5-slh-smp-3_1.5.0-dfsg-1+1_i386.deb .
dpkg -Ei /usr/src/virtualbox-ose-modules-2.6.23-rc5-slh-smp-3_1.5.0-dfsg-1+1_i386.deb
Selecting previously deselected package virtualbox-ose-modules-2.6.23-rc5-slh-smp-3.
(Reading database ... 280878 files and directories currently installed.)
Unpacking virtualbox-ose-modules-2.6.23-rc5-slh-smp-3 (from .../virtualbox-ose-modules-2.6.23-rc5-$
dpkg: error processing /usr/src/virtualbox-ose-modules-2.6.23-rc5-slh-smp-3_1.5.0-dfsg-1+1_i386.de$
 trying to overwrite `/lib/modules/2.6.23-rc5-slh-smp-3/misc/vboxdrv.ko', which is also in package$
Errors were encountered while processing:
 /usr/src/virtualbox-ose-modules-2.6.23-rc5-slh-smp-3_1.5.0-dfsg-1+1_i386.deb

I: Direct installation failed, trying to post-install the dependencies

apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
ERROR: (197) The module: vboxdrv failed to build.

Time stamped error logs are located here: /var/log/svmi.log
Exiting script now.

 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT - 12 Stunden
Dieses Forum ist gesperrt, du kannst keine Beiträge editieren, schreiben oder beantworten.   Dieses Thema ist gesperrt, du kannst keine Beiträge editieren oder beantworten.
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2009