Latest Server related questions

Score: 1
How do I download and install a regular DPKG package in a cloud-init script?
in flag

I'm spinning up lightweight containers on a Linux Host using LXD/LXC.

The sole purpose of these containers is to host "Dotnet & Dotnet core apps"

For a while I've been using Ansible, but recently I found that I could actually embed an init script into the user data of the container configuration, and cloud-init would execute it.

This is great, and allows me to set up a given container with exactly  ...

Score: 0
Why Windows Server 2019 network adapter sets to public after reboot?
dk flag

After restarts it set to "Network 2" instead of "domain.local". I have to disable the adapter, and re-enable to get back the "domain.local"

Why is it happening?

Thanks in advance.

Score: 0
realtebo avatar
pure-ftpd How to create a non-shell user?
mu flag

I did this to install pure-ftpd and create a real but non-shell user called ftp

sudo su -
apt-get install pure-ftpd
vi /etc/pure-ftpd/conf/PAMAuthentication
> I changed yes to no
cd /etc/pure-ftpd/auth
ln -s /etc/pure-ftpd/conf/PureDB 75PureDB
useradd -d /dev/null -g www-data -s /bin/false ftp

Then I tried to create a virtual user that must be able to login but without a shell

pure-pw useradd realteb ...
Score: 0
Bogdan avatar
Configure Apache server-status output
cn flag

Apache server status shows useful information but the client IP shown is not the real IP originating the request.

Can Apache server status page be configured to show the real IP like apache access logs are?

I want to mention that I have mod_remoteip installed and it does its job for the access_log but I'm wondering if it can do the same for server status page.

Score: 0
Is it possible to add worker nodes with different architectures to kubespray cluster?
nu flag

Is it possible to add worker nodes with different architectures to kubespray cluster?

Suppose I want to have master & worker node on Intel x64 running Flatcar. Would it be possible to add other arm (Rasbperry PI 3B) worker nodes, preferably running Raspberry PI Server OS?

Score: 0
U. Windl avatar
All users/groups gone in Data Protector, cannot create new users/groups
it flag

I had a support case for Microfocus Data Protector 10.91 that turned out to be a file permission problem eventually. User hpdp had group users instead of the intended omni, so I changed the groups of all affected files and directories after fixing the local user.

Actually the user should have been taken from LDAP, but was created locally with a different group, causing the problem. So I removed th ...

Score: 1
Sanaf avatar
Openmediavault assemble raid6 with mdadm
vg flag

I have a raid 6 with 1 hot spare. I the initial config was with 5 6TB drives then I added 2 more 6TB drives with the openmediavault web interface. Everything was fine after that. But the last time when I added an other 6 TB drive, initially there were no problem but after 4-5 Hours of reshaping the drive stopped working. And now the array is inactive and I can't reactive the array.

I haven't part ...

Score: 0
shaonm avatar
Terraform - Dynamic Security Rules not working in Azure
in flag

I am unable to see the dynamic rules getting created in Azure Network Security Group (NSG). My template looks ok from validation checks. However, when i run the terraform apply the NSG creates without the custom rules i put under dynamic rules section. Since this is part of a module i have to use some logic for iteration.

Below is my code from module.tf file

resource "azurerm_network_security_group" " ...
Score: 0
Ferra avatar
Docker and Iptables
cn flag

I have installed several docker containers on my server. All containers are inside the same docker-network, and basically the structure is that every container is behind the nginxproxymanager reverse proxy container.

So far so good, everything works good. So I'm trying to hardening the structure by adding fail2ban, which i failed to make it working. I'm struggling to understand better iptables bu ...

Score: 0
Mohammed Ali avatar
is it possible to dynamically call a function via cli in a python script
in flag

I am trying to call a specific function when invoking this python script, i,e i have multiple functions within this script. I tried using globals but not dough.

#!/usr/bin/python3

"""
This module is used to access the service account key stored in the secret manager secret
"""


import sys
import argparse

import json
import datetime
import argparse

def parse_arguments():

    parser = argparse.A ...
Score: 0
mrnobody avatar
Postfix - warning if mail is from outside the domain
de flag

is it possible to add to e-mail that is received from outside the domain, information in subject or in the body that the message is from outside the domain? additional commercial solutions are also possible, no problem. Right now I have a iRedMail which is based on Postfix so it need to be compatible with Postfix.

Score: 0
J.Doe avatar
PHP-FPM 8.0 Install
es flag

Spun up new Azure web app and have it as PHP8.0 on apache running Debian 10. Wordpress is running on it and i'm trying to get php-fpm installed to increase performance a bit.

  1. Updated my APT Repo (sudo apt-get update && sudo apt-get upgrade --show-upgraded)
  2. Trying to install PHP-FPM (sudo apt-get install libapache2-mod-fcgid php-fpm htop)

But i get Package 'php-fpm' has no installation can ...

Score: 0
Shokoofeh Abrishami avatar
Duplicated rows of Google cloud billing data
cn flag

I extracted GCP billing data through BigQuery. I made queries to retrieve data for particular time duration and then I found two types of duplicate data:

  1. duplicate data resulted from unnesting the label column

  2. duplicate data results from normal query (Like as below) rows with fully the same value for all columns.

      billing_account_id AS id,
      service.id AS ServiceId,
      service.desc ...
Score: 0
Alexander Sofianos avatar
Docker private registry as kubernetes pod - deleted images auto-recreated
es flag

I run a docker private registry v2.7.0 as a kubernetes pod with a service and a persistent volume, thanks to the Varun Kumar G tutorial, which has been the only successful method on my setup, for kubernetes to pull from my private docker registry on my 3 node--on-premises--cluster with ubuntu 20.04 lts kvms.

The problem is with deleting images from the kubernetes pod docker registry v2.7.0 (had to use ...

Score: 0
Submitting CSR to Microsoft CA from linux bash best practice
th flag

Similar questions: https://stackoverflow.com/questions/31283476/submitting-base64-csr-to-a-microsoft-ca-via-curl

The link above presents an answer but it is far too complicated for me.

Below is an example that would work if our CA public and private key are in the same directory, on a linux machine. Lets assume our .cnf is setup correctly and CA has been created. These commands do not work, but close enou ...

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.