Latest Server related questions

Score: 0
digitalml avatar
Can node and nginx use the same cores simultaneously on a dedicated server safely (no docker)?
it flag

I have a 16 core 64 gigs of ram dedicated server running ubuntu 20.4.

I'm running node / express in pm2 cluster mode and also a nginx reverse proxy on the same server without docker. No other services are running on this server.

Is it safe to run 1 node process per core (16 total) and also set nginx worker_processes to use all 16 cores at the same time? Will node and nginx using the same cores at th ...

Score: 1
Make systemd ask for password and authenticate instead of just denying access
fr flag

When I run a command like this on my raspberry pi I get the following output:

$ service sshd restart
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to restart »sshd.service«.
Authenticating as: ,,, (pi)
Password:

Doing the same on my Ubuntu Focal server I am getting a completely different result:

$ service sshd restart
Failed to restart sshd.service ...
Score: 0
mayank sharma avatar
Google cloud : ConnectionResetError: [Errno 104] Connection reset by pee
cn flag
raceback (most recent call last):
  File "main.py", line 2, in <module>
    from BankEmails.ProvidentCredit import ProvidentCredit
  File "/home/mayank/code/python/webapps-google/reademail/code/BankEmails/ProvidentCredit.py", line 1, in <module>
    from Common.GetEmailFromGoogle import GetEmailFromGoogle
  File "/home/mayank/code/python/webapps-google/reademail/code/Common/GetEmailFromGoogle. ...
Score: 0
spinkus avatar
kubernetes duplicate pod ip addresses - are pod ips supposed to be unique cluster wide?
de flag

I read this in the doc:

Every Pod gets its own IP address ... pods on a node can communicate with all pods on all nodes without NAT.

Should I read that as "every pod gets its own unique cluster wide IP address"?

I assumed this was the case, but reason I ask is I noticed pods with the same IP addresses just on different nodes just after I initialized a new cluster following the instructions here. Th ...

Score: 0
M.E. avatar
Testing a tun tunnel between an Ubiquiti edge router and a Linux Server
ph flag

I am following the first example setup for OpenVPN which involves establishing a TUN tunnel.

On the server I run:

 openvpn --ifconfig 10.200.0.1 10.200.0.2 --dev tun 

The ubiquiti Edge Router is connected to Internet in a LAN connection. In the router I run:

 /usr/sbin/openvpn --ifconfig 10.200.0.2 10.200.0.1 --dev tun --remote 203.0.113.15

Where 203.0.113.15 would be the public IP of the server.

Score: 0
Sharing a Let's Encrypt certificate with a node websocket connection on the same domain? Possible? Advisable?
us flag
Jon

Is it possible / advisable to register and renew a Let's Encrypt certificate through Nginx for https, and share that same certificate on a websocket connection (wss://) on the same domain? The websocket server is being ran off of node.js (Colyseus to be specific - which has Express built in)

If not, is it worth setting Nginx as a reverse proxy in front of the websocket server and setting the cert ...

Score: 1
Gallaugher avatar
Google Places & M1 Macs
us flag

My Swift/iOS students are building apps with GooglePlaces. It seems GooglePlaces does not run in the simulator on M1 Macs, so anyone with an M1 has been building & running on iOS devices. I have one student who has an M1 Mac but is an Android user & doesn't have an iOS device.

  • Is there a way to run GooglePlaces in the simulator on M1 Macs? If so, can you please point folks to newbie-friendly  ...
Score: 1
WebAdministration provider is not available on Windows Server 2016
in flag
Ken

Here is a puzzling issue. On some Windows Servers in my organization, if I try to run Get-WebSite in PowerShell, I get the following output:

PS C:\Users\me> Get-Website
Attempting to perform the Start operation on the 'WebAdministration' provider failed. Arithmetic operation resulted in an overflow.
Get-Website : Cannot find a provider with the name 'WebAdministration'.
At line:1 char:1
+ Get-Website
 ...
Score: 0
roee klinger avatar
How to get a static internal IP for a 4G modem using ModemManager and NetworkManager?
bd flag

I have around 16 EM160R-GL 4G USB modems connected to one Ubuntu server, which I use NetworkManager to dial up to the ISP.

The problem is that the network interface I am getting on my machine has an internal IP that is fetched from the ISP, and it keeps changing.

I am trying to set up some software that requires the modem's internal IP, so I would like to set up it so that the network interface gets a s ...

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.