Latest Server related questions

Score: 0
Recreate single docker-compose container with new config
cm flag
Tom

If I make changes to my docker-compose.yml (say, change which host port a container port is exposed on), can I recreate that single container or do I need to restart the whole stack?

docker-compose stop ; docker-compose up will do the job but I want to avoid restarting the rest of the services. I also want to avoid deleting volumes associated with the service that I'm restarting, so docker-compose kill  ...

Score: 0
Juanlu avatar
AWS architecture - traffic mirroring
pl flag

We are going to migrate our database from Aurora Serverless to Aurora Cluster. Before that, we'd like to test the performance of the new database in a real-time traffic scenario. We have thought about cloning the current API Gateway, targeting the new database and mirroring traffic from the production API to the test API.

Is this crazy? Is there any way to achieve this without affecting the perfo ...

Score: 0
How to turn on "Windows Defender Periodic Scanning" via GPO as a secondary AV
es flag

We have installed Acronis Cyber Protect and would like to know how to set Windows Defender's Periodic Scanning function via GPO or Powershell, we have more than 300 computers (Windows 10 Pro and Windows Server 2016). And we cannot perform this operation manually.

See image

Can you help me?

Score: 0
Disabling TLS1.0 and TLS1.1
sd flag

I'm trying to disable both TLS1.0 and TLS1.1 using WHM. There are identical questions on here but none with an answer.

In Apache Configuration my SSL/TLS protocols are defined as: all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1

When I run SSLlabs it suggests that SSLv2 and SSLv3 are disabled but TLS1.0 and TLS1.2 are still enabled.

My Cipher suite is set to: ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:E ...

Score: 0
Disable PowerShell v2 via GPO
ca flag

I'm trying to disable the old v2 version of PowerShell via GPO but have not been successful.

I have tried everything, to run a Scheduled Task (running a PowerShell script which command inside DOES indeed work if run locally), which included copying the file on the local machine, to setting up a new Software Restriction Policy, but nothing works as that version of PowerShell stays enabled.

Any sugges ...

Score: 0
John The Hacker avatar
Self hosted pip repository
de flag

I tried to create a self-hosted pip repository to host pip packages in my cloud server. to clone all the pip packages I used the Bandersnatch mirror command but it was cloning data more than 500GB, I don't need that many packages. We need pip repos for IoT devices like GPIO, requests, Redis, and flask.

I just wanted to know is there any way to filter the pip packages which we are mirroring using  ...

Score: 0
El Lobo Blanco avatar
Nginx configuration for matching wildcard server_name to specific Symfony route
bd flag

i have a Symfony 5 application at domain.tld with this basic nginx configuration:

map "$http_cloudfront_forwarded_proto:$http_x_forwarded_proto" $cloudfront_proto {
    default "http";
    "~https" "https";
}

server {
    server_name domain.tld;
    listen 80 backlog=65535;

    root /var/www/project/public;

    client_max_body_size 500M;

    location / {
        # try to serve file directly, fa ...
Score: 0
Feng Xue avatar
lvm recovery with raid reconfiguration
co flag

I have a Dell R510 with a H200 controller previously and I have two disks: a 2T SAS and a 250G SSD. I created two raid0s using those two disks on H200 and then created lvm on top of it. Here is my procedures:

  1. created a vg-data using entire raid0 of the 2T SAS disk.
  2. created a primary partition on raid0 of the 250G SSD and a logical partition with an extended partition.
  3. created another vg-root using par ...
Score: 0
parsa avatar
Php-fpm doesn't start after some changes
us flag


I'm using php-fpm 7.3 with apache on the centos 7.
I installed php and apache with directamin control panel on my server before.
I added these below configs in to the global section of php fpm in /usr/local/php73/etc/php-fpm.conf directory.

emergency_restart_threshold 10
emergency_restart_interval 1m
process_control_timeout 10s

After I add these above configs to php-fpm, it doesn't start. What is the pr ...

Score: -1
Захар Joe avatar
Second-level domain as a primary NS server for itself
kr flag

Is there anything in RFCs forbidding me from specifying NS records for mydom.example that go like this:

mydom.example 192.0.2.4
secondaryns.example

as compared to

ns.mydom.example 192.0.2.4
secondaryns.example

Specifically, when the primary NS is on the same domain, can I use mydom.example there or is it strictly necessary to have any third-level domain for NS such as ns.mydom.example?

Score: 0
Azure VPN (P2S OpenVPN) - no connection to public internet via VPN
az flag

Our IT landscape is based on the cloud and utilizes IP whitelisting for access to it. This has been working just fine though all summer as our offices IP addresses are whitelisted. Now that our offices have closed again due to covid, I am working on a solution to allow developers to access all cloud resources from home, without whitelisting private people's IP Addresses.

To solve this problem, I  ...

Score: 1
New-CimSession from outside domain
ru flag
jdm

How can I initiate a new CIM session to a Windows server in my domain, from a PC that is not in the domain? I know this works, because I did it recently from the same computer, but I always forget the magic incantation. My PowerShell history contains something like the following, which doesn't work:

$creds = Get-Credential
$sop = New-CimSessionOption -UseSsl
$session = New-CimSession -CN "ft-ads-01 ...
Score: 1
Ryuzaki avatar
Cisco firewall rules to iptables
in flag

Is there any way to covert cisco firewall rules to iptables (preferably through a maintained library or a script)? Also what are the semantic/logical differences between them?

Score: 0
Giulia Fois avatar
Setup a second Tomcat8 instance as a service in Windows
jp flag

I'm working with a Windows machine that is used for many production applications. There's already a Tomcat8 instance running as a service and located at C:\Apache Software Foundation\Tomcat8.5 . I can't by any means edit anything (scripts, configuration parameters etc.) in this folder because it is not my application and I don't want to mess up what is already up and running. This Tomcat instance is run ...

Score: 0
Sandesh Bailur avatar
High I/O wait in apache tomcat server
cn flag

Facing high I/O wait in apache tomcat server when the load increases. Suspecting disk I/O is less when tomcat is running however. disk IO seems drops drastically when tomcat is running along with the load. Other resources(CPU,RAM) are under utilized. Unable to find the reason. Kindly suggest.

IMAGE IOSTAT IMAGE SAR

Score: 0
jasonshu avatar
Failed to stop kdm.service: Unit kdm.service not loaded
th flag

I am following this guide to install NVIDIA Driver. I have installed dkms by sudo yum install dkms and here is the version info.

$ yum -v list dkms
$ dkms.noarch                                    3.0.2-1.el7                                    @epel

After reboot my computer and stop gdm by sudo systemctl stop gdm. It has an error as the following

Failed to stop gdm.service: Unit gdm.service not lo ...

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.