Solved

How to install Linux in a virtual machine over SSH?

Posted on 2009-07-06
8
708 Views
Last Modified: 2013-12-15
Hi!

I've got a Fedora 10 server and I would like to install a virtual machine in it. Because it's a remote server, I have to install it over SSH.
I'll need something like VMWare, where I can install Fedora 10 on, all remotely. I was wondering if this is possible. If it is, are there any special steps to take care of? Which virtualization tool would be the best to use?

Thanks in advance!
0
Comment
Question by:thijs321
8 Comments
 
LVL 9

Expert Comment

by:michofreiha
ID: 24784123
Dear Sir,

First at all you need to install VMWare on the remote machine and this could not be dome if you do not have someone that pick in the CD inside the CDROM drive and restart the server manually and follow the instructions on the screen...As soon as the VMWare is installed then you can install a VMWare Infrastructure client on a windows machine and create virtual machine on the server...

in order to install fedora or what else on the server, you have to download an image of the OS on the Windows machine and install it using this image....

regards
0
 

Author Comment

by:thijs321
ID: 24784320
Hi,

Thanks for your answer. I do not have the possibility for someone to do this for me. Aren't there tools available other than VMWare to do this fully remotely?

TIA
0
 
LVL 9

Accepted Solution

by:
michofreiha earned 150 total points
ID: 24784503
is this server inside your network ?? or it located outside of your network ??

if this is inside of your network, then you can use vnc viewer to get remote desktop of linux server

if this server is outside of your network, then you can install NIX server , and you can use NIx software to get linux gui


also for ssh to get gui, have a look this one

http://www.cyberciti.biz/tips/linux-mac-osx-x11-forwarding-over-ssh-howto.html
0
 
LVL 3

Assisted Solution

by:raj27962
raj27962 earned 150 total points
ID: 24786529
thats easy, just use winscp or whatever client you use to connect to your server and copy an iso over if you want to mount it, though theres no reason to do so. You can vnc to the gui to do any installs that need gui's though you should be able to install whatever via command line in nix.

In your case the best solution is to goto vmware, register for an account, download vmware server for linux for free, which should be :

Version 2.0.1 | 156745 - 03/31/09      466 MB TAR image md5sum: be96bc1696f4cef67755bfd2553ce233(¹)

copy the tar file to the server, install vmware server via the command line ( putty to ssh port ) - server might need a restart after - i've done this many time via ssh in our production environment to create test and dev servers - mainly since it takes to long to get security to open the comms room and get access to the servers
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 8

Assisted Solution

by:eager
eager earned 100 total points
ID: 24798526
I've used both VMware and VirtualBox.  VirtualBox is much smaller than VMware, if transferring files to a remote server is an issue.  

You will also need the install DVD image of the OS you want to install on the server.

You can connect to the remote server using "ssh -X <remote.server.com>" which will enable X11 forwarding, so that the VMware or VirtualBox GUI will open on your display.  
0
 
LVL 7

Assisted Solution

by:greg_vander
greg_vander earned 100 total points
ID: 24902506
Hi

you can use kvm as well :
http://www.howtoforge.com/virtualization-with-kvm-on-a-fedora-10-server
you can have GUI back with vnc server if needed.
regards
0
 

Author Comment

by:thijs321
ID: 24950845
Hello,

The installation of the virtual machine has some delay since there were some other things with higher priority to work on. I haven't tested or tried it out, but I guess your responses will help me out greatly if I get that far.

So for now, I will close this question and accept your answers as the solution. However, as I said, I did not yet try it.

Thank you all!
0
 

Author Closing Comment

by:thijs321
ID: 31600069
Thanks
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now