Latest Server related questions

Score: 0
user14850280 avatar
How do I run Laravel App with mysql using only Dockerfile?
us flag

I want to be able to enable my visitors to upload their laravel app to my server, and I want to run each app in a docker container. And I also want them to be able to have database access. My current Dockerfile is as such, but when I run docker exec -i myContainer echo "create database laravel3" | mysql, and then docker exec -i test30f php artisan migrate, I get an error Connection refused.

My Do ...

Score: 0
user3723206 avatar
Possible to create policy limiting firewall rules in GCP?
za flag

Does anyone know if it's possible to create an organizational policy that would prevent the use of having a source set to 'any' for specific ports on firewall rules in GCP?

For example, I want to prevent users from creating firewall rules that use 'any' as a source for ports such as SSH, RDP, SQL, and so on.

Score: 1
Fran avatar
Polycom VVX500 not picking up provisioning server
us flag

The company called us regarding needing assistance with setting up a phone line they haven't used in a while Polycom line was initially using a USB wifi dongle so we requested to connect it directly to ethernet LAN line. Issue persists. Tried different Wall Jack. Issue persists

The customer states initially that a warning sign appears on the phone, therefore we proceeded with setting up the provi ...

Score: 0
Aman Juman avatar
WireGuard Chain Tunnel
ng flag

I'm trying to build a chain WireGuard Tunnel. Right now testing, but I'm stuck.

I have two WireGuard servers, 1st one is in India 2nd one is in Singapore. Here is what I'm trying.

Client < 10.26.26.0/24 > India < 10.26.27.0/24 > Singapore

IN Tunnel Peer: 10.26.26.20/32 SG Tunnel Peer: 10.26.27.20/32

I was able to deploy the WireGuard on both servers. And now I'm trying to establish a c ...

Score: 0
Trying to forward SMTP port on strongswan IPsec tunneled docker container?
za flag

I have successfully setup a vpn tunnel with strongswan within a docker container and want to use that tunneled connection to forward specific ports like SMTP to a host on the other side of the tunnel, in my case host 10.0.0.10.

The goal would be to be able to use SMTP in my app directly by connecting to strongswan-container service in the middle like this

(smtp-host)-[IPSec-tunnel]-(strongswan-containe ...
Score: 0
Allow Wordpress upgrades with SELinux in EL8 with nginx/php-fpm
vn flag

I'm trying to allow the use of Wordpress upgrades (not plugin updates) directly on the web interface.

I already have SELinux working for everything except this feature. When trying to nail down what should be allowed I'm unable to exactly find what need to be changed instead of relabeling the entire /path/to/wordpress/directory to unconfined_u:object_r:httpd_sys_rw_content_t:s0

Here's whats happening wh ...

Score: 0
Maroon avatar
P420i controller / 2 disks failed in RAID5 / RAW FS after parity initilization
fr flag

We woke up this morning with 2 failed disks on RAID5 with a single hot-spare configuration.

Hot-spare disk didn't replace any damaged disk maybe because there are 2 disks failed at the same time.

However, I added two new disks and the parity is initializing now but the partition filesystem changed to RAW. shall I wait to finish the initialization? or I lost all data on the logical volume... Do you r ...

Score: 0
synth45 avatar
Jenkins: Difference between job and workspace/job?
cn flag

In most recent version of Jenkins on centos 7.9, what is the difference between /var/lib/jenkins/jobs/ and /var/lib/jenkins/workspace/?

They both look like they house the same thing (artifact of a build), but is the former more for archival, while the latter is the workspace that's currently being worked on? I appreciate any help to understand this.

Score: 0
How to differentiate docker containers in stackdriver logging?
us flag

I have a VM in GCE with docker installed. There I run containers using the Google Cloud Logging driver. I can see the logs in stackdrive logging. However, i can't easily browse between logs of different containers. All the containers' logs get indexed under the logName projects/my-project/logs/gcplogs-docker-driver

Is there any way to have fields on the "Log Fields" pane on the left that would allow me to ...

Score: 1
uday avatar
kind cluster is not deleting, how to fix that?
ke flag

I am trying to delete kind cluster using.

kind delete cluster --name samples

And I got error after waiting for 15 min.

Deleting cluster "samples" ...
ERROR: failed to delete cluster "samples": failed to delete nodes: command "docker rm -f -v samples-control-plane" failed with error: exit status 1
Command Output: Error response from daemon: removal of container samples-control-plane is already in  ...
Score: 0
Using Docker to run a laravel app, I am getting content load from http, and not https
cn flag

I am dockerizing my laravel app, and when it loads, I get an error saying that mixed content cant be served. I look at source code of html page, and it does load the app.js file from http scheme, despite me being on https. When I install the same laravel app on my own nginx server with redirection to https, the app.js is rendered with https. So its not a thing with laravel. How do I make nginx conf insi ...

Score: 0
Dell 703xd iDrac 8 express on the same network port; unable to contact static ip address or see from arp
bf flag

I've a Dell 730xd with iDrac8 express running esxi6. I logged into the server through OSMA after installing the vib and rebooting. I've set iDrac up with a static ip on the same subnet, but can't see it or connect with any of my tools. I've enabled the NIC to LOM1 and enabled IPMI and disabled the VLAN. I've logged into the hypervisor and several hosts. They can see each other, but not the iDrac. I'm co ...

Score: 0
Thomas Bailey avatar
Tag External Emails from NEW external addresses
es flag

We work with a giant company that prepends an email tag to every externally originating (to them) email that goes something like:

"Warning, this email originated outside your organization - don't click any links unless you recognize the sender"

I don't want to implement tagging exactly like this because 90% of all our mail flow is between us and this company. I'm worried the tagging would just become n ...

Score: 0
domsson avatar
lsblk shows LVM volume as subcomponent of a partition
tr flag

Given two physical drives, sda and sdb, I have:

  • Used fdisk to make sda1, sda2, sdb1 and sdb2
  • Created four physical volumes accordingly: pvcreate /dev/sda1 etc
  • Created a volume group: vgcreate datavg /dev/sda1 /dev/sda2 /dev/sdb1 /dev/sdb2
  • Created a logical volume: lvcreate -L 4096 -n datalv datavg
  • Made a filesystem: mkfs -t ext4 /dev/datavg/datalv

This seems to have worked fine as far as I can tel ...

Score: 0
Will 'Desktop' RAM work in a Rack Server?
co flag

I am very new to Rack servers and am exploring options for RAM.

I am looking at the Dell PowerEdge R710 I have found this PDF which explains memory requirements. It however does not mention ECC, NonECC etc.

This page on the official Dell site does not explain what type of DDR3 ram is compatible with this system.

Therefore my question is - will any DDR3 ram work here? Desktop? ECC? Is desktop ram an ...

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.