Latest Server related questions

Score: 0
OpenSource avatar
How to block sites such as checkip.amazonaws.com
th flag

I'd like to find a way to block websites like https://checkip.amazonaws.com or at least restrict them to the point they can no longer output my server's public IP address.

For example, if I do curl https://checkip.amazonaws.com my output would simply be 1.1.1.1 (or in other words, my IP address).

Is there a way to have an app that would inspect the output of each website my server tries to connect ...

Score: -1
user363406 avatar
Domain point to different ip dependent on port requested
cn flag

I have a domain currently with an A record pointing to an Amazon EC2 instance ip. This works great. I am hosting a Minecraft server on a different network, therefore from a different public ip. Can I make it so that my domain will direct traffic on port 25565 (Minecraft port) to the public ip of the Minecraft server, and direct web traffic (ports 80 and 443) to the EC2 instance public ip?

Score: 0
Running Paraview using GCP GPU
vn flag
yfc

I have tried many times to use GCP with GPUS for Paraview, a scientific visualization tool: https://www.paraview.org/download/

The hope was that GPU can significantly accelerate the speed. We have be using Remote desktop to access the instance. After many tries (various GPU's, A100, T4, T4 Grid) and with various attempt of different NVIDIA driver installation, it just didn't work. When using nvidia-smi to ...

Score: 0
Checking HTTPS service using OpenNMS with specific hostname
il flag

I'm new to OpenNMS and fresh installed it today in a VM. So far it seems to work fine, however I do have a problem with it monitoring HTTPS services / websites.

I created a new "Provisioning Requisition" with two nodes inside. This actually fits the real-worlds representation, since the two nodes are hosted on the same ESXi host.

I'd now like to check whether specific websites on them are reachable. ...

Score: 0
Currn Hyde avatar
Which versions of Ubuntu share /etc/sysctl.conf compatibility?
cn flag

I am looking to secure my Ubuntu 18.04 LTS server and have found a nice script but it was designed for Ubuntu 20.04 LTS which includes changes to /etc/sysctl.conf. Which versions of Ubuntu (or linux in general) share /etc/sysctl.conf compatibility? Can I use the script's /etc/sysctl.conf for Ubuntu 20.04 on my Ubuntu 18.04?

Score: 0
Assignee specific VM to non admin user in Hyper-V
az flag

I have a windows server 2016 with AD and Hyper-V installed I have some users and some VM in hyper-V
for example UserA and UserB and UserC , and in Hyper-V I have VMa,VMb,VMc is it possible to give permission to each user to connect and manage only his own VM? for example:
uerA=>VMa
uerB=>VMb
uerc=>VMc

the VMs are not joined to the domain.

Score: 0
NetTypicalGuy avatar
Kubernetes Wireguard VPN tunneling home-lan with cloud-server error
cn flag

Problem

I am currently trying to VPN tunnel nodes of my LAN with a node outside of my LAN (Inside a data center). For that, i was trying to use K3S. Sadly i cant ping the worker (inside lan) over the master (outside lan). Pinging between worker nodes work (both inside lan).

Reproduce

To install k3s i used the command curl -sfL https://get.k3s.io | sh -s - --flannel-backend=none --disable traefik whilst al ...

Score: 4
Does Linux md-raid store backup metadata anywhere on the disk?
us flag

I know that with ext2/3/4 and other filesystems, copies of the superblock are stored throughout the disk in case the primary superblock is corrupted (https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout).

With md-raid (software raid), the superblock is stored either at the beginning or end of the disk, depending on which metadata version is used (https://raid.wiki.kernel.org/index.php/RAID_super ...

Score: 0
Munin - batch-update with data from past
cn flag

I have a solution which measures some values and transmits it in batches when the network is available, so let's say once a day I get measurements for every 5 minutes of the past day. Is there any way that munin can handle this kind of data delivery? Normally, munin fills time slots without information with NULL, so that it's not possible anymore to add this data afterwards. Do I have to manipulate the  ...

Score: 0
Thermatix avatar
Nginx not maching url against valid Regex (it looks valid to me and online regex testers)
us flag

I'm using npm(Nginx Proxy Manager) to manage my nginx config.

npm has generated this location block:

location  ~*  ^/docker-compose-ui/?(.*)$ {
    set              $upstream http://docker_compose_ui:5000/$1$request_uri;
    proxy_set_header Host $host;
    proxy_set_header X-Forwarded-Scheme $scheme;
    proxy_set_header X-Forwarded-Proto  $scheme;
    proxy_set_header X-Forwarded-For    $remote_addr;
  ...
Score: 0
How to setup HAProxy for more than 500,000 connections running inside a Docker Container on a Linux host?
br flag

I'd like my HAProxy Load Balancer to be able to handle at least 1M connections. I need this to deploy a stress test.

I tried setting:

maxconn 1000000

in my haproxy.cfg but HAProxy failed to start with:

[haproxy.main()] Cannot raise FD limit to 2000029, limit is 1048576.

I'm running HAProxy in a Docker Container on Ubuntu Linux 20.04 LTS that is an Amazon AWS Lightsail VPS instance.

I've looked  ...

Score: 1
Rob Campbell avatar
Unable to log in with AD credentials
au flag

I have a DC (Debian) that seems to be working fine. I am able to join the domain but when I join a Fedora member it joins but the DNS isn't registered. I have to manually add the record to the dc. The Debian members join just fine. I am also able to ssh and log in to the Debian members using the desktop gui. I am not able to do either with the Fedora member. Only local users can log in (ssh/gui).

Score: -1
aderchox avatar
What is the difference between zone and domain and domain name in DNS terminology?
br flag

The question is clear: How are DNS zones and DNS domains and DNS domain names different?

Disclaimer: Originally, this question was asked on StackOverflow (link) by someone else, but it got closed as it is off-topic there. There is an answer to it as well, but some people (including myself) didn't find it clear, and someone said they would post the question here on ServerFault, the one which I couldn't fin ...

Score: 3
tetratheta avatar
bind() to 0.0.0.0:80 failed (98: Address already in use) even though there is only NGINX running
mp flag

NOTE: It turned out that there wasn't any problem at all. See comment for detail.

I've just got fresh instance from Oracle Cloud, Ubuntu 20.04 Minimized. Since I am trying to run DokuWiki on this instance, I've installed these packages:

sudo apt install net-tools lsof wget nano
sudo apt install php7.4-fpm php7.4-xml php7.4-mbstring imagemagick nginx certbot python3-certbot-nginx

I've never touched  ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.