Latest Server related questions

Score: 0
What a best way create ingress-controller with custom ssl ports?
cn flag

Helloy. Im building infa with kubernetes for apps with nonstandart tls ports how u think what a best way create ingress-controller(nginx, traefik, ..) with 9001 9002 9003 tls ports and loadbalance. infra in cloud and i have a cloud loadbalancer ofc. Im thinking about create 3 diffrent nginx-ingress-controller with diffrenet tls ports .. like : 1-nginx-ingress-controller-->tls 9001 2-nginx-ingress-con ...

Score: 1
Neil avatar
What is the account field used for on an FTP Server, vs the username
vn flag

Probably a stupid question, but when connecting to FTP servers, there is sometimes an option for account. What is the significance of this vs the username?

See this method from the Apache FTP Client for example:

/**
 * Login to the FTP server using the provided username, password,
 * and account.  If no account is required by the server, only
 * the username and password, the account information is no ...
Score: 0
Abdusoli avatar
How to create network in Ubuntu 20.04 from ethernet Cable
br flag

I have Ubuntu server and I need to connect it to the internet. Its local Ip address is 192.168.0.124. This Server gets the internet from another server using switch ethernet cable. The main server that gives the internet has its private Ip address and has local Ip address 192.168.0.254. Main server gives the internet also to other Gentoo server which has 192.168.0.106 ip iddress. I saw Gentoo serve ...

Score: 1
Brosilio avatar
nginx - how to functionally achieve an "internal 307 redirect"
in flag

I'm not sure how to describe the functionality I'm trying to achieve in a way other than "an internal 307 redirect".

Using nginx's error_page directive causes nginx to change POST requests to GET requests. In my config, Nginx proxies requests to some upstream server with proxy_intercept_errors on so that I can serve error pages from nginx.

Example:

error_page 500 502 503 =500 /50x.html;
location =  ...
Score: 0
Aditya Agarwal avatar
Issue with syncing data from Amazon RDS to Amazon S3
ai flag

I am trying to sync binlogs in RDS mysql DB with Amazon S3 in real time to query using Amazon Athena. I have tried using debezium as source connector for Apache Kafka connect- kafka stores streaming data from RDS and dumps to S3- https://debezium.io/documentation/reference/1.6/architecture.html

However, the problem with this is that as we query data in s3 using athena we are able to query any inserts int ...

Score: 0
Burak Çayır avatar
How can i add request id to nginx error log?
cn flag

I want to add request id which generated by nginx to nginx error log.

Example nginx access log:

200 [27/Sep/2021:12:12:39 +0300] ..101.24-- ..101.24 GET /?fname=%22+or+%22%22%3D%22&lname= HTTP/1.1 - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36 **c85f0187b2cf1b15c24b6133b671f431

Is it possible also in error log?

Score: 0
Naroh avatar
Apply NGinx redirects only to main domain excluding subdomains
de flag

I have a setup of a PHP application listening in several hosts, for example:

maindomain.com a.maindomain.com b.maindomain.com

Some routes in maindomain.com need to be redirected. For that, I configured this redirection time ago:

rewrite ^/myroute/(.*)$ http://$server_name/new-myroute/$1 permanent;

Which makes all requests to maindomain.com/myroute/ redirect to maindomain.com/new-myroute.

The thing is ...

Score: 0
Hasnain Hayder avatar
IIS not responding to new requests
cn flag

We confronted a strange situation today that all of sudden our IIS stopped responding to requests upon checking the worker process everything looked fine there. Moreover, the Pool was working fine as well. Restarting the IIS poll threw an error "0x80070425" after waiting for a minute we then tried again and it worked but even at that point server was not accepting requests everything got queued. Anyways ...

Score: 1
MD Nasirul Islam avatar
Install certbot nginx in Amazon Linux AMI
ru flag

i have a really old amazon linux ami in which i need to install certbot for my nginx which is running a php website. Now i need to install ssl on this website. But i cannot install certbot-nginx on my server. whenever i try to install

sudo yum install python2-certbot-nginx.noarch

it shows me some dependency error. Like this at the end

--> Processing Dependency: python-requests >= 2.6.0 fo ...
Score: 1
Linux cp specific files from a text list of files to subdirectories from a text list too?
sn flag

I ask for your help to solve my problem because I am stuck. I explain the situation to you: I want to copy files whose path I have on a txt file in specific subdirectories specified in a second file (I also have a complete csv file including these 2 columns: name of the subdirectories ($value1), file path ($value2))

I was able to automatically create the subdirectories using this command:

xargs mkdir -p & ...
Score: 0
Sara June avatar
How to redirect the port in ingress?
cn flag

In that ingress section of AKS, we can add routes to multiple application but all having container port as 80 only. With Ingress, our application is using port 8080. But with ingress, even if I keep servicePort as 8080, it is not working.

Like, adding routes to multiple apps with different ports for their service.

apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: nginxapp1-ingress- ...
Score: 2
morleyc avatar
Apache Options -Indexes for sub directories
ca flag

Per How can I prevent people from looking at a listing of files in parent directory if I haven't uploaded index.html? I can see how to disable listing of files if there is no index.* file.

How can i allow file listing for the root directory, but not any other sub directory?

Thanks in advance.

Score: -1
cynkiller avatar
IPv6 dnsmasq dig refused
jp flag

I'm trying to enable both IPv4 and IPv6 stack on SUSE 15 environment. I've assigned both IPv4 and IPv6 addresses to the same interface using /opt/vmware/share/vami/vami_set_network. Both IPv4 and IPv6 addresses are pingable.

Now I need to enable dns resolution for both IPv4 and IPv6 using dnsmasq. But when I use dig to check the dns server status, dig IPv4 address succeed while dig IPv6 address f ...

Score: 0
Veijo avatar
Kubernetes version update fails
ng flag

I'm updating a Kubernetes cluster from version 1.17 to 1.18 by using kOps (v1.18) with the command kops update cluster --yes

Just before the end of update operation update fails with a message:

I0924 08:00:09.277510   22260 executor.go:111] Tasks: 0 done / 119 total; 42 can run
I0924 08:00:09.956582   22260 executor.go:111] Tasks: 42 done / 119 total; 26 can run
I0924 08:00:10.385824   22260 execut ...
Score: 0
IceCanh avatar
Powershell - Status "Installed(pending removal)" when running Remove-Appxpackage
in flag

I'm developing application uninstaller using Powershell. I using 2 commands:

  1. Uninstall for all users (using -AllUser): Get-AppxPackage -AllUsers <PackageName> | Remove-AppxPackage -AllUsers

  2. Uninstall specified user: Remove-AppxPackage <PackageName> -User <User SID>

Both commands I run using user admin.

Command 1. works fine. Command 2. doesn't work as expected.

Details about Comma ...

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.