Using a linux VM Server on a w32 pc.. help

Hi there...

So I'm at uni and just got a lappy. Over easter i won't be connected to the uni server thus won't be able to access the unix server through telnet thus being able to C Code successfully.

Now i can't be bothered dual booting my lappy with linux. Not cos im lazy, but because its a new laptop and i like to keep new things as clean as possible.

I've downloaded VMware Server beta 6.0 though not sure how to get the serial.. me msising something somewhere. I also just heard Microsofts Virtual Server (like Virtual PC) is now free to compete with VMware!

Either way, does anyone know the process of how to install a linux OS such as fedora on a VM linux server and how to set it up? I'm new to virtual linux....

Also, the linux server is:
Compaq Tru64 UNIX V5.1A

If i install something like Fedora and use the C compiler included, would I be getting exactly the same results as in the server above? I'm not sure if there are different versions of C like there is Java (i obv know C# and C++ are other versions, but i mean standard C)

Thanks for any help.
[FONT=Arial, Helvetica, sans-serif]"The internet is a great way to get on the net."
- Bob Dole, Republican presidential candidate
[/FONT]
«13

Comments

  • ollyshaw
    ollyshaw Posts: 704 Forumite
    Part of the Furniture Combo Breaker
    I have used virtual PC with linux. Worked great. Unfortunately I have not used any of the other technologies you mention.

    Olly
    ## No signature by order of the management ##
  • MercilessKiller
    MercilessKiller Posts: 7,143 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Can you not remote desktop to a uni computer?

    VPN to whatever network you need to telnet to?

    In answer to the question, installing linux in a virtual environment should be no different at all to installing it properly. I assume you're not going to bother with xwindows etc. if you're just writing C.

    Also have you considered a C compiler for Windows!!

    The uni won't allow any external access to its internal servers for the time being. They are planning on setting up an open VPN connection for next year... but not this one...

    I've never used a virtual environment. Is it simple? As in teling it you want a virtual machine, giving it memory and hard drive space, then you can insert a cd and when the virtual machine starts it will boot from cd?

    As for C compiler for windows... I haven't thought of that no. Not only does it need compiling but executing within the terminal as well.

    For example:

    cc -o work.c final

    and then i could just use:

    final

    in the command prompt to execute. Even with a C compiler i'd then need something else to execute it right?

    THanks
    [FONT=Arial, Helvetica, sans-serif]"The internet is a great way to get on the net."
    - Bob Dole, Republican presidential candidate
    [/FONT]
  • Lob_Rockster
    Lob_Rockster Posts: 225 Forumite
    cygwin not an option to give you a unix environment on windows?
    vmware probably won't support the cpq flavour but does support linux solaris etc on win32 virtual machines.

    Also the MS Virtual PC is or has just become Free too....
    In the United Kingdom 200,000 people are bitten by dogs every year and some people will die as a result. Of those bitten, 70% are children... So the question has to be asked....... Has the time come to ban children?
  • Cobi
    Cobi Posts: 54 Forumite
    Part of the Furniture
    IIRC to get the serial you need to register somewhere on their website for the beta program.

    To install linux you need to allocated some HD space with the vmware app - check the vmware settings to see which cd drive has been set up. Pop the linux boot cd in the drive and start the virtual machine.

    You might also want to consider vmware player rather than the server version - this is free, no serial number and just download one of the preconfigured virtual machines - no installation or anything required.

    If you compile on your laptop as opposed to the tru64 server you won't be getting exactly the same resulting file - (assuming it's an x86 laptop) you'll be getting an x86 executable as opposed to a tru64 executable. One won't run on the other. For that you would need build a cross-compiler for your laptop. But if it's only for the purposes of trying out some c code it should be fine.

    Cygwin could also be an option for you.
  • ollyshaw
    ollyshaw Posts: 704 Forumite
    Part of the Furniture Combo Breaker
    Beat me to it, cygwin would be the best way of doing this if you are a windows man.

    Olly
    ## No signature by order of the management ##
  • Cobi wrote:
    IIRC to get the serial you need to register somewhere on their website for the beta program.

    To install linux you need to allocated some HD space with the vmware app - check the vmware settings to see which cd drive has been set up. Pop the linux boot cd in the drive and start the virtual machine.

    You might also want to consider vmware player rather than the server version - this is free, no serial number and just download one of the preconfigured virtual machines - no installation or anything required.

    If you compile on your laptop as opposed to the tru64 server you won't be getting exactly the same resulting file - (assuming it's an x86 laptop) you'll be getting an x86 executable as opposed to a tru64 executable. One won't run on the other. For that you would need build a cross-compiler for your laptop. But if it's only for the purposes of trying out some c code it should be fine.

    Cygwin could also be an option for you.

    If i used an x86 compiler/executable, will the compiler error/warning messages be exactly the same to the tru64 one? Also, when executing the x86 executable, will the program still run exactly the same to to the tru64 one?

    The reason i am interested in VMware is to set up the server, then use the client to telnet into it locally and do it that way. Could install just some small linux OS simply for the programming!

    Will look into Cygwin. Is it virtual pc or virtual linux on a windows environment? What do i need?
    [FONT=Arial, Helvetica, sans-serif]"The internet is a great way to get on the net."
    - Bob Dole, Republican presidential candidate
    [/FONT]
  • cygwin is a unix-type environment for windows. Powerful but I find it messy.

    But then again, for a proper OS, I use slackware :)
    In the United Kingdom 200,000 people are bitten by dogs every year and some people will die as a result. Of those bitten, 70% are children... So the question has to be asked....... Has the time come to ban children?
  • Cobi
    Cobi Posts: 54 Forumite
    Part of the Furniture
    If i used an x86 compiler/executable, will the compiler error/warning messages be exactly the same to the tru64 one? Also, when executing the x86 executable, will the program still run exactly the same to to the tru64 one?

    The reason i am interested in VMware is to set up the server, then use the client to telnet into it locally and do it that way. Could install just some small linux OS simply for the programming!

    Will look into Cygwin. Is it virtual pc or virtual linux on a windows environment? What do i need?

    You may get some different error messages but it really depends on what sort of programming you are doing. The main differences are your UNIX server is 64-bit and your laptop is 32-bit. You can program to cater for these differences if you need to - it may be that you don't ever need to think about them for the kind of programming you are doing. Theres a lot of information on this kind of thing out there.

    Cygwin is a unix environment on a windows pc. It's just like opening up a terminal window on a unix box. You can download a lot of apps for it bash, make gcc etc.

    I still don't really understand what you mean by "use the client to telnet into it locally" can you give some more information?

    Duncan
  • Cobi wrote:
    You may get some different error messages but it really depends on what sort of programming you are doing. The main differences are your UNIX server is 64-bit and your laptop is 32-bit. You can program to cater for these differences if you need to - it may be that you don't ever need to think about them for the kind of programming you are doing. Theres a lot of information on this kind of thing out there.

    Cygwin is a unix environment on a windows pc. It's just like opening up a terminal window on a unix box. You can download a lot of apps for it bash, make gcc etc.

    I still don't really understand what you mean by "use the client to telnet into it locally" can you give some more information?

    Duncan


    The programming i'm doing is basic stuff... string/character arrays, pointers, etc etc... although i do need to include string.h.. that still available through cygwin?

    As for the telnetting.. example.. the server is called bs47c, so the user would:
    cmd > telnet > o > bs47c

    then be logged in and can do as the user wants :)
    [FONT=Arial, Helvetica, sans-serif]"The internet is a great way to get on the net."
    - Bob Dole, Republican presidential candidate
    [/FONT]
  • Cobi
    Cobi Posts: 54 Forumite
    Part of the Furniture
    Sorry i didn't twig that you wanted to telnet in during the remaining term time. You can do that from vmware, but you could also do it from windows?

    run -> telnet

    cygwin has all the glibc files you need.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 349.8K Banking & Borrowing
  • 252.6K Reduce Debt & Boost Income
  • 453K Spending & Discounts
  • 242.8K Work, Benefits & Business
  • 619.6K Mortgages, Homes & Bills
  • 176.4K Life & Family
  • 255.7K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 15.1K Coronavirus Support Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.