SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I want to use slackware as a web server but i want to have it on a virtual machine, i know how to install it and everything but i need to be able to copy my virtual machine on my usb drive which is limited to 3.7GB (embarrassing i know...), what packages could i leave behind to reduce the size of the installtion and still be able to run it as a web server?
Click here to see the post LQ members have rated as the most helpful post in this thread.
Install anything that does not belong to the GUI, so no KDE, KDEI, XAP, X. It should also be safe to leave out the packages that have no use on a server, for example command line music-players. Just make sure that you have all needed dependencies.
If you are using VirtualBox, you can both compact the size and clone the USB virtual machine.
To compact:
1. Open the virtual machine
2. dd if=/dev/zero of=/bigfile (wipes free space with zeroes)
3. rm -f /bigfile
4. Close the virtual machine
5. vboxmanage modifyvdi nameof.vdi compact
Compacting will reduce the size of the virtual machine. I compact my Current virtual machine often. I save considerable space each time.
FWIW: To compact a Windows virtual machine, download a utility called sdelete. Use that command to zero wipe all free space. Then compact the same way using the vboxmanage command.
I want to use slackware as a web server but i want to have it on a virtual machine, i know how to install it and everything but i need to be able to copy my virtual machine on my usb drive which is limited to 3.7GB (embarrassing i know...), what packages could i leave behind to reduce the size of the installtion and still be able to run it as a web server?
This set of packages is for Linux-Vserver: http://notes.sagredo.eu/sites/notes....erver/PKG_LIST. It produces a guest of about 450MB and fits all the prerequisites for httpd, mysql, postgres, qmail and related.
Since Linux-Vserver is an OS level virtualization, if you have qemu or virtualbox etc. just add all hardware and kernel related packages (more info here: http://notes.sagredo.eu/node/7).
Last edited by roberto967; 08-25-2011 at 01:25 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.