Solved

How to install Linux in a virtual machine over SSH?

Posted on 2009-07-06
8
712 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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
 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

785 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