Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have windows 7 with Oracle Virtualbox 5.0.4 and Ubuntun image 15.10. I notice when I disable VirtualBox DHCP, and make network settings as Bridge, I could ping or ssh from host to guest. But at this time, I could not download package or sudo apt-get install xxx from internet.
when I still disable VirtualBox, I make network as NAT, then I could download package, but could not ping from host to guest.
How could I do both ping from host to guest and download from internet at guest(virtual box)?
Why I am doing that? We have project using kafka storm, solr as backend. (log management system). Client side could be Eclipse in windows, why I could put kakfa storm solr in virtualbox or vagrant, so that saving developer setting up development environment time.
You can use normal bridge mode but this requires a external DHCP server. Normally in every office network is one. This server provides all needed networking/routing information. After you boot your VM you can test in a terminal if the VM is in the same network as your host.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
The Linux virtual machine on Azure, the problem encountered, can not connect through rdp (Microsoft Remote Desktop). Throws a connection error, respectively. I use MacOs (I tried it with Windows, the same problem).
The question is what could be the problem?
There is no Microsoft RDP for Linux. You have to connect via SSH on 22.
If you have diagnostics enabled on the Linux VM, you can use the serial console. Just click on the VM in the Azure Portal -> Serial Console.
If you really want to connect via RDP, then you can try installing xrdp on your VM, but it really depends what flavor of Linux you have deployed.
sudo apt-get install xrdp
sudo service xrdp start
Don't forget you need access to TCP port 3389.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
My desktop computer is running Windows 10. I have created a virtual computer using Oracle VM Virtual Box that runs Centos7. In my Virtual Box settings I have changed the network adapter to Bridged Adapter. Everything starts correctly when the vm comes up. I then installed xrdp and tigervnc-server through epel. I have both xrdp and tigervnc services running. However when I try to remote desktop from Windows 10 to my virtual box, it can not connect. I can open a cmd window on Windows 10 and ping my ip address. The only thing that sticks out to me is that when I tried to enable the xrdp service, it states that it is not a native service. It still starts and attaches to port 3390. I changed this from 3389 after reading some tickets on stackoverflow.
xrdp.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig xrdp on
Is this the firewall biting me? What did I miss?
TIA
Ok, so it was the firewall that was biting me along with VM Virtual Box. In order to do remote desktop to a vm in Virtual Box, you must download an install VM Virtual Box extension pack. That will allow you to enable rdp under the display tab in settings. I also had to add the following to the CentOs firewall
firewall-cmd --permanent --add-port 3389/tcp
firewall-cmd --permanent --add-port 3350/tcp
Finally, I had to make sure that my vncpasswd was set to the same value as my CentOs login password. Otherwise it would not allow me to log in.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am looking to remotely transfer a file from my Linux machine to a Windows machine. I have done some research and it appears that scp is what I want to use to achieve this. However... all of the code that I'm seeing appears to be using cygwin (or similar) that is already installed on the windows machine, hardly "remote." My two systems are completely separate and have their own unique IP addresses.
Filezilla or WinSCP will do the job. It's required only to have SSH server running on your Linux machine, enabled SSH port (tcp/22 by default) in firewall and your Windows computer must be able to reach the Linux host - you can try ping <Linux-machine-IP> from your Windows computer to verify.
If you want something else, you could configure Samba or probably WebDAV (httpd.apache.org/docs/2.4/mod/mod_dav.html), which allow you to mount your Linux directories as drives in Windows without additional tools. For example, your linux home /home/user can be mounted as Y: drive in Windows.
If you already have an ssh server on your Linux machine, I suggest using Filezilla, which comes with a GUI.
You just want to install the client on windows, don't bother with the server, a classic ssh server does the job.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Folks,
I have Kali linux running on VM machine..there are 2 interfaces configured on this machine..1 interface is configured as "share with my Mac" and the other interface is configured as "Private to Mac".And i believe "private to Mac" option will allow me to connect my VM linux machine to the local machine.... ifconfig command doesn't show any output. i have manually configured the IP address to both interface by editing vi /etc/network/interfaces and restarted the network services using the command "/etc/init.d/networking restart"...but still ifconfig doesn't give any result....
Actually i want to communicate on port ssh from my local machine to the linux vm machine..since the machines do not communicate each other.i am not able to work anymore..Can someone please have a look in this issue and let me know what changes are required to complete my requirement...
Have you tried sudo ifconfig ? If it doesn't work the problem could be the drivers of your network card. I'm not sure this will works but you can watch this tutorial How to install network card to Kali
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a site that accumulated high traffic so Im thinking of moving to VPS hosting.
but I am a complete newbie with linux. so I have some questions:
what is the recommended OS for VPS? most searches show CENTOS or
Debian.
What platform is recommended? 64bit / 32bit ?
what are the basic installation necessary for an operational VPS (web server) ?
what are the extra recommended installation?
I want to first try to install locally on virtualbox, so any suggestions for a good guide will be appreciated.
10x.
What is the recommended OS for VPS? most searches show CENTOS or
Debian.
Both CentOS and Debian are excellent operating systems, if you choose either of them, you won't go wrong. Debian is certainly rocksolid OS with great security track-records. However, Since you are new with Linux machines, you would need some sort of control panel to manage the Linux machine.Hence, I would recommend CentOS box with cPanel for easy startup.
What platform is recommended? 64bit / 32bit ?
Of course 64 Bit Operating system.
what are the basic installation necessary for an operational VPS (web
server) ? What are the extra recommended installation?
cPanel will include all necessary tools and software to run web server. However, if you wish you can install firewall or other required tools through terminal. Also, you can try out CentOS in virtual box easily, for cPanel, you would need license and static IP address.