Latest Server related questions

Score: 0
Azure AKS user nodepool VM temporary storage requirements
ru flag
axk

Do AKS user nodepool VMs use Azure VM temporary storage for any purpose?

Can an AKS user nodepool run on VMs without temporary storage?

What is is the minimal amount of Azure VM temporary storage required to run an AKS user nodepool VM?

We're not planning to use ephemeral OS disks.

Cannot find the answer in the MS docs.

Score: 1
NVMe SSD poor writing performance on Debian 10
cn flag

I just went for some disk performance tests on my DIY NAS and noticed some very poor performace results with my NVME disk writes !

My NAS runs Debian 10 with this config :

  • ASROCK X470D4U with Ryzen 5 3600
  • 16 Gb ECC RAM
  • 1 NVME for OS (ADATA x8200 Pro 256MB). This is a PCIe Gen 3 x4 on a PCIe Gen 2 x2 slot, given for 3500MB/s Read & 3000MB/s Write.
  • 4 SATA HDD in software RAID 6 (WD RED 10TB)
  • 1 S ...
Score: 0
Chris9834 avatar
How to catch item that triggers a trigger in Task Scheduler?
id flag

I want to write a powershell script that get executed whenever a new item/eventlog entry in the eventlog 'Microsoft-Windows-TerminalServices-Gateway/Operational' gets written.

It is easy to create a scheduler task that triggers whenever a new eventlog item gets created and that then execute a powershell script.

Now my question is, inside that powershell script, how can I access the eventlog-item tha ...

Score: 0
Martyn avatar
PageSpeed combine_javascript How to avoid all scripts (e.g. those with data-* attributes) being combined
eg flag

I have something like the following:

<script src="js/jquery.js">
<script src="js/bootstrap.js">
<script src="js/featured-news.js" data-container-id="news1">
<script src="js/featured-news.js" data-container-id="news2">

I'd like the jquery and bootstrap scripts to be combine into something like:

<script src="js/jquery.js+bootstrap.js.pagespeed.jc.FTvtsO6TBe.js"></sc ...
Score: 0
OpenLDAP ppolicy load error
be flag

I'm going to try run of openldap. I created master-slave server and everything is ok. However when I load the ppolicy module I get an error like below

SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn=module{0},cn=config"
ldap_modify: Other (e.g., implementation specific) error (80)
additional info: <olcMod ...
Score: 0
Atayls avatar
Invalid HTTP_HOST header. NGINX config not preventing localhost invalid headers from IP port scanners hitting django
jm flag

I am getting an Invalid Host header error from my server and I am unsure how to address it.

The errors request URL is https://127.0.0.1:8000 and the obvious suggestion is to add localhost to my (using django) ALLOWED hosts. However I have read that keeping localhost in the allowed hosts in production is bad practice and a potential security flaw. At the moment my allowed hosts in prod is limited t ...

Score: 1
How can I safely stop postfix being picky about group permissions of sqlite database?
de flag

Background

I set up an example postfix server using sqlite to store the aliases and mailbox details, (so that they could be updated live and have a single source of truth being the database.)

I have the parts of postfix running chroot where possible for security, so the database (mail.sqlite) is in /var/lib/postfix/ (That all works.)

The required functionality

I wrote a web front end to let users add  ...

Score: 0
bigfailure avatar
Install Ubuntu 20 PV guest on a Debian 10 Xen
pl flag

Struggling to find a guide to do this. I've understood that xen-tools supports installing Ubuntu guests on Debian so that should be a fast and easy way but can't find any examples.

Anybody knows a good guide to help me? Is it mandatory to use HVM for installation?

Score: 0
TheUnreal avatar
Nginx + Laravel inside /api folder: File not found
gb flag

I have the following config for Angular (JS) app, where the laravel (PHP) API for the same app is inside the 'api' folder:

server {
    listen 80;
    server_name example.com www.example.com; 
    root /var/www/html/mydomain.com; #path to static directory
    index index.html index.htm index.php;
    charset utf-8;
    location / {
            try_files $uri $uri/ /index.php?$args;
        }

    l ...
Score: 0
How to send jenkins stage view in email?
kr flag

We can send email noification whether success or failure in email of jenkins pipeline.

But it is not visual to understand clearly by the team members.

So, I kept stage name in an environment variable and kept in the email subject where exactly it got failed.

But, it is would be more helpful if I can send the stage view which we can see in jenkins job page.

Like below.

stage view

Please suggest how to implement the  ...

Score: 0
petunia rose avatar
Ubuntu server can be accessed only after ping
vn flag

and tank you in andvantage for any suggestion, I hve ubuntu server (20.04) on lan, but I can access to it (ssh or web-server apache) from other pc (windows 10) only if I do a ping from server to client (ubuntu must ping windows).

I read this post, and I tried suggested solutions:

  • tried changing ip
  • tiend to clear ARP cache on router
  • tried to add static ip with /24 netmask.

My netplan configuration ...

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.