Latest Server related questions

Score: 0
S3 access control based on bucket tags
cn flag

i hope you can help me out. I have read a couple of docs now, and I am still unsure whether this actually works.

I want to give access in different levels to AWS users based on S3 tags.

Example:

  • S3 bucket mybucket has tags {"access-team-dev": "rwd"}, which should lead to the "dev" team having "read, write, delete" access.
  • one tag for each team, the value is the access level.

I have tried at least 10 di ...

Score: 0
Franc M avatar
selecting vCPU harware family while creating VMs on AWS or Azure or Google compute
it flag

Do the AWS or Azure or Google compute allow user to select vCPU architecture/Family while creating a VM? Is that possible if I have to specifically create a VM with Xeon family processor and another VM with core i7? on the same cloud platform?

Score: 0
AnchovyLegend avatar
Running modify-instance-attribute on multiple ec2 instances at once
us flag

I'd like to run a modify-instance-attribute command like the one below, but run it on multiple instances at once. I'm having a difficult time determining how to do this, as it seems the command only takes in a single instance id at a time. Is there a way to perform a 'lookup' of instance id's and run the the modify-command on multiple ec2 instances at once?

Command I'm using to supply instance id ...

Score: 0
adilahmed avatar
How to Disable WebDAV Redirector server feature
co flag

I have Windows Server 2019 and installed SharePoint 2019 in it for enable Open with Explorer view in Server i enabled feature WebDAV Redirecter, now after enable now i want disable this feature and what are recommmended steps to disable this server feature. enter image description here

Score: 0
sirzento avatar
Wing ftp server with reverse proxy and ufw
us flag

I set up a wing ftp server on my ubuntu server. Installation was easy and fast, but now when accessing the site for the first time and logging it, I just get redirected to an empty site. The html is completly empty. No errors or warning in the browser console.

I have also setup a reverse proxy that redirects 443 trafic to the port 5466 (default wing ftp port).

server  {
    listen         443 ssl  ...
Score: 1
Mervyn Heng avatar
Purpose of IPv4 mapped IPv6 address
ye flag

I am still confused about the purpose of IPv4 mapped IPv6 addresses and would like some enlightenment.

I have a server client pair of machines and I intend to connect them via Openvpn. The server has an IPv6 address, while the client an IPv4 only address. When I ping the client's IPv4 mapped IPv6 address, there is a response. However, when I configured the client to connect to the server's IPv6 a ...

Score: 0
bbsimonbb avatar
Scheduled tasks created with schtasks are interactive only. How do I create a task on a server that will always run?
cn flag

I have a web app deployed with an azure pipeline. Part of the deployment is to create scheduled tasks with schtasks. The line of DOS that creates my task is as follows.

schtasks /create /sc minute /mo 10 /tn ScheduledSync /tr "curl https://company.com/api/sync"

When I view the task in the task viewer, the checkbox "Execute even if user is not connected" is not checked. This is weird because schtasks ha ...

Score: 0
mahdi bigdely avatar
Route shadowsocks traffic through openvpn in server side
us flag

So I want to implement a thing like this :

  1. A client connect to my shadowsocks server.
  2. Shadowsocks server send request to remote server ( a server that client trying to connect to that ) through openvpn
  3. Retrieve result ( response ) from openvpn and send it back to client by shadowsocks.

How can I implement that in a ubuntu18.04 server ?

Score: 0
be MrZulf avatar
Particular Email DB In Users Folder In Roundcube
ph flag

I am trying to make db for every particular mail in user folder but when I use getenv('HOME') and getenv('_RCUBE') it shows me unable to connect with db.

This is how I use it

$config['db_dsnw'] = 'sqlite:///' . $_SERVER['HOME'] . '/etc/' . $_SERVER['_RCUBE'] . '.rcube.db?mode=0600';

$config['db_dsnw'] = 'sqlite:///' . getenv('HOME') . '/etc/' . getenv('_RCUBE') . '.rcube.db?mode=0600';

In both the way I h ...

Score: 0
Strip path prefix using AspNetCoreModuleV2 (or httpPlatformHandler) on IIS
in flag

As a company using IIS for deployment of several web sites and services, we somehow struggle to deploy a Python web service based on FastAPI, however this problem may not be limited to Python. We are trying to use either the httpPlatformHandler module or its successor, the AspNetCoreModuleV2 module.

The configuration for the httpPlattformHandler module looks like this right now:

<configuration& ...
Score: 0
Ajith Redrigo avatar
Amazon-ec2 ubuntu ram(memory) issue
in flag

My ec2 ubuntu server shows memory was full when I use the command htop and only 1GB is free.

htop

When I try the command free cache memory was occupied 29 GB also available memory shows the same size of cache memory.

ubuntu@ip:~$ free
Mem: total        used     free      shared  buff/cache   available
     32231844    1078136   1022672     23744    30131036   30666420
Swap:             0           0       ...
Score: 0
postfix fails to save copy in sent folders on emails with large attachments
ua flag

I use postfix and courier on my email server on debian 11. Whenever I send an email with attachments larger than a few MB (I use a slow cellohone-connection), it fails on saving the copy in the Sent folder.

The email is successfully sent, only the copy fails. Smaller emails are copied into the Sent folder fine (I use only IMAP-ssl, in Thunderbird, on Ubuntu 22.04)

I have set

message_size_limit = 90000000 ...
Score: 0
iptables rule with network interface not working
co flag

I have problem that if in IPTABLES I insert network interface it's not woking if without network interface it's ok.
My iptables: https://i2.paste.pics/cce26e3f680e2b...08e514f9cb.png

and if I use rule like this, it's working:
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
If I add interface not working:
-A INPUT -i ens192 -p tcp -m tcp --dport 22 -j ACCEPT

Ifconfig: https://i2.paste.pics/H4FPP.png

Whe ...

Score: 0
Unable to restart nginx, I think something to do with port 80?
by flag

I am following Corey Schafer's flask tutorial.

I am trying to deploy to a Linux server, but am unable to get nginx working.

These are the commands I have run so far:

sudo apt install nginx

pip install gunicorn

sudo rm /etc/nginx/sites-enabled/default

I have then tried to create and edit a new file:

sudo nano /etc/nginx/sites-enabled/flaskblog

This is what I input into that file:

server {
    listen  ...
Score: 0
ya chen avatar
Error when create a MicroK8s cluster : Connection failed. The hostname (xx) of the joining node does not resolve to the IP "xx". Refusing join (400)
th flag

I have installed microk8s(1.24/stable) on two machines. The ip of the two machines are:172.29.99.187, 172.29.99.188. I operate the command at 172.29.99.187:microk8s add-node

Output:

From the node you wish to join to this cluster, run the following:
microk8s join 172.29.99.187:25000/57a191d07ce8fe360e13f4f1e9026ce8/5be428d4e916

Use the '--worker' flag to join a node as a worker not running the  ...

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.