| Autor |
Nachricht |
h2
|
|
Titel: new script: svmi - a virtual machine installer
Verfasst 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
|
| |
|
|
|
 |
craigevil
|
|
Titel: RE: new script: svmi - a virtual machine installer
Verfasst 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"
|
| |
|
|
|
 |
hubi
|
|
Titel: RE: new script: svmi - a virtual machine installer
Verfasst am: 04.09.2007, 22:47 Uhr
|
|

Anmeldung: 30. Nov 2006
Wien
Beiträge: 4354
|
|
|
|
|
 |
Lanzi
|
|
Titel: RE: new script: svmi - a virtual machine installer
Verfasst am: 04.09.2007, 23:02 Uhr
|
|

Anmeldung: 02. Dec 2006
Beiträge: 636
|
|
Wow...
That is really cool! Thanks a lot |
|
|
| |
|
|
|
 |
DeepDayze
|
|
Titel: RE: new script: svmi - a virtual machine installer
Verfasst am: 04.09.2007, 23:32 Uhr
|
|
Anmeldung: 02. Dec 2006
Beiträge: 2462
|
|
Sweet! H2 strikes again with another sidux gem  |
|
|
| |
|
|
|
 |
BenGoodrich
|
|
Titel: Re: new script: svmi - a virtual machine installer
Verfasst 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. |
|
|
| |
|
|
|
 |
jaegermeister
|
|
Titel:
Verfasst 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!!!!
|
| |
|
|
|
 |
mb
|
|
Titel:
Verfasst am: 05.09.2007, 01:39 Uhr
|
|
Anmeldung: 09. Dec 2006
Beiträge: 36
|
|
| svmi is truly impressive! |
|
|
| |
|
|
|
 |
h2
|
|
Titel:
Verfasst 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
|
| |
|
|
|
 |
h2
|
|
Titel:
Verfasst 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
|
| |
|
|
|
 |
rh
|
|
Titel:
Verfasst am: 05.09.2007, 07:51 Uhr
|
|
Anmeldung: 11. Dec 2006
Beiträge: 207
|
|
| very fine like all from h2 ... |
_________________ happy with sidux ...
rh
|
| |
|
|
|
 |
wegface
|
|
Titel:
Verfasst am: 05.09.2007, 09:15 Uhr
|
|

Anmeldung: 02. Dec 2006
Beiträge: 409
|
|
nice work h2, very nice.  |
_________________ Linux user 403389 and Herbaholic Trichopath
AMD Athlon 64 X2 4200+ / 2GB ram
Acer Aspire One 1.5g ram
|
| |
|
|
|
 |
Dutchy
|
|
Titel:
Verfasst am: 05.09.2007, 10:10 Uhr
|
|

Anmeldung: 22. Feb 2007
Beiträge: 507
|
|
|
|
|
 |
DeepDayze
|
|
Titel:
Verfasst am: 05.09.2007, 13:18 Uhr
|
|
Anmeldung: 02. Dec 2006
Beiträge: 2462
|
|
Another thing...vbox 1.5 hit sid  |
|
|
| |
|
|
|
 |
BenGoodrich
|
|
Titel:
Verfasst 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.
|
|
|
| |
|
|
|
 |
|
|