Latest Server related questions

Score: 1
Xen avatar
How to dynamic reverse proxy nginx desktop and mobile?
ax flag
Xen

How to reverse proxy if user use dekstop go to proxy_pass domain.xyz; and if use mobile go to proxy_pass mobile.domain.xyz;? me use nginx as reverse web server. this my sample code :

server {
    listen 80 default_server;
    listen [::]:80 default_server;

    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    ssl_certificate /etc/nginx/ssl/ ...
Score: 0
Error accessing MySQL endpoints through nginx ingress in eks
zm flag

I got 3 node on aws eks.

I want to use mysql client and access the database via Nginx Ingress.

this is my yaml.

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: ext-nginx
    nginx.ingress.kubernetes.io/rewrite-target: /
  name: ext-nginx-ingress
  namespace: ext-nginx-ingress
spec:
  rules:
    - host: mysql.***********.com
      http:
        ...
Score: 0
Holmes.Sherlock avatar
RAID5 array is rebuilding after a fresh install of Ubuntu 20.04 Server
ru flag

I installed Ubuntu 20.04 Server on a system with three Seagate 6TB drives. I have partitioned both sda and sdb in two partitions. The first partition on each disk is of 5G. I combined those two 5G partitions into a RAID1 array to mount as /boot. The second partition of those two disks, and the third disk as a whole is a part of a RAID5 array which is mounted as /. I did the partitioning from the Ubunt ...

Score: 1
Arkest Must avatar
How to move Active Directory Settings on a Winodws Server 2016 to another server that has Windows Server 2019 that Does not have A.D
om flag

How to move Active Directory Settings on a Windows Server 2016 to another server that has Windows Server 2019 that Does not have A.D

To clarify further I have a Windows Server 2016 with DNS setup, and a Domain Controller Active Directory Services setup on one Server.

However I want to move the Settings from the Windows Server 2016 to my newer server which is on different hardware. The newer server s ...

Score: 0
user2723490 avatar
lftp - how to prevent deleting target files if source is empty
jm flag

I use lftp to mirror remote and local directories:

lftp -e 'mirror --include-glob=*.gz --delete /remote_dir/ /local_dir; bye;' -u username,'password' ftp://remote_ftp;

One thing I cannot figure out is how to prevent deleting local files if a remote source is empty or *.gz files are not presented in the source. Obviously, I can remove the '--delete' option, but I need the local files to be always overw ...

Score: 1
Is there a 1:1 correspondence between CodeDeploy applications and a Lambda?
kg flag

We're investigating CodeDeploy for automating deployments of a service that is comprised of:

  • Multiple Lambdas, with some triggered by SQS queues and others accepting HTTP requests via API Gateway
  • API Gateway
  • SQS queues

The question I have is actually rather simple - is there a 1:1 correspondence between a CodeDeploy application and a Lambda, or can a CodeDeploy application be comprised of multiple  ...

Score: 0
Installing latest SLURM bundle (package) on Clear Linux fails on service start with symbol error
in flag

I would like to install SLURM on Clear Linux because of its good benchmarks. I have followed the tutorial at https://docs.01.org/clearlinux/latest/tutorials/hpc.html. When I got to the step of the section "Create slurm.conf configuration file" I noticed that slurmctld service didn't start. The error was related to the slurm.conf file. This was in the log:

jul 11 19:20:00 slurm-controller slurmctld[615]:  ...
Score: 0
Ed Shway avatar
Scanning a range of ports with Ncat?
us flag

I'm aware that Nmap is the obvious choice for this task, however I would still like to know if it's possible to scan a range of ports with Ncat.

I see that I'm able to scan one port, but with a range of ports I get an error.

With traditional Netcat I see that it works, but with Ncat, when I run:

ncat -vzw1 scanme.nmap.org 20-25

I get:

Ncat: Version 7.91 ( https://nmap.org/ncat )
Ncat: Invalid port number ...
Score: 0
aeros avatar
Why freeradius and simultaneouse-use doesn't work?
cn flag

I installed freeradius + mysql + daloradius everything works fine except the simultaneous-use option. Without this option a login can be used simultaneously. Which causes me trouble. Here are my configuration files and the log file: config file & log radgroupcheck & radwho

AP: Ubiquiti nanostation M2, authentification et accounting enable Nas type: other

What should I do?

Score: 0
Grismar avatar
Why would a NIC on CentOS 7, attached to a Dell N2048P switch, only get a carrier when plugged in after boot?
cn flag

My situation:

  • I have a new machine, with two NICs (Intel Corporation Intel(R) Ethernet Controller I225-LM (rev 02), according to lspci), but only one is connected.
  • It's connected into a larger network, but directly connects to a Dell N2048P switch.
  • The machine is running the last CentOS 7 (for software compatibility reasons - this may change in the future), minimal installation, entirely vanilla. ...
Score: 0
DrKumar avatar
What does "ip4 default" mean in NetworkManager nmcli output?
sy flag

My output of nmcli on my machine is as follows:

enp129s0f0: connected to enp129s0f0
        "Intel 82599ES SFI/SFP+"
        ethernet (ixgbe), 00:AB:50:C6:C4:D0, hw, mtu 1500
        ip4 default
        inet4 192.168.99.105/24
        route4 0.0.0.0/0
        route4 192.168.99.0/24

enp5s0f0: connected to enp5s0f0
        "Intel I350"
        ethernet (igb), 00:AB:50:C4:4C:1E, hw, mtu 1500
        inet4 1 ...
Score: 0
bdetweiler avatar
Puppet - can I selectively notify a Service?
jp flag

I have a Puppet script that handles things differently in different environments based on an if/else block. But I have a bunch of common file resource blocks at the bottom that apply to all environments. Currently, those blocks notify => Service['my-service'], but for production, I want it to not notify. I only want it to update the files, not start or stop any services.

My initial idea is, can I  ...

Score: 0
Alfredo Tostón avatar
PPP connection created by SonicWall NetExtender on Ubuntu 20.04
gb flag

I'm trying to connect to the client VPN via Sonicwall NetExtender. On Windows there is no problem, but I cant't connect on my Linux Desktop (sometimes it works, but it's the exception).

When I connect everything seems to be ok, but the result is as if it's not connected. If I do a ip a on the console I can see the ppp0 connection created,

20: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280  ...
Score: 0
SJWales avatar
HTTPD LDAP Authentication not working
kw flag

First time trying to do this and I'm completely lost.

I have a Oracle Linux 7.9 server that has a directory that needs to be shared to users via HTTP so that they can download files to send out to third parties.

I have been easily able to make it visible and open to all, but I have so far been unable to get LDAP to work - it won't even prompt me for credentials.

I have done a yum install for: httpd, op ...

Score: 0
How to use mdadm to assemble arrays from crashed windows server
ru flag

I got 12 hard disks from completely crashed server, some of them are failing, too. I successfully saved bit copy of all of them, even not always error free. I found 512MB superblock on each end of disk starting with a word DSREGION. The 512MB of space is not heavily used and from some text fragments one can judge, that the built-in RAID controller was some LSI model. The question remains: how can I asse ...

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.