How to make an image of Ubuntu Server installation using VMware Tools/Player?

2

I was asked to provide an image of my Ubuntu Server 9.10 with LAMP made by VMware Player for setting up a VPS. Most of the information on the internet is about Ubuntu Desktop and Windows, so I am a bit confused.

Could you explain me how I can do that?

Note: I am very beginner so kindly ask you to provide me step-by-step commands to execute in the Ubuntu Server command-line.

Andrei

Posted 2010-04-23T11:31:40.453

Reputation: 1 164

Answers

3

get a ubuntu server disk image (this is different from the desktop version). select this as your cd rom device in vmware player, do an install. Select LAMP server in tasksel or select individual pakages post install. That's pretty much it for a basic lamp server VM

Journeyman Geek

Posted 2010-04-23T11:31:40.453

Reputation: 119 122

As I understand, I need to have Ubuntu Desktop on one partition in which I can run VMware Player for installing Ubuntu Server to another partition. Is it correct? Initially I thought that the image will be created from Ubuntu Server after installing the player on it. – Andrei – 2010-04-23T20:38:41.253

you can run VMware player in ubuntu, or windows, or another linux distro- i'd suggest installing vmware player, and reading the docs, and generally poking around with it first. its a fairly simple gui. Once Vmware player is set up, its about identical to setting up a real system. – Journeyman Geek – 2010-04-23T23:55:05.513

1

The work may already have been done for you:

VMWare's Virtual Applicances (link goes to ubuntu+lamp search)

If you want to image an existing installation then VMWare's free Converter may help

Shevek

Posted 2010-04-23T11:31:40.453

Reputation: 15 408

Thanks for your tip! However, by security considerations, I would like to make an image by myself. Plus, I can define some initial settings of my webserver. (I will not be provided a command-shell access) – Andrei – 2010-04-23T12:38:28.780

1

I found this which seems pretty nice. A Turnkey solution: http://www.turnkeylinux.org/lamp

Jason Shultz

Posted 2010-04-23T11:31:40.453

Reputation: 565