Latest Server related questions

Score: 0
Aditya K avatar
Fedora 34: How do I stop the console going blank and reduce the screen resolution on a text only console?
cn flag

I have a Fedora 34 server edition connected to a TV. There is no GUI installed and I only have a text based console.

My problem is that the console will blank after some time (I think a screen saver is kicking in) and also the font size is too small to read.

I would like to disable the screensaver and reduce the screen resolution because the text is too small to read. Any help would be appreciated.

Score: 0
ServerMonkey avatar
GCS - Internet Egress Costs
ng flag

Does anyone know where can I find the pricing for Google Cloud Storage pricing for Internet Traffic?

Doing some design work and I need to work out what the cost of multiple GCS Buckets serving content to the Internet may cost and having trouble finding it a definitive resource on the cost Per GB of egress traffic.

This page has a lot of information but for some reason Internet isn't mentioned: https: ...

Score: 0
Markus avatar
NTP Debian: how do I know, if the last poll was successfull
cn flag

I've got the task to write an application, that supports NTP communication. Everything works fine so far, but I need to know, if the last ntp poll was successful or not.

When I pull out the network cable, ntpstat even tells me even in the next morning, that everything was fine. But there was no NTP communication the whole night...

Have you got any ideas?

Thank you!

Pinging is not a good solution, bc resp ...

Score: 0
Benyamin Limanto avatar
How to set SELINUX HTTPD User Content RW?
th flag

I'm quite new to SELINUX, I've simple question, I know there are httpd_sys_rw_content_t for /var/www/html, and read only httpd_user_content_t, but if I want to allow some folder to be RW for that user only, is there any httpd_user_rw_content_t ? Or I should use httpd_sys_rw_content_t context for that particular user? Thanks.

Score: 0
Dels avatar
Alert when Admin logs into Azure
us flag

I setup an Office365/Azure tenancy for a small charity I help. I am keen to setup automated reporting that sends an email when someone logs in as an admin account (i.e with a particular role or group).

The main things I am trying to achieve are

  1. Visibility of when a 3rd party support organisation logging in to change the tenancy
  2. Visibility of when an internal staff member logs in, including staff who have ...
Score: 1
Rino Bino avatar
Using a compressed initrd when pxe booting
us flag

I'm using netboot/pxeboot with grub.

menuentry "Install Ubuntu 20.04" {
  set gfxpayload=keep
  echo 'Loading vmlinuz ...'
  linux  /tftp/vmlinuz ip=dhcp netboot=nfs nfsroot=10.0.0.20:/data/netboot/nfs/ubuntu2004/ boot=casper toram noquiet splash=off console=tty0 console=ttyS1,57600n8 ---
  echo 'Loading initrd, this takes a long time ...'
  initrd /tftp/initrd
}

It works fine, however, the loading of ...

Score: 0
Ryan Lyu avatar
Is the network interface card(NIC) prerequisite of IP addresses?
ph flag

Here is the command to assign IP address to an interface for Linux server.

ip addr add ADDRESS dev IFNAME

Where IFNAME is the interface name and ADDRESS is the IP address you want to assign to the interface.

To add address 192.168.121.45 with netmask 24 to device eth0, you would type:

sudo ip address add 192.168.121.45/24 dev eth0

NIC belongs to the physical layer, IP belongs to the IP layer, they are  ...

Score: 0
Google Cloud Platform instance creation failure (Invalid value for field 'resource.disks[1].initializeParams.diskSizeGb')
in flag
SHM

I'm trying to create an instance using GCP. The followings are the specifications (the rest of the settings are set as default):

Region: us-west1-b
GPU type: NVIDIA Tesla V100
Number of GPUs: 1
Series: N1
Machine type: Custom (12 vCPUs, 64GB memory)
Booting disk: Ubuntu 18.04 LTS balanced persistent disk 50GB
Add local SSD: 16 NVMes (Each SSD is 375GB, so total of 375GB * 16 = 6000GB)

It seems that ad ...

Score: 0
lbj-ub avatar
Limiting upload bandwidth in Nginx
us flag

I'm trying to limit the upload rate (bytes/second) for a downstream client connected to an Nginx proxy.

I'm managed to do this through the configuration below, but I'm not sure if this is the best solution.

http {
  server {
    listen 8086;
    proxy_http_version 1.1;
    location = / {
      proxy_pass http://some-mock-upstream:8086/;
    }
  }
}

stream {
   server {
     listen 8085;
     proxy_up ...
Score: 0
Error:- GaxiosError: Not Authorized to access this resource/api
it flag
hhk

I recently deployed my node.js application on app engine and I am getting this error when I try to make calls to the following three Google API's(scopes): 'https://www.googleapis.com/auth/admin.directory.user',
'https://www.googleapis.com/auth/admin.directory.group', 'https://www.googleapis.com/auth/apps.groups.settings'

I am using the googleapis node.js library to do that, like so.

const auth = new googl ...

Score: 1
Khaled avatar
create a service for running a executable jar with out any 3rd party
de flag

I have spring boot executable jar file which can run into any command prompt by calling java -jar filename.jar.

I want to create a service with out downloading any external libraries for the above code snippet.

Help me if there is a strait forward way.

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.