Latest Server related questions

Score: 0
Installing and configuring open source tools that are unmanaged, with command line access, in Amazon AWS
vn flag

Not sure if this is the best place to ask, but I am looking to create an architecture in Amazon AWS, but do not want to use all managed services. For example, I want to install an unmanaged version of Apache Kafka. Can I install and configure open source tools like this with command line access, and have full control over the tool?

Score: 0
Routing one machine's traffic through GRE tunnel to a remote NAT
vn flag

I had to solve the following dilemma for a friend and thought I'd document how we did it here...

Here's the situation:

  • His home network 192.168.1.0/24 and it sits behind a Linux router that performs NAT and has public IP address A.A.A.A. The Linux router runs openSUSE 15.3.
  • On the home network there is one particular device of interest at address 192.168.1.17.
  • He has a remote Linux machine that s ...
Score: 0
Amazon SES compromised
ru flag
Jan

We experienced something weird. We've got A LOT of mails send with our domain but not by us.

We've got DMARC, DKIM, SPF, etc., all setup and working but the issue still persists. Changing API keys and SMTP keys won't solve this issue. What can we do?

Example of the log of a mail:

{
  "Type" : "Notification",
  "MessageId" : "d9c91074-7f57-5a86-8322-49393f02821a",
  "TopicArn" : "arn:aws:sns:eu-west-1:718 ...
Score: 0
Tomcat 9 deployed using docker randomly reached 200% CPU without any webapps
in flag

Hi have a Tomcat 9 running in a AWS machine using the following docker compose file:

version: '3'
services:
  fstomcat:
    image: tomcat:9
    container_name: fstomcat
    ports:
      - 443:443
    volumes:
      - /opt/tomcat/webapps:/usr/local/tomcat/webapps
      - /opt/tomcat/conf:/usr/local/tomcat/conf
      - /opt/tomcat/logs:/usr/local/tomcat/logs

There are no webapps at the moment (webapps i ...

Score: 0
vra how to use single blueprint for multiple endpoint / multiple VCs
br flag

we have a multiple VC across locations and all VCs integrated with VRA. Right now we are creating a separate BP for each VC and that leads to lot of issues. how I can use same BP for all VCs. is there any articles to check and implement.

Score: 1
MattB avatar
Ansible version on Ubuntu 20.04 LTS doesn't seem latest after repository set up
cn flag

At the time of writing, the current version of Ansible for Ubuntu 20.04 LTS (focal) appears to be 2.10.11-1ppa~focal

However, when I follow the steps[1] on that page and subsequently try to install, according to the documentation I seem to get a different version[2].

[1] Repository install steps

sudo add-apt-repository ppa:ansible/ansible
sudo apt-get update

[2] After apt install

$ ansible --version
a ...
Score: 0
SFTP server gives connection error after reinstating deleted directories
jp flag

Some time ago I set up an SFTP server which worked happily. I have a configuration like this in my ssh_config

# override default of no subsystems
#Subsystem      sftp    /usr/lib/openssh/sftp-server
Subsystem       sftp    internal-sftp

# Example of overriding settings on a per-user basis
#Match User anoncvs
#       X11Forwarding no
#       AllowTcpForwarding no
#       PermitTTY no
#       ForceC ...
Score: 0
Ganbayar Gansukh avatar
nginx.service is not starting after mount
cn flag

I have a nginx that depends on a mounted drive.

My nginx.service has an entry with the RequiresMountsFor in the service unit like this:

[Unit]
RequiresMountsFor=/media/bar

But looks like it is still booting ahead of the mount point.

My mount cmd looks like this and on cron jobs @reboot:

mount -o bg,nolock,noac,actimeo=0 192.168.1.5:/foo/bar /media/bar

I'm not finding where it is going wrong. Her ...

Score: 0
Brian Topping avatar
How to LTS for new Ubuntu users?
ua flag

Hi I have some servers with not too terribly demanding requirements other than uptime. I'm new to Ubuntu, having just left CentOS after ten glorious years and many more prior to that. 20.04 LTS seemed like the right way to go here, but I immediately ran into a need for a 5.10 kernel and 5.10.4 was current at the time. Time to clean up that mess as I have a need for some userspace tools that are kernel v ...

Score: -1
Skittles avatar
Using a Windows Server 2012 R2 Server as a PDC via remote location
fr flag

Presently, we have a Windows 2012 R2 Server acting as our PDC and it is physically located in our HQ location. It serves the HQ location as well as 5 other branch locations. Our president has inquired with me if there is any way we can move that server into a cloud rather than physically hosting it.

Server roles are as follows:

  • DNS Server
  • AD for company-wide local network authentication and LDAP authenti ...
Score: 0
uday avatar
How to connect container in another docker network?
ke flag

I have postgres running in default container network as it ran using docker run command. And, our webapp running on the same server but spinned as a docker-compose service. So, there is separate bridge network created for that automatically.

How to connect this docker-compose service created web app container in custom network to the postgres database created using docker run command in default n ...

Score: 0
Damiano Dotto avatar
Squid proxy service configuration issue
sg flag

I have installed squid proxy to filter outbound traffic from docker. Specifically, I created a jupyterhub environment with docker in order to isolate each user and give them their virtual environment.

Now I would like to go and filter outbound traffic so that they can only access certain domains and the service installed locally with jupyterhub's docker.

Calling the proxy with cURL works fine. It on ...

Score: 0
Amruth avatar
How to configure AlertManager as a cluster across different Kubernetes clusters?
cn flag

We have 4 different Kubernetes clusters and each cluster has Kube-prometheus-stack chart running on it. Idea is to run 2 replicas of AlertMangers on each cluster and form a cluster out of it(8 AlertMangers forming a single cluster). Prometheus on each cluster would need to know about AlertManager running on all other clusters.

We are planning to use CRDs to deploy all this. Would be great if some ...

Score: 0
Issue with Apache permissions with scp'ed document root content
ke flag

I have a server running apache which has as document root /var/www/html/. Apache runs as apache:apache.

This server is filled with content which is scp'ed programmatically from another server which uses a different user to login via ssh than apache, say user1.

The resulting structure is like this:

drwxr-x--- 2 user1  user1    22 23 jun 16.50 .
drwxrwxr-x 3 apache apache   16 23 jun 16.50 ..           < ...
Score: 0
Lorem ipsum avatar
command "docker compose up" not found in azure aci
us flag

I'm following ths resource in order to deploy docker-compose application in azure:

https://www.docker.com/blog/how-to-deploy-containers-to-azure-aci-using-docker-cli-and-compose/

My problem is that the command "docker compose up" is not working.

I get the following error:

docker: 'compose' is not a docker command

However i switched the context before with:

docker context use "azuremycontext" 

Edi ...

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.