Latest Server related questions

Score: 0
gitlab ci: How to share cache between fork and parent repository?
cn flag

first please read the context of my inquiry.

A project named teamspace/foo I maintain at work makes each teammate fork it. I have a scheduled pipeline that remakes cache each night.

Now onto the problem I want to solve:

Developers want to use teamspace/foo cache in their forks to speed up their own pipelines.

I would like to somehow share teamspace/foo cache to any forked repository.

My questions th ...

Score: 0
cg_foreau avatar
Can't install RedHat 8.4 offline from DVD
ca flag

I'm trying to install RedHat 8.4 on a workstation in an isolated network. Is there a way to do it without connecting to the web or a server on the same network ?

The GUI does not seem to provide the option to install from the DVD anymore in this version, and attempting to use a Kickstart file with repo --name="RpmPackages" --baseurl=file:///run/install/repo/my_repo adds a line in the additionnal reposit ...

Score: 0
olivierg avatar
Authenticated SMTP with sendmail on command line
us flag

we are sending emails using sendmail on the command line, with a command such as :

cat <email_contents> | sendmail -t

the <email_contents> contains fields such as sender, recipient etc.:

To: recipient@example.com
Subject: Testing
From: sender@example.com

as well as a huge file, attachments etc.

we now need to use Authenticated SMTP (pass a login & password argument to authenticate again ...

Score: -1
Ali Eb avatar
8 x 15k SAS hdd disk with raid 0 performance vs single SSD disk for database
jp flag

Which one has a better performance for database application (e.g. postgres) if we just consider read/write operations speed and not fault tolerance

  • 8 x 15k SAS hdd disk with raid 0
  • single SSD disk
Score: 1
Mr Sparrow avatar
sftp the directories has different sizes after transfer?
ua flag

i am moving folders from server into another debian -> centos using sftp .

the folders size is different after the transfer is done . for example :

remote server :

sftp 00.00.00
sftp get folderName ( size 87mb)

on local server :

du -sh * 
folderName ( size 83mb )

is it possible i am not transferring the hidden files and folders?

Score: 1
Johan Hoeke avatar
nagios check_raid, megacli reporting wrong disk capacity, volume info on C240M5 Cisco 12G Modular Raid Controller [SAS3516]. TOSHIBA MG06SCA800A
nl flag

nagios raid_check for new CiscoC240M5 with Cisco 12G Modular Raid Controller SAS3516 was failing.

For now I've modified check_raid to skip over the volume check part, checking only the physical drives but ideally we'd want to check both, with check_raid. Has anyone found a way around this? Or should I forgo check_raid and use a wrapper script for megaclisas-status --nagios instead, accepting the  ...

Score: 3
sparkstar avatar
In kubernetes HPA if the configuration has both targetCPUUtilizationPercentage and targetMemoryUtilizationPercentage which is given priority?
gb flag

I am new to kubernetes and HPA. I did not find both the CPU and memory target thresholds configuration together in the official docs Is it possible to do something like below?

My current sample hpa spec:-

hpaSpec:
        maxReplicas: 10
        minReplicas: 5
        targetCPUUtilizationPercentage: 50
        targetMemoryUtilizationPercentage: 80

Does this mean that the pods will scale up in both the f ...

Score: 0
Poor disk throughput on Google App Engine
tc flag

Is there any way to manually provision IOPS for the disk used by the instances on Google App Engine?

The default throughput I get with a 256GB disk is terrible (60MiB/s burst, after which is settles to 30MiB/s combined for reads and writes).

Is there an option in App Engine to:

  • Provision IOPS manually
  • Use an SSD
  • Use a VM instance template so I can configure the hardware template in Compute Engine a ...
Score: 0
Daniel avatar
MariaDB installation using RPM failed
us flag

I'm trying to reinstall MariaDB since unable to restart the service. Using Centos 7.6.

Previous uninstalled was using yum but this install i'm using RPM since i chose for specific older version (10.3.17) that doesn't offer in yum package anymore.

Upon uninstalled i didn't remove any config files except in /home/mysql

Mine my.cnf datadir : home/mysql

However, my RPM installation has facing error :-

Score: 1
wertyq avatar
How to create SPF records for my subdomains pointing to services hosted on Azure
cn flag

I have a webapp running on Azure and use Google Domains for the domain name (mywebapp.com) and DNS. Azure automatically generates URLs for different resources/services (e.g: https://black-cat-12345.azurestaticapps.net, https://my-webapp-api.azurewebsites.net) and I use CNAMEs to create subdomains:

mywebapp.com  A  3600  {Google IP}
mywebapp.com  MX  3600 {Google mail servers}
mywebapp.com  SPF  "v=spf1 ...
Score: 1
Can I set a limit on attempt number of ssh authentication passphrase?
id flag

I recently changed to ssh-key from password for security.

But ssh-key can also be compromised when the private key file is somehow stolen.

So I set a passphrase on the private key.

But it seems that I can try as many as I wish.

So is there any way I can set a limit on how many one can try passphrase?

Score: 1
DevOpsSauce avatar
Why would TLS version in one config cause another to break?
jp flag

I have an Apache proxy that has several VHosts. Some of these are legacy configs that were before my time. Long story short, I removed some .crt files on the server that had expired, and forgot to remove the associated /etc/apache2/ssl/*.conf files, so when Apache would try to rotate its logs, it would fail.

After repairing that mess, I began receiving 502 Proxy Error when navigating to only one of the  ...

Score: 2
Xuo Guoto avatar
Does AIDE support scanning memfd files?
co flag

Happy to be here with my first question!

I am using AIDE for file integrity checking. Today I came across an article which details a technique to run malware droppers without touching file system, by using memfd.

The article can be accessed here

Now my question is does AIDE support scanning memfd? Searching google did not return much info.

If it doesn't any other system capable of scanning memfd f ...

Score: 0
nick avatar
Understanding Tripwire Logs
ru flag

I'm new to the world of managing my own web server so have been trying to keep up with the best conventions.

Tripwire is set to run every day and the findings are e-mailed to me. To be honest, when files are listed modified/added/removed I'm not sure if its some normal system process (like log files being updated) or something fishy is going on.

Could someone point me in the right direction to some  ...

Score: 1
João Scheuermann avatar
How can i bind a network interface to an entire /48 subnet of IPv6 addresses without having to enumerate each and every individual address?
mx flag

Context

I need to know how to setup an entirely /48 IPv6 block in my server to perform outgoing requests with any of these IPv6 addresses without setting up each one individually.

My ISP provides this subnet via an DHCP6 server connected directly to my machine on their data center.

The machine runs Ubuntu Server 20.04.

I've arleady tried this:

  • ip addr add 0000:000:00::/48 dev lo, works really well wi ...

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.