All Questions
Tagged with virtual-machines linux
276
questions
0
votes
0
answers
17
views
How can I restrict login to Azure LINUX VM using AAD integration
I have an Azure Linux Virtual Machine with "Login with Azure AD" option enabled.
But I am still able to log into with admin account using password.
Or I can just create another user by using ...
0
votes
0
answers
23
views
Virtual machine static ip doesnt work
I have created vps private Ubuntu server on virtual machine.
Then I have deploy my app on it with static ip 192.168.56.101.
Everything is working, when I open it on my local machine, but when I try ...
0
votes
0
answers
41
views
Trigger a Ansible-Playbook when i create a VM in Netbox
Is it possible when i create a Virtual Machine in Netbox that can trigger an Ansible-Playbok what add stuff? for example Create the VM in CheckMK with the details whats written in Netbox.
Thanks ...
2
votes
1
answer
95
views
How to Root volume partition without losing the data
We have this scenario : I to increase the disk space of one of our VM,
Disk details :
root@Test-01:~# blkid
/dev/vda2: UUID="0eae0eb4-92ed-45ec-aa99-6d606f17e70a" TYPE="swap" ...
0
votes
1
answer
948
views
VS Code Remote Development giving back error
I'm trying to connect my Vs code using SSH extension to my Debian VM on azure.
I tried running the SSH connection on terminal and it's working fine
ssh -i Desktop/Emdad/testing/magento-testing-key.pem ...
0
votes
0
answers
13
views
Memory and CPU requirements for Samba server on a virtual linux machine [duplicate]
I want to set up a samba server on a VM in a cloud, for up to 50 clients. What size of VM would I need in terms of RAM, CPU and disk space? The OS would either be CentOS or Ubuntu.
This is not a ...
6
votes
1
answer
2k
views
Does installing NTP mean I'm installing an NTP server?
Reading this: What are the limits of running NTP servers in virtual machines? (2010)
And this: https://github.com/geerlingguy/ansible-role-ntp
I'm not sure what exactly I'm installing. Especially if I'...
0
votes
0
answers
109
views
multipass list failed: failed to determine IP address
When I run multipass list I am getting: list failed: failed to determine IP address.
sudo journalctl -u snap.lxd.daemon -n 300
lxd.daemon[3050]: time="2023-04-02T17:03:10-03:00" level=...
0
votes
0
answers
177
views
multipass no running after restart service
multipass is not running:
abr 02 21:44:21 raul-MAX-L5 dnsmasq[7213]: failed to create listening socket for 10.209.23.1: Address already in use
abr 02 21:44:21 raul-MAX-L5 dnsmasq[7213]: FAILED to ...
1
vote
1
answer
95
views
multipass moving data directory fail
I am following:
https://github.com/canonical/multipass/pull/1789 and https://lucasroesler.com/posts/2020/multipass-data-partition/ to move MULTIPASS_STORAGE to another location, but I am not lucky.
I ...
0
votes
0
answers
79
views
A networked filesystem spontaneously mounted on my VPS and I'm not sure what, why or how
This VPS was more or less idle during the days when this happened. The host (Scaleway) did not perform any maintenance or upgrades during this time, nor did I interact with the VPS directly or through ...
0
votes
0
answers
222
views
How to create a shared Disk with the image stored on Host in KVM?
I am currently trying to setup a disk, using the raw img format on the host, which is then shared between multiple guest VMs (which are running Alpine Linux), using the libvirt / KVM virtualization ...
0
votes
0
answers
44
views
How to convert virtual machine images to bootable OS installation?
I have a virtual machine installed in QEMU. I want to migrate this machine and use it as base machine. Query I have is that it is possible, and if yes will simple converting .img to .iso and burning ...
0
votes
0
answers
350
views
How to connect to VM from another computer in the local network
I have a host system (running Debian 11) where I installed a virtual machine (Ubuntu 22.04) using KVM. I can ssh between host and VM using their IPs (192.168.122.1 and 192.168.122.230). I also can ssh ...
0
votes
0
answers
336
views
How To install ChromeOS Flex on AWS
How To install ChromeOS Flex Install AWS ec2,
I go through this link but did not get so much help related to AWS
Using CloudReady-Home-v83-x64.ova in my VMware Workstation Player, it works fine, but I ...
0
votes
1
answer
688
views
How to restore a VM from disk image qcow2
I had a problem with my server and my VPS provider only wanted to give me a backup of the VM disk in qcow2 format, he told me that I should virtualize and mount that and then get my data and take ...
0
votes
1
answer
70
views
Server File Download
I am running a Ubuntu virtual machine on Azure and on my landing page I wish to allow downloading a file I already uploaded to the server. For this reason I made a hyperlink in my index.html file ...
2
votes
1
answer
8k
views
Debian 11 no longer automatically receiving static DHCP IP address, dhclient must be started manually
I am hosting a Debian 11 (no desktop environment) virtual machine on Windows Server 2012 with Hyper-V. This is on a company network with its own DHCP system and the MAC address of the VM is registered ...
0
votes
0
answers
1k
views
Access to VM using KVM bridged network interface inside company network not working outside of room LAN
I work at an institute so as you can imagine we have the typical proxy, AD, DNS and so on in place. My group is looking into transitioning to Linux for our servers (containing several GPUs for various ...
0
votes
1
answer
126
views
How to allow outbound connections only for updates
I have a network with a number of VMs hosting applications mainly for internal use, but they are also exposed to the internet via Traefik. Because there is a chance one of them will be hacked ...
1
vote
0
answers
849
views
One IP in subnet not reachable from outside, but others work fine
We had virtual host crash the other day, which caused a few VMs to reset and come back online. One of them, after coming back up, is not reachable on the network from outside the subnet it lives on. ...
0
votes
2
answers
80
views
Is there an easy way to expand a Linux VMs disk?
Im currently planning a cloud solution.
The cloud is supposed to run on Linux VMs via vSphere.
Right now, every time I want to increase the virtual disk space of an already set up Linux VM, it’s a ...
0
votes
1
answer
235
views
Google Cloud Virtual Machine SSH Terminal Could not connect
I have a machine installed in Google Cloud VM, I was making the SSH connection here without any problems, but when I wanted to log out and connect again, I started to get no results here.
I stay on ...
1
vote
0
answers
1k
views
Alma Linux - Not able to ping out
So I have my first VM in Proxmox and I know the network works as I have used CT in the past without any issues, however I have set up a VM and now I am having network issues.
Seems while it says the ...
2
votes
0
answers
1k
views
How to give each WSL distro a distinct IP address?
How to give each WSL distro a distinct IP address, and then connect to those IP addresses via Windows?
I was curious if its possible to setup two different ubuntu distributions using WSL and somehow ...
2
votes
1
answer
1k
views
Why do you need serial port connection between QEMU guest and host?
I am new to qemu. I was exploring some commands to setup qemu VM. Can someone please explain why serial ports are required/desired between guest and the host? Also, what does '-serial pty' and -'...
1
vote
0
answers
189
views
UDP port forwarding between virtual machines and docker composed network
currently I'm deploying a virtualized system and having a problem with forwarding of an udp port. I tried many tutorials, but something must be wrong and I don't know why the connection is refused all ...
0
votes
1
answer
42
views
VM in Read-Only - no commands executed
A Ubuntu 18.04 LTS server VM has entered Read-Only Mode, to the point that basic commands such as ls are not executed anymore, and return the error message -bash: /usr/bin/ls: Input/output error, ...
0
votes
0
answers
142
views
Allow users in chroot to SSH to another VM instance
Been coming across some issues with setting up SSH from a chroot directory out to a secondary VM. This is all being done in Google Cloud at the moment using CentOS 8. I think I have created the chroot ...
1
vote
1
answer
296
views
Using VirtualBox, can I assign per-VM VPN connections/profiles, specifically in order to use different VPNs on different VMs?
I'd like to run two VMs at the same time on the same host, with each VM connected to a different VPN connection. The host OS in question is Ubuntu, but if there is another OS which would do the job, ...
1
vote
0
answers
129
views
Linux VM not accessible on local network
I have a Linux VM in Hyper-V that's only accessible from outside the local network. SSH and HTTP and what not works just fine when port forwarded, but on the local network, it rejects everything, ...
1
vote
1
answer
416
views
Set working directory in `VBoxManage guestcontrol run`
I'm using:
VBoxManage guestcontrol "Windows 10" --username "john" run "Z:\\path\\to\\bin.exe"
The command gets executed but I need to run it in a specified directory.
...
1
vote
1
answer
2k
views
Is it possible to run a VM without actually enabling virtualization settings in BIOS?
I am trying to launch a VM with QEMU KVM on a Linux system but I am unable to actually make it work. It just doesn't start. But I figured out that I need to enable virtualization from BIOS settings to ...
0
votes
1
answer
2k
views
How to remote access Virtualbox on a headless linux server
This is not a real question but I rather want to put this here in order to document it as there is a lot of contradicting information in the web.
When you run Virtualbox on a headless linux server, ...
2
votes
1
answer
219
views
Measuring network bandwidth usage
One VM is sending data to another VM using rsync, both VMs are hosted on the same machine. I've got the task to measure the network bandwidth usage between both VMs and plot it.
Plotting is easy once ...
1
vote
1
answer
604
views
Is it possible to ping to an interface that is a part of a Linux bridge?
My goal is to connect a virtual machine A with a virtual machine C through a virtual machine B that has two interfaces. When I create a bridge on these two interfaces I can ping A<-->C but I ...
0
votes
1
answer
69
views
can a single machine server run 2 OS independantly?
In order to maintain up a cad+print (windows) server, and an all-the-other things debian server, I was wondering if it was possible and what was the best way to do it ? Containers/VMs/KVMs ? Would it ...
-1
votes
1
answer
476
views
Minecraft server constantly crashing [closed]
I tried to make a VM instance on the Google cloud platform for my Minecraft server. But It's constantly crashing after a few hours. It says that I don't have enough memory but I think I allocated more ...
2
votes
3
answers
3k
views
SSH Public Key Authentication denied
I am trying to connect to a virtual machine via SSH.
I can login to an account with a password.
I created another user without a password, generated a ssh key on my host machine (Windows), and placed ...
1
vote
1
answer
1k
views
How do I manage xen-hypervisor using virt-manager client?
I've installed xen-hypervisor 4.11 on my debian 10 desktop. But, when I add xen connection to my virt-manager it shows this error.
Unable to connect to libvirt xen:///.
Failed to connect socket to '/...
0
votes
1
answer
2k
views
Google Cloud Compute Engine VMs with Alpine Linux
How to create GCE image with Alpine Linux that can be used to create GCE VMs?
0
votes
0
answers
374
views
How to simulate a remote server that has a different public IP address?
I'm trying to set up 2 remote servers, each connected to the internet through their dedicated ISP router. In order to self-host email+web services and many more. My goal is to make them able to DNS ...
1
vote
3
answers
2k
views
How to reduce KVM qcow2 disk size?
When I boot in my guest Debian it says it size is 2.7G.
df -h
Filesystem Size Used Avail Use% Mounted on
udev 718M 0 718M 0% /dev
tmpfs 147M 6.2M 141M 5% /run
/...
1
vote
0
answers
174
views
Error: IO error: lock /home/admin/chain/LOCK: Resource temporarily unavailable
After logging into my Azure linux vm through ssh. I cd
Error: IO error: lock /home/admin_dennis/.hsd/chain/LOCK: Resource temporarily unavailable
0
votes
0
answers
27
views
Web Server Security Strategy
I was hacked yesterday and so I've been thinking all day how I could make my system secure.
I'm thinking of doing setting up a hypervisor that runs a few VM's.
The architecture I have in mind is ...
0
votes
0
answers
141
views
Strategies to compare between 2 virtual machines
I am writing a set of codes with Ansible/Terraform to deploy the same VM which I am already deploying using Bash scripts that interact with VMWare (vSphere 5.5) API.
I have searched around how I ...
0
votes
1
answer
69
views
Cannot delete a virtual machine
I created a VM in France Central but the creation has failed because of:
"Error: Code="AllocationFailed" Message="Allocation failed. We do not have sufficient capacity for the requested VM size in ...
1
vote
2
answers
757
views
Do I need UFW in a Linux VM in Azure?
Access to Azure VMs are controlled by the "Network Security Group" (NSG) settings. I am in the process of setting up a Linux VM with a public IP on Azure and would like to know whether the NSG ...
2
votes
3
answers
3k
views
Why are GPUs accessible from docker containers running on Linux hosts, but not on Windows or MacOS hosts?
Recent versions of docker (or any version of nvidia-docker) allow direct(?) access to the host GPU from within docker containers, with full access to CUDA APIs. This is very convenient when deploying ...
0
votes
1
answer
1k
views
How do I capture packets on a Linux VM in a VMware environment?
I've got a Linux server that is a VM running on ESXi 6.7. We're running into some network trouble with it, and I'm trying to use tcpdump to capture traffic on the VM itself, but I'm getting only the ...