Latest Server related questions

Score: 0
How to run Xen with UEFI?
in flag

I'm trying to configure Xen so that it runs with UEFI. However instructions I have found online are not clear or outdated. Can anyone provide clear instructions that explain step-by-step of how to configure xen hypervisor to run with UEFI?

Ubuntu 20.04.02 LTS btw.

Score: 0
alancc avatar
Which available zone should I choose when launching an EC2 instance?
cn flag

I have checked https://www.parkmycloud.com/blog/aws-regions-and-availability-zones/ and https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-availability-zones. It is easy to choose a region close to my customers. However, how about the available zone?

Which available zone should I choose when launching an EC2 instance to obtain the best performance? F ...

Score: 0
Is possible to build a Linux network over fibre channel NICs?
cn flag

I want to speed up my Linux network between two computers by using fibre channel cards and a direct connection between them.

I was not sure if my network cards supported that but I did a bit of digging and I think they should support that kind of networking. Here my NICs models: Qlogic QLE2562 and Qlogic QLE2460

Searching on Google resulted in IPFC, but it seems to be not supported in Linux any more ...

Score: 0
How to increase the block size of an ext4 filesystem beyond the 4KB limit?
es flag

Is there a way I can increase the blocksize of my filesystem (ext4) beyond the 4KB limit?

I want to increase the random read/write speed of my filesystem by increasing the block size but I can't go any further than the page size. Is there a way to work around this?

I would appreciate any instructions or help to make this change. Thank you.

Score: 0
Enable legalnoticetext and legalnoticecaption, but suppress or skip for only one account
in flag

I have a workstation (Win 10 LTSC) that I am required to display a login notice, and I'm required to use the legalnoticetext/legalnoticecaption feature to do so. (You may also know legalnoticetext/legalnoticecaption as the GPO entry "Interactive logon: Message title for users attempting to log on".)

However, most of the time that workstation performs an auto-login into a captive local account wi ...

Score: 1
PA-GW avatar
How to get a local mysql dump of a specific AWS RDS Snapshot
kp flag

Hello I have a linux bastion host in AWS that I am able to SSH into. In the Bastion I am able to run a mysqldump command which makes a copy of an RDS instance. What I want to accomplish is being able to make a copy of a specific RDS snapshot. When I run the mysqldump command the copy is properly made but it returns the latest RDS data.

The original command I ran (which works) is something like:

mysqldump  ...
Score: 1
freezed avatar
Booting a Debian Live ISO on QEMU
ca flag

Situation:

A server:

  • access only via SSH (no physical access, no KVM)
  • a netboot OS (Debian/Jessie)
  • 3 x 2T HDD
  • 16G RAM

Final goal:

Building a ZFS pool with the local HDD and install Debian on a ZFS root, the netboot OS is missing packages to install ZFS via apt, that's why I want to boot a Live Debian.

Issue:

  1. I wget the debian-live-11.0.0-amd64-standard.iso on /tmp
  2. I installed QEMU (via apt) and  ...
Score: 1
Zareh Kasparian avatar
Nginx stream block with wildcard filtering of subdomains
us flag

I have set up an Nginx server as L4 Proxy(Forward Proxy With Stream Module), with the following configuration in the nginx.conf file;

stream {
resolver 8.8.8.8;
server {
    listen 443;
    ssl_preread on;
    proxy_connect_timeout 5s;
    proxy_pass $ssl_preread_server_name:$server_port;
  } 
}

everything works fine, with the configuration above. but let's say I want to limit the access of the URLs p ...

Score: 6
CrazyTux avatar
How to find out what service is listening on a specific port of a Ubuntu server without proccess id?
in flag

I have decided to post this question even though there are a lot of similar questions, but none of them answered mine.

  1. I periodically check the ports my server listens to.
  2. My ubuntu OS by the output of lsb_relase -a:
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:    20.04
Codename:   focal
  1. I run the command netstat -tulpn4 and the output shows an unknown port:
tcp        0       ...
Score: 0
Ghadeer R. Majeed avatar
Migrate CentOS 8 to AlmaLinux (cannot install both )
gb flag

Due to Centos is about EOL. I decided to migrate to AlmaLinux. I started the migration process but I got some errors.

[root@19827364 ~]# dnf distro-sync -y
Last metadata expiration check: 4:35:36 ago on Thu 23 Sep 2021 06:29:49 PM +03.
Error:
 Problem 1: package libdb-devel-5.3.28-42.el8_4.x86_64 requires libdb(x86-64) = 5.3.28-42.el8_4, but none of the providers can be installed
  - cannot install ...
Score: 0
Number of tasks listed by systemctl much greater than the total number of system processes
cn flag

When running the command systemctl status on a given service, we are seeing output like the following:

Active: active (running) since Thu 2021-09-23 12:45:41 EDT; 2h 30min ago
Main PID: 9143 (bash)
Tasks: 1369 (limit: 8192)
.
.
.
.

As I understand it, the tasks number listed here should correspond to the number of processes spawned by the service. At the same time, running top, top -b, ps aux, ps -A,  ...

Score: 0
What is best practice for managing login / sudo accounts on multiple systems, with multiple users, on a ship?
am flag

I want to preface this by saying I'm not a sysadmin by trade, I've fallen into the jack-of-all-IT-trades in a team of instrumentation engineers.

My organisation has traditionally used the same password on all systems (one for root, one for user) and it's worked fine for them because we're small, and disconnected from the internet most of the time. We've just got ourselves a new facility, they've  ...

Score: 0
How to force a specific routing based on SNI in HAProxy?
in flag

I have the following HAProxy configuration:

listen sni-443
    bind *:443
    mode tcp

    timeout connect  4s
    timeout client   3m
    timeout server   3m
    tcp-request inspect-delay 5s
    tcp-request content accept if { req.ssl_hello_type 1 }
    acl no-ssl req.ssl_hello_type 0

    use-server backend1.default.svc.cluster.local if !no-ssl { req_ssl_sni -i www.example.com }
    server  back ...
Score: 1
Is it possible to have both static and a dynamic A record created for the same host on an internal DNS server?
ru flag

I am working on a case study related to risks from insecure dynamic DNS updates. Suppose there is an internal DNS configured that has a mix of static and dynamically created addresses. Consider a Windows AD integrated DNS environment.

I need some help on few of the queries below

  1. Can there coexist a static and a dynamically created A record for the same host - referring to different IP addresses on the  ...
Score: 0
How to prevent multiple users from simultaneously accessing an Azure VM?
cn flag

We created a VM as a replacement for physical machine with rarely used software on it.

When I tested it I noticed when a second user accesses the VM, the first user is kicked out and sees the message "You have been disconnected because another connection was made to the remote computer". However, on another VM that wasn't set up by me, I'm getting the warning "Another user is signed in. If you continu ...

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.