Hot answers tagged

2

The first mistake is to think that a Docker image/container is similar to a virtual machine. There are resemblances but they aren't the same and frankly, not really similar. Docker is not, really, for running an OS. It is for running a single process in a contained (isolated) environment. The container uses the same kernel as what is on the host. When you ...


1

https://www.linuxatemyram.com/ Classic confusion on cached versus used. htop is counting cached as used but free is not. As this is Linux, read /proc/meminfo yourself and see how the counters relate to each other. Sluggish and slow response times could be anything. Storage IOPS limits or response times, memory page ins from slow storage, high CPU ...


1

You are very certainly running Docker. This can be infered by a few informations: the bridge names look like Docker bridge bridges having an IP set use classical Docker bridge IPs: /16 in the 172.16.0.0/12 space you are a developer every bridge MAC address start with 02:42, which designate a private MAC (fine) but if they were truely random they would have ...


1

You are trying to "reduce" a volume group to nothing. Instead, to delete it, use vgremove. vgremove VolGroup01 Now you can remove the LVM volume label from the physical volume with pvremove. pvremove /dev/sdb1 And now you can remove or repurpose the disk.


1

This is just a front end to libvirt, so you can use the ordinary libvirt command line tools to manage the same virtual machines. For instance virsh dumpxml <name>, or by running virt-manager to use a desktop app to manage them.


1

You shouldn't mount the attached block device, /dec/sdb. Instead, you should attach it as you already have, and then while unmounted create the DRBD metadata on both nodes, bring up the DRBD device on both nodes, pick a node and promote the DRBD device to Primary on that node, and finally create and mount the resulting /dev/drbdX device there. To get there ...


1

You have two server blocks with both listen 443 and server_name indiasaplings.com. One has the certificate files configured, the second is missing them. Remove the 443 block without certificate files.


1

I've not done this myself but it looks to me that for ESXi (which unlike vCenter has no db to store the properties) you need to add the following to your spec file { ... "InjectOvfEnv": true, "PowerOn": true, ... I found an example of this in Step 6 of https://www.virtuallyghetto.com/2016/04/slick-way-of-deploying-ovfova-directly-to-esxi-vcenter-server-...


1

The following will trigger on any message which lacks a DKIM-Signature: header. There is no attempt as such to validate the DKIM signature (which would make more sense to perform on the mail server anyway; I'm guessing yours might already be doing this.) :0 * ! ^DKIM-Signature: .spam In Procmail terminology, this is saving (or sorting or storing) the ...


1

Suggestions to consider for your my.cnf [mysqld] section thread_cache_size=256 # from 32 for default with v 10.0.38 innodb_io_capacity=1900 # from 200 to enable higher IOPS to your SSD devices read_buffer_size_256K # from 128K to reduce handler_read_next RPS of 2,337,990 read_rnd_buffer_size=128K # from 256K to reduce handler_read_rnd_next RPS of 1,982,...


1

SSH is two-part program: there is a server, called SSH Daemon and it is contained in binary 'sshd', and also there is a client, you run it as 'ssh'. Server binary usually resides in ../sbin, because it needs to possibly bind to privileged port 22 and therefore is considered superuser-only executable. All your "evidence" shows that the client (ssh) you use ...


1

Do you have network connectivity from your laptop to the Azure VM through a VPN? If so you can use robocopy or PowerShell to do the copy


1

From the manual: Here's how to disable the automatic commits after each apt run, while still letting it git add new files: rm /etc/etckeeper/commit.d/50vcs-commit Once the auto commit feature is disabled you can trigger the script via Ansible at the end of the play.


1

If you want to accomplish it with a script every time the VM instance starts, go with start up scripts. Check their documentation at https://cloud.google.com/compute/docs/startupscript


1

There are other scenarios where this is a useful trick and the method I have used in the past assumes a fairly standard internal network behind NAT and will work with any computer with any OS. I will assume that your network with internet access is on 192.168.1/0/24 and your private (offline) network is on 10.0.0.0/24. Get hold of a normal internet router. ...


1

Pretend Domain is example.com on Godaddy. Login to your GoDaddy account and access cpanel, go to File Manager. Compress your website files (all your files in public_html folder). Now, your filename is example.com.zip Connect to your AWS SSH via Putty or any command terminal. Go to the folder of your website using the following command cd /var/www/ wget http:...


1

Same as you, I struggled with veth, and failed to make it work. Then I found this, which says: Before MACVLAN, if you wanted to connect to physical network from a VM or namespace, you would have needed to create TAP/VETH devices and attach one side to a bridge and attach a physical interface to the bridge on the host at the same time, as shown below. Now, ...


1

You can also find UFW's logs in the kernel buffer. sudo dmesg | grep '\[UFW'


1

Stumbled upon this question, EC2 Hibernation is now supported for Ubuntu 18.04. https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html#hibernating-prerequisites


Only top voted, non community-wiki answers of a minimum length are eligible