Latest Server related questions

Score: 1
NoAd avatar
How to hide Folders and files outside ftp user home
ve flag

I have same problem like in this topic

https://serverfault.com/questions/576143/how-to-hide-folders-for-ftp-user-jailed-to-user-home

but this solutions not works for me.

My steps: added user

useradd someftpuser

Added password to user

passwd someftpuser

Modified user

sudo usermod -d /var/www/html/someftpuser -m -s /bin/bash someftpuser

installed vsftpd and modified config like mentioned above:

Score: 0
Accept mTLS on Google Cloud (for Firebase - or Google Cloud function)
rs flag

What's the best way - if there's any way - to request a client certificate (mTLS) and verify it against a pre-defined self signed CA?

Hopefully allowing something like a Firebase Function or Google Cloud Function to run behind that proxy that already rejects clients with a wrong certificate.

AFAIK - all of the Google Cloud Functions or Firebase functions (same thing AFAIK - different dressing) are b ...

Score: 0
ehku avatar
Nginx reverse proxy is loading different sites when refreshing
fi flag

I want to host multiple websites in one server with nginx reverse proxy by following this tutorial https://www.datanovia.com/en/lessons/how-host-multiple-https-websites-on-one-server/

The Nginx proxy and each website are launched separately with Docker. But every time I reload one of the website, it load the content of other website. For example:

  • Load websiteone.tk 1st time, loaded website ONE's con ...

Score: 0
Mark avatar
Automatic redirection to static error site if web server is unavailable
mv flag

I was reading an article about warm recoverable web server with Compute Engine and Cloud Storage.

Normal scenario:

normal scenario

Failover:

failover scenario

Documentation states that:

In an outage, you update the external HTTP(S) Load Balancing configuration and fail over to a static site in Cloud Storage.

Can the change of external HTTP(S) Load Balancing configuration occur automatically based on some health checks? For example ...

Score: 0
Google Cloud, Virtual Machine, Standard Compute Machine. Keeps Crashing
in flag

I have a Google Cloud Virtual Machine that is an N2 General Purpose machine running Windows server 2019.

I am running a C++ application that is .net. The machine has 48 cpus and 192 Gigs of ram.

The machine runs for a while and then I encounter this error message:

{ "insertId": "2", "jsonPayload": { "bootCounter": "4", "@type": "type.googleapis.com/cloud_integrity.IntegrityEvent", "earlyBootReportEvent ...

Score: 0
Ryan Lyu avatar
iptables: how does NAT Instance handle the traffic from the connection initiated from outside?
ph flag

enter image description here

AWS allows developer to create an NAT instance in the public subnet, and provide private subnet the ability to access the internet.

Here is the precedure to create the NAT instance. For the iptables configuration, it's just a one line change.

In the EC2 console, disable source/dest checking by right clicking on the instance you want to use for NAT and choosing "Change Source / Dest Check".
Create a  ...
Score: 0
John Doe avatar
Booting Dell T320 through USB for UNRAID
lc flag

I am trying to run UNRAID through the USB of a Dell T320 Server. The DELL T320 server has the latest BIOS (v2.9) and LIFE CONTROLLER versions.

  1. I first created a UNRAID bootable USB with UEFI mode and it came back with this error. enter image description here

  2. I then ran a hardware test and the error came back as follows: enter image description here

  3. I assumed there was a memory error and I plugged it additional DDR3 RAMs. And the error conditinued.

Score: 0
Alex Weitz avatar
What's The Difference Between Rate-Limiting and Throttling?
kr flag

I keep hearing the terms used interchangeably, but is there an actual difference?
In this article they mention:

Rate Limiting and Throttling policies are designed to limit API access, but have different intentions: Rate limiting protects an API by applying a hard limit on its access. Throttling shapes API access by smoothing spikes in traffic.

But it's kind of a vague definition, and doesn't specif ...

Score: 0
RevoCaine avatar
Azure Virtual Machine can only connect to *.microsoft.com
cn flag

I'm configuring a VM in Azure and when connecting to websites I get a RST response for every website other then *.microsoft.com domains. I can't figure out why this is, I have tested this on both Ubuntu 20.04, Windows Server 2019 and Windows Server 2022 Datacenter. I have tried multiple resource groups and there are no NSG's or UDR's blocking internet connectivity. Final note there are other servers on  ...

Score: 1
Read content of .sst file using PowerShell?
mx flag

How can one read the content of a .sst file uisng PowerShell? I know about Get-ChildItem and the cert drive, but how can I read from a .sst file instead of the Windows internal certificate stores?

Score: 1
Tom avatar
Find the script an Apache process is running
bf flag
Tom

I have Apache 2.4 configured as mpm_prefork on an Ubuntu server.

It happens that via htop I have seen that there are processes that use a lot of CPU.

How do I find out exactly what url/php script this Apache process is running on my site? Eg.:

PID CPU Time User Command Script (information I don't have)
123 80% 0:01:30 www-data /usr/bin/apache2 -k start /site-folder/index.php/controller/functi ...

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.