Latest Server related questions

Score: 0
SQL server CDC sync to SQL server express
cn flag

Is there some built-in or some simple tool for syncing CDC tables to SQL server express. CDC server is remote and I only have read only access to it if that's important.

Score: 0
Deploying monorepo without SSH
cn flag

Full Disclosure: I'm a DevOps noob.

I am running a MERN mono repo on an EC2 instance. Originally, I would always SSH into my machine, pull from the repository, and build again. But there are problems with this.. the build process takes longer and so when the SSH connection breaks at times, the build process gets terminated. This happens a lot making deploying difficult.

I thought about it, and I am  ...

Score: 0
How to close podman exposed port on public interface
se flag

I have running AdGuardHome instance on podman with WebUI port -p 8053:80.

# podman port -a
1aeb8e800717    53/tcp -> 0.0.0.0:53
1aeb8e800717    853/tcp -> 0.0.0.0:853
1aeb8e800717    5443/tcp -> 0.0.0.0:5443
1aeb8e800717    80/tcp -> 0.0.0.0:8053
1aeb8e800717    53/udp -> 0.0.0.0:53
1aeb8e800717    784/udp -> 0.0.0.0:784
1aeb8e800717    853/udp -> 0.0.0.0:853
1aeb8e800717    54 ...
Score: -1
Steve avatar
Router Dropping Packets
cn flag

I'm seeing a strange issue with a wired connection to a router on the LAN, where TCP traffic is dropped and logged as a fragmented packet.

Scenario has MTU set at 1500 on network clients and on router ethernet adapter (according to ip addr show).

Example dropped packet message (broken into multi-line for readability):

May 12 09:44:05 kernel: DROP IN=eth0 OUT=tun11 MAC=<removed> 
SRC=<desktop IP& ...
Score: 1
user3599802 avatar
apt-get upgrade vs unattended-upgrades under ubuntu 20.04
ru flag

unattended-upgrades seems to skip certain upgrades, e. g. google chrome upgrade. A subsequent call of apt-get upgrade then finds and installs the ugrade. Does this mean, I must schedule apt-get upgrade in addition to my unattended-upgrades config if I want everything automated?

I have configured /etc/apt/apt.conf.d/20auto-upgrades like this:

APT::Periodic::Update-Package-Lists "1";
APT::Periodic:: ...
Score: 0
NGINX should not change the URL in the Browser Address Bar
fr flag

I hope you can help me on the following matter.

I have NGINX Running and want to forward to .html (virtual pages) to index.php?view=$args without changing the URL, which is shown in the Browser Address Bar (REQUEST URI)

I tried it several times now but each time I go to: example.com/meldung.html NGINX changes the Browser URL to: example.com/index.php?view=Meldung but that is not what I want.

example.co ...

Score: 0
just_some_dude avatar
Can i use different client certificates for different locations using nginx
cn flag

I have two different location on my Server:

  • server/locationA
  • server/locationB

I want to restrict access to these locations using two client certificates certA and certB.

locationA should only be accessible using certA and locationB only by using certB.

until now i did it like this using different ports:

server {

  listen 11111 ssl;
  server_name ServerA;

  ssl_certificate server.crt;
  ssl_certif ...
Score: 0
alex foxton avatar
sed replace is not replacing anything
me flag
sed -i 's/#DirectoryIndex index.html/#DirectoryIndex index.php /etc/httpd/conf/httpd.conf'

which gives out the error

sed: -e expression #1, char 57: unknown option to `s'

I am trying to replace index.html with index.php

Score: 0
ehliaskinnesvegahi avatar
Allow only specific ports on Apache non-SSL requests and redirect
it flag

I am serving 3 NodeJS websites on Apache. The VirtualHosts of these websites are as follows:

website1

<VirtualHost *:80>
    DocumentRoot "/var/www/html/[website1]"
    ServerName "[website1_domain]"
    ServerAlias "www.[website1_domain]"
    ProxyPass / http://localhost:[website1_port]/
RewriteEngine on
RewriteCond %{SERVER_NAME} =www.[website1_domain] [OR]
RewriteCond %{SERVER_NAME} =[website1_d ...
Score: 0
how to analyze buff/cache memory
id flag

When I use free -m I get be below information

Before system restart

              total        used        free      shared  buff/cache   available
Mem:          31549         809         369        1567       30371       28729
Swap:             0           0           0

After system restart

              total        used        free      shared  buff/cache   available
Mem:          31549        ...
Score: 0
Jeff Bonayon avatar
Cloud Compute Engine Unable to Connect
ma flag

I am hosting a website using Google Cloud Compute Engine and currently I am unable to connect to the VM using SSH. It keeps comming back with this error.enter image description here

Score: 0
Steve Moretz avatar
Arp behavior on non requesting user for response
in flag

If we imagine we already have a valid cache for a pair in computer B and then composer A asks about the same pair and computer C responses with the pair information, what would happen here to computer B which already included the pair, would it update the cache or ignore it, since it wasn't its request? What exactly would happen in this situation?

Score: 0
Mudream avatar
How to let homeless user operate unsafe repository
us flag

After version 2.35, git will fail when doing git operation if user is not the owner of git repository due to a patch for a CVE issue.

A quick fix(Well, I think it is just a temporarily method.) for users with home is setting git config.

git config --global --add safe.directory {git repo path}

However, this method cannot apply to a homeless user. Git config need to lay in user's home directory.

How to ...

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.