Latest Server related questions

Score: 0
Josey avatar
Personal OpenSMTPd relay fails when using "tls-require", works fine with just "tls"
cn flag

I'm currently setting up a somewhat unique personal email server using OpenSMTPd. I have a local server (Raspberry Pi) and a remote server (VPS). Emails sent to me are sent to the remote server and are then relayed to my local server. When I send an email it goes from my local server to the remote server, and is then relayed to it's recipient. Currently I'm only testing inbound mail, and it mostly works ...

Score: -1
Download Sharepoint Online files via Powershell
in flag

I've been handed a project, where our marketing dept produces images and each workstation & laptop need to download those images on startup or login. (wallpaper folder, screen saver images, etc etc)

I'd like to use Sharepoint Online to store a publicly accessible (no login required) folder with the images, and then use Powershell to grab the contents.

Every example that I find requires a snapin ...

Score: 0
Ansible - No such file error when activating systemctl Podman user socket
mx flag
hpy

I am running an Ansible playbook on a fresh Oracle Linux 8 system. It includes a step where it asks systemctl to activate a user Podman socket like so:

- name: Enable podman socket
  vars: 
    userid: ansible_facts.getent_passwd.{{ ansible_user_id }}[1]
  ansible.builtin.systemd: 
    name: podman.socket
    enabled: yes
    state: started
    scope: user
  environment:
    XDG_RUNTIME_DIR: "/run/u ...
Score: 1
DNAT From Virtual Network Gateway
in flag

I have a client connecting to my Azure Virtual Network Gateway (Gateway1) that sits in a Virtual Network (ClientVNet1: 10.13.0.0/16). I want the client to be able to connect to my DB (10.4.2.5) in a different Virtual Network (InternalVnet1: 10.4.0.0/16). I have the VNets successfully peered and connecting to the DB works fine from the client.

I want to add a layer of indirection and have the cl ...

Score: 5
samtech 2021 avatar
AWS Root volume Encryption
th flag

In my scenario, I have some old EBS volumes that are not encrypted. To satisfy new corporate security measures, all data needs to be encrypted so I need to compile a plan to encrypt the unencrypted in the least disruptive way (Ideally with no downtime)?

Can anyone suggest What is the best way to accomplish this?

Score: 0
Bazim avatar
Nginx www does not work
pt flag

I really do not know why my nginx configuration does not work for www.

My configuration is:

server {
    listen 80;
    server_name postimg.cz www.postimg.cz;
    return 301 https://$server_name$request_uri;
}

server {
    listen 443;

    server_name postimg.cz;

    # SSL Configuration
    ssl_certificate /etc/letsencrypt/live/postimg.cz/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/ ...
Score: 0
Frank Schünemann avatar
Nginx pass Port from URL to proxy pass
in flag

i use an nginx server. And i want to pass port data from the url to the proxy_pass. Is that possible? For example: example.de/?port=4555 or example.de/4555 With that code, i can get the subdomain part, but i cant modify this, that i can get the port.

server { 

    listen 80 default_server;

    server_name ~^(?<proj>[^.]+).example.de;
    

    location / {
        proxy_pass http://localhos ...
Score: 0
pkSML avatar
Mount DD image of LVM partition
in flag

I am in a conundrum. I need to extract data from a backup image I created previously. I thought I knew enough about LVM to get by... at least until now.

It seems my blunder is that I backed up an LVM snapshot volume rather than the whole volume group or disk partition. Most articles I've read imply that you've backed up the entire disk.

Here is my LVM layout:

xvda          202:0    0    10G  0 disk
└┠...
Score: 0
Centos 7 - I can't fix the datetime
cn flag

It's NOT a VM. Physical server. Centos 7

I have tried to fix the time with:

date -s "04/03/2022 01:06:31"

or

timedatectl set-time 01:06:31

But it is impossible, it shows always 8 hours more as local time:

[root@localhost ~]# timedatectl status
      Local time: Sun 2022-04-03 09:06:31 CEST
  Universal time: Sun 2022-04-03 07:06:31 UTC
        RTC time: Sun 2022-04-03 07:06:31
       Time zone: Eur ...

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.