Latest Server related questions

Score: -1
Vikas Singhal avatar
Nginx + Apache Max web apps possible
ma flag

I am going to provide hosting to a lot of companies, but these sites will be short lived, mostly used for temporary site creation purposes.

So I will be hosting almost 200 websites on a single 2 vCPU + 4 GB RAM type of server.

The stack is nginx + apache with PHP + MySQL based web apps.

My question is : how many websites such setup can handle theoretically and does it depend on the size of the server,  ...

Score: 0
Chrissl avatar
Getting could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432
us flag

I have Postgres 13 and pgAdmin installed on my Windows machine. It worked for like ~six month, until I hat do restart my machine. After restarting the computer (which I had not done because there was an update), I am trying to connect to Postgres via pgAdmin as always and I get this

could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and acce ...

Score: 0
midnight commanger hide dir changes from internal history
us flag

I have a small gripe with mc lately. Don't remember seeing this before and it is quite annoying. I usually open mc and then Ctrl+o to go to the shell. Do some stuff, Ctrl+o back, change to another dir and then when I go back to the shell and press the Up arrow to get to a previous command, I have to get past the dir changes commands that mc has run in the backgroud.

So the question is: can I hide t ...

Score: 0
Can I add "firewall rules" to an AWS VPN connection?
cn flag

i need to connect a couple of customers to an AWS VPC via VPN. requirements:

  • no customer may send data (or best: even "see") another customer
  • they should only be able to "see" exactly one internal host, preferably only a certain port range.

my question is - is this possible with an AWS VPN gateway & VPN connection? and if yes, how?

cause i read a ton of stuff now and google quite a lot, and i did ...

Score: 0
showkey avatar
Why can push mp4 into a rtmp stream instead of rtsp stream?
in flag

I build stream server with nginx, and can push the MP4 into a rtmp stream with :

ffmpeg -re -i /mnt/hls/m7.mp4  -vcodec libx264 -vprofile baseline -g 30 -acodec aac -strict -2 -f flv rtmp://127.0.0.1/live

Now I want to push it with rtsp format:

ffmpeg -re  -i /mnt/hls/m7.mp4  -f rtsp -rtsp_transport tcp rtsp://127.0.0.1/live

Error info encountered:

[tcp @ 0x55c7d6a157c0] Connection to tcp://127 ...
Score: 0
mefisto74 avatar
Bash cripts in samba domain during login
ru flag

I have a samba as PDC with Linux machines clients. I created logond script and modified samba config but when logging on nothing happens, please assist me, on google, there are only examples of logon scripts with .cmd and .bat ... smb.conf modifications

[general]
logon script = script.sh
and in /va/samba i created script.sh

[netlogon]
path = /var/calculate/server-data/samba/netlogon
browseable = n ...
Score: -2
what the meaning of #!/usr/bin/php -q
hu flag

I look at some php script in centos,I notice there is #!/usr/bin/php -q

What is the meaning of this option? because I cannot see it in php --help

Score: 0
Bhalu avatar
Ideas: How to continuously monitor and kill the restricted process in Ubuntu20
jp flag

I have a bastion host where users run specific software like (nodejs) instead of using the bastion as a jump host. I cannot restrict internet access, and this software's installed in users' home directories. What is the easiest and best way to restrict users from running these processes or terminate them?

Thank you.

Score: 0
Marcos Alexandre avatar
How to process a request with squid externally?
sb flag

It is possible to catch a request that passes through squid proxy in order to analyze it with an external program?

I have an application that is used in about 400 workstations. I don't have access to any config or source code of this application, but I have access to squid that proxies the requests to it.

Business rules demand that users only can open a single session at any time, but I'he noticed t ...

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.