Latest Server related questions

Score: 0
RHEL 8 manage server boot order
cn flag

We run RHEL 8 servers we need to ensure NFS share is available or service running before start another service that depend on NFS share because that service need R/W into/from NFS share. what our options to achieve this request ? can we control which service will run on which order? I understand there is an option to add 'Required' entry into service. please assist.

BR Shlco

Score: 0
Cannot block YandexBot with mod_rewrite
cn flag

We have an Apache httpd 2.4 server as our point of entry for about 20 web sites and each site has its own virtualhost configuration. A lot of settings are probably redundant but it suits our needs. Each virtualhost redirects http traffic to an https login page which proxied through a Tomcat app. There is no physical docroot to this web site.

We are trying to block a YandexBot that is hitting our  ...

Score: 1
aldegalan avatar
Grafana does not send notifications through reverse proxy
in flag

I am using Grafana on a server that does not have Internet, I need to send Telegram notifications, for that I am using Nginx server in another machine.

Server A:

  • Grafana installed / Running on port 3000.
  • Grafana url: www.example.grafana.com
  • IP of the server (example): 10.16.216.122
  • It uses this webhook to send telegram messages: api.telegram.org
  • I also configured /etc/hosts to send that notifications to ...
Score: 1
uday kiran avatar
How to apply default policies to cloudformation or terraform in aws?
uz flag

With terraform or cloudformation, we can apply individual permissions while creating a policy.

But how to select default predefined policies like AWSRDSReadyOnlyAccess, like these to the terraform template

Score: 0
Adem Tepe avatar
storage:link not working properly while deploying laravel application to elastic beanstalk via codecommit
cn flag

I am using Elastic Beanstalk environment to host my Laravel application.

And I'm using CodeCommit as codesource when I'm deploying.

Lastly, I'm using an init.config file inside .ebextensions folder to automatically run some commands for my EC2 instances.

//init.config inside .ebextensions
container_commands:
    01storagelink:
        command: "php artisan storage:link"

This command is working whe ...

Score: 0
Dynamic distribution group based or reporting hierarchy
kh flag

Is it possible to configure a dynamic distribution group to contain all direct reports of some person, plus all their direct reports recursively?

Verbose Info

To get the direct reports only I believe we'd just run:

Set-DynamicDistributionGroup -Identity 'SomeManagersDirectReports' `
    -RecipientFilter "((RecipientType -eq 'UserMailbox') -and (Manager -eq 'CN=SomeManager,OU=Users,DC=domain,DC=example,DC= ...
Score: 0
haher avatar
How do we stop using php-fpm on Apache?
cn flag

How do we stop using php-fpm on Apache? I tried to get a server running problem is it's running on CENTOS 6 and puppet only works on CENTOS 6. I was trying to figure out why the server wasn't running after I copied the settings and then I did:

sudo netstat -plnt

which showed me I was using php-fpm and on the server where it was working I wasn't running it. I was perplexed, because the httpd configs we ...

Score: 0
What am I missing to setup sudo access with openldap?
cf flag

I'm using lxd/lxc containers (Oracle Linux 8) to rapidly deploy the environment (so if you have lxd setup, you can modify the ip scheme to match lxd's bridge subnet / DNS and then paste the code into separate lxc containers).

I can authenticate as my test user "adam", but when I attempt to setup sudo for adam it tells me

adam may not run sudo on <hostname>

As far as I can tell, I have everything co ...

Score: 0
Wim ten Brink avatar
How to synchronize an SSL certificate between two servers?
gb flag

I have two servers behind a router and a domain name with a wildcard certificate. (*.example.com) The certificate is from Let's Encrypt and is managed by Server A. (Uses IIS on Windows 10.)
The other server B uses Ubuntu 20 with Apache2.
Server A looks at port 80 and 443. Server B looks at port 8080 and 8443 and is just for testing purposes. Port forwarding on my router will send incoming requests to the  ...

Score: 0
astaga avatar
change fastcgi directory in nginx configuration
cn flag

i am not sure how to write the proper title
i have 5 ajax requests that gonna execute postgresql query in php

here is the directory

/var/www/webgis.com:
1. webgis.html
2. php(directory)
    -query1.php
    -query2.php
    -query3.php
    -query4.php
    -query5.php
3.etc

the all previous ajax url is url: "php/query(N).php", i want to change it intourl: "query(N).php" without change my server  ...

Score: 0
InterLinked avatar
Best way to allow non-admin users to run MDT LiteTouch?
br flag

We are using Microsoft Deployment Toolkit + WDS for computer imaging in our organization. One problem we are trying to solve is how to allow users to install software, preapproved by the IT department, without granting users admin rights. We would like to use freely available (included) software to do this. We have AD, WDS, and MDT, but not SCCM.

One solution we have been using to a limited extent ...

Score: 0
enabling pam.d/google authenticator/2-factor authentication in sshd prevents EC2 Instance Connect from accessing instance
cn flag

Question: is it possible to configure SSHD to enforce 2-factor for all users, but also allow AWS EC2 Instance Connect to continue working?


AWS has this feature "EC2 Instance Connect" that provides a way to ssh in as a user from the AWS Console. It uses AWS APIs to put a temporary public key on the instance and then connects via ssh. (At least, I think that's what it does)

I've followed this guide to ad ...

Score: 2
Lunde avatar
Redundant network connections (using switches without link aggregation support)
jp flag

I need to connect two Windows 10 PCs together via Ethernet. They will be connected in series through two managed switches (Microchip KSZ9897). Each PC has two Intel NICs. I need the links to be redundant so that communication between the two PCs are kept up if any one cable is damaged/disconnected. Throughput is minimal so I don’t care about increasing bandwidth. I have looked into link aggregation, b ...

Score: 0
Saptronic avatar
Ansible conditional with variables and wildcards
au flag

Been trying to add a conditional with a wildcard and an Ansible variable and getting an error message. The idea is to trigger the api request with the container name starts with "android-", this is a follow-up to a docker container creation playbook.

My playbook:

---
- name: move agent android
  hosts: server1; server2
  vars:
    containers: "{{ containers }}" #variable in a different file

tasks:
   ...
Score: 0
Multi-Site Active Directory Sync
it flag

I have created 4 Active Directory Domain Controllers both in different locations. One is in Delhi and Another one in Mumbai.

Delhi has 2 domain controllers Primary(DDC01) and Secondary(DDC02).

Mumbai has 2 domain controllers Primary(MDC01) and Secondary(MDC02).

Both have different networks and I can take the RDP of both Domain controllers from different locations.

Now I want to connect all 4 Domain Contro ...

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.