Latest Server related questions

Score: 0
kess avatar
Run a 32-bit binary on Google Cloud Run
ro flag

The title say it all. I need a way to run a 32-bit binary on Cloud Run, which seems to only support 64-bit

What I'm looking for is some sort of emulator or compatibility layer that I could install.

I cannot compile the program to 64-bits.

Score: 0
AhmFM avatar
Better way at scale to pull image uris from all pod specs on k8s cluster
gr flag

Team, I see this [list-all-running-container-image]https://kubernetes.io/docs/tasks/access-application-cluster/list-all-running-container-images/. however, I cannot bank operations on this because it is very heavy operation as I have 25K pods on cluster.

so what is the better performance approach to get all the image uri's from all specs of a pod? or from pod logs when container is pulled.

Goal is  ...

Score: 0
Rodrigo avatar
Create a proxy server
jp flag

I want to create a HTTP and HTTPS proxy server, to use with cURL

curl -vvv "ifconfig.me" -x user:password@myproxy:8000

I am trying Nginx, but I can not get to work with user and password, my requirement is protecting with user and password

What software do I need?

Score: 2
NFS mount a user cannot write gets permission denied. Gid, UID match and am not using all_squash
in flag

Both server and client are cent os 7.0

My data VM has a exports file:

/data   10.75.0.0/24(rw,sync,no_subtree_check) 10.50.1.0/24(rw,sync,no_subtree_check,no_root_squash) 

My client has a fstab:

10.50.1.248:/data/archive/images /export/images nfs rsize=32768,wsize=32768,actimeo=0,bg,intr

Sure enough that client whose user is arc can ls /export/images but if I try to cd into there and touch a file:

 ...
Score: 0
NFS4 late mounts on server are not visible to clients
cn flag

I have fairly simple working NFS version 4 setup on Ubuntu 20.04LTS with one server and few clients (all same OS). I export /mountpoint. My /etc/exports on server looks like this:

/export            *(rw,sync,no_subtree_check,fsid=0,crossmnt)
/export/mountpoint *(rw,sync,no_subtree_check,fsid=100)

I'd like to mount (either directly or via bind-mount) another filesystem into this directory when s ...

Score: 1
x43 avatar
Apache2 websocket proxy fails
us flag
x43

I'm trying to proxy websockets through Apache 2.4. I found an online demo, and this is my config based off of it. I'm running an app that uses websockets on port 8089 and am using apache to proxy the site and the app.

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerAlias mysitehere

        RewriteEngine on
        RewriteCond %{HTTP:Upgrade} websocket [NC]
        Re ...
Score: 0
James Connigan avatar
How to create a GP object
lr flag

I may not be asking the question correctly, I am looking for how I can create a GP object

Running some scans I can see:

FAILED 19.7.7.3 Ensure 'Do not use diagnostic data for tailored experiences' is set to 'Enabled'

'Do not use diagnostic data for tailored experiences' setting does not exist

How can I am it?

Server 2016 Domain Controller Default Domain Policy

enter image description here

Score: 1
Can't install rgdal R package on computing cluster - Linux
in flag

I am trying to install the R rgdal package on the HPC at my university. I input the usual command used for any other packages, which were correctly installed, but not for "rgdal".

install.packages("rgdal")

The output error message is the following:

configure: error: gdal-config not found or not executable

I suspect this happens because R looks for gdal-config in the shared R directory of the cluster ...

Score: 1
Marco Venuti avatar
Apache mod_userdir and php permissions
je flag

I have a setup with many users, who can host their personal webpage (served by apache via mod_userdir), located under public_html in their homes. php support is also enabled in apache.

At the moment I have the following configuration in /etc/apache2/mods-enabled/userdir.conf

<IfModule mod_userdir.c>
        UserDir <home basedir>/*/public_html
        UserDir disabled root

        <Dire ...
Score: 1
Rodrigo avatar
ngx_http_proxy_connect_module with user and password
jp flag

I am using Nginx with ngx_http_proxy_connect_module, and I want to know if it possible to use with user and password, something like this

curl -vvv "ifconfig.me" -x user:password@localhost:8000

Here my nginx.conf

worker_processes auto;

daemon off;

events { }

http {
    server_names_hash_bucket_size 128;

    server {
        listen 8000;

        resolver 1.1.1.1;

        proxy_connect;
        p ...
Score: 1
Lawrence Cooke avatar
Permanently add to $PATH on MacOS
kr flag

I am trying to add to my $PATH on MacOS (Monterey)

When I use

export PATH=$PATH:~/.composer/vendor/bin

It will add it to $PATH and I can see it when I use

echo $PATH

However when I reboot the computer, that item is removed from $PATH and needs to be added again.

Is there a way to permanently add it to the $PATH?

One thing I have noticed is that there is no ~/.profile file.

Do I need to make one and ad ...

Score: 0
IP Tables forwarding issue
in flag

Thank you in advance for the assistance.

I have tried reading on here and searching but I can't seem to get it to work.

Computer A: 192.168.1.2 Computer B: 192.168.1.3

I am trying to send a UDP message from .2 to .3 and changing the port. .2 will send a message on 1003 and i want .3 to accept it on 1004.

The code below is placed on the .3 computer

iptables -t nat -A PREROUTING -p udp -i eth0 -d 192.1 ...
Score: 0
Hacked file regenerates whenever it is deleted - ubuntu/apache2
ph flag

Have just had a hacked website flagged by Sucuri

There were a number of backdoor PHP files flagged, which I HAVE been able to delete

However, the index.php file has a spam link injected in to the bottom of it.

I've tried deleting it - which DOES work, but file instantly regenerates.

I've tried changing permissions (it is set to -rw-r--r-- www-data:www-data) to root and editing the file - it instantly cha ...

Score: 0
How to create a default Autopilot Enrollment Profile and Intune configuration?
tr flag

We have too many PCs being deployed without a valid Group Tag or before its Autopilot Enrollment Profile has been assigned. To catch these situations, and make them VERY obvious, I would like to create a default Enrollment Profile and Intune configuration. How does one create a default Intune Autopilot Enrollment Profile and assign an intentionally "broken" configuration to it?

My present attempt ...

Score: 0
Best way to redirect root domain ("apex domain") to another location
cn flag

This question is a continuation of Using Route53 to point apex/root domain to Heroku application

Right now I have my domain abc.com registered with Route53. I am using a ddns service to point it to a home server setup. Because of CNAME limitations I can only do this on sub-domains which is usually all I use it for (while hosting the root domain on the cloud). Right now I want to redirect abc.com to

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.