I’m running a node.js application called serve that shows the files and folders from a specific path of my computer on a webpage: This application works fine by itself. However, when I try to make it run with nginx on the location /page/, I’m not capable of seeing the contents of any files or folders […]
I live in Argentina and currently our credit cards and payments to the outside are all blocked (again, thanks socialism) I currently run a small service provider and i have our domain and email hosted in globat. The thing is i’ll keep with them the .com service but the mail server i’ll have to transfer […]
I want to create enforce policy in google(GCP) the same as in azure so whenever any user creates the new VM or any resource it will force him to add the tags defined by the admin(me) compulsory. Please provide the solution or any document if have. Thanks in advance!
I’m trying to create a new PersistentVolume in Kubernets (version 1.14), but it returns me the following error: The PersistentVolume “postgres-pv-volume” is invalid: * spec.persistentvolumesource: Forbidden: is immutable after creation * nodeAffinity: Invalid value: “null”: field is immutable Here’s my YAML: apiVersion: v1 kind: PersistentVolume metadata: name: postgres-pv-volume namespace: is-app spec: capacity: storage: 5Gi accessModes: […]
I need to monitor a service automatically but the PID keeps changing with every restart so I want to be able to do jcmd servicename Thread.print > log.txt rather than jcmd 2230 Thread.print > log.txt Either that, or I want a way to store pid in a variable var =`pidof servicename` # didn’t work It’s […]
For some reason, grub is not “seeing” a disk that is part of a LVM array because the disk number is superior to eight – or at least, that’s what I guess, since if you re-arrange the disks, and set both members of the lvm group below the eight disk, it does not run into […]
I am trying to manually use the docker:19.03.5-dind image as shown by the “How to use this image” section. First I am running the daemon $ docker run –privileged -d –rm –name=docker-daemon \ –network=test docker:19.03.5-dind e1f8544d30df5bc010d67e38b38be0f47306b29ab0fdeb32861c5716582c9917 I see that it is up and listens on port 2376 $ docker logs docker-daemon … time=”2019-11-28T11:31:40.266976728Z” level=info msg=”Daemon […]
Is there a way to limit packets per second without dropping it i want pps above 40 to be delayed to next second i can limit with iptables with these commands but it will be dropped iptables -A POSTROUTING – t mangle -d 192.168.1.100/32 -m limit – – limit 40/s – j ACCEPT iptables – […]