how to connect debian vmware from putty on the same pc
Your question is a little bit difficult to parse.
If your host computer is pulling DHCP from somewhere you can have the VM do the same thing such that it gets an IP address you can connect to.
If VMware player permits you to select "bridged" networking (it's been too long since I've used 'Player' to recall), do so. In your Debian VM, either reboot or release/renew your DHCP lease (I'm not familiar with the Debian "contrivance" to do that-- I'm a RedHat/Fedora/CentOS guy). You should see the VM pull an IP address from the same DHCP server your PC is. At that point, your PC (or any other PC on that network, for that matter) should be able to communicate with SSH, etc, with the Debian VM (assuming, obviously, a listening SSH server and permissive firewall rules in the VM).
Related videos on Youtube
Nissan911
Updated on September 17, 2022Comments
-
Nissan911 almost 2 years
I want to write a simple c++/c console app, to show my process 1% 2%. for now, i print it line by line like
finished 1% finished 2%
and etc
How can I just update percentage x% without printing a new line?
Also, I want to open two console windows one show messages one show the process as above. How do I open another console window?
-
Tony Delroy over 13 yearsHmmm... a little tricky as - to the best of my knowledge - Windows does come with a good utility to displaying growing file content from the console. You may want to write a program yourself to read from a message file, then to start that program from your mani program. If helpful, you can pass the second viewing program the filename as a command line argument ala
system("view c:\tmp\messages.txt")
.