Latest Server related questions

Score: 1
blond_viper avatar
Can I install php8.0 on Ubutnu 16.04
cn flag

I'm trying to install php8 on Ubuntu 16.04.5 LTS. Here is the list of commands and output that I ran:

apt-get update
apt install software-properties-common

--- these commands went fine when ran

add-apt-repository ppa:ondrej/php

output:

 Co-installable PHP versions: PHP 5.6, PHP 7.x and most requested extensions are included. Only Supported Versions of PHP (http://php.net/supported-versions.php) for  ...
Score: 0
Chandan Singh avatar
Fail2ban regex for multiple IPs which includes LB IPs into it
tr flag

Struggling with the correct regex for the below log which I am not able to parse to get it working with fail to ban. I need XX.XXX.XX.XX to be checked via fail2ban. Please assist which me the correct regex.

XX.XXX.XX.XX, yy.yyy.yy.y, zzz.zz.z.zz - - [29/Jun/2020:11:12:14 +0000] "GET

Score: 1
Elias Arellano avatar
When remediation for policy is activated in Azure?
cn flag

We create a virtual machine that needs 2 extensions, for that we define and assign 2 customs policies, also we create and activate remediation task to make sure that all virtual machines (new ad old vms) have these 2 extensions. Everything is done with Azure CLI.

The problem is that some times, remediation is activated immediately, or not at all even after 2 hours, and sometimes compliance doesn' ...

Score: 0
user4540741 avatar
Changing or updating the passphrase in gcp lamp vm
kp flag

I am trying to download files from a particular folder from one of my vm's on gcp using the following command

gcloud compute scp --recurse VM_NAME:REMOTE_DIR LOCAL_DIR

After running the command the gcp terminal asks me for a passphrase.

I enter the passphrase and get a message saying

ERROR: (gcloud.compute.scp) [/usr/bin/scp] exited with return code [1].

My qs: How do I change or update the passphr ...

Score: 0
Westwood Road avatar
Router configuration for VPN connection
fk flag

I followed this tutorial to create a VPN remote access from Client to server, I configured the router as shown here but I still have the same problem. Impossible to connect to VPN in LAN or in WAN.

Error 807: The network connection between your computer and the VPN server has been interrupted. This problem can be caused by a problem in the VPN transmission and is usually caused by internet laten ...

Score: 0
Deepali Mittal avatar
How do we add Custom DHCP Server in IBM in a VPC Network which is connected to VPN
pl flag

We have a VPC Network which is connected to our classic Infrastructure using VPN. When we create a VM it uses the Cloud DNS Servers to resolve the request. It works for any other public resources like artifactory.com but fails for our internal resources like artifactory.abc.com.

So we need to use our DNS Servers.

Different Solutions could be :

  1. Update the netplan config using userdata
  2. Configure the ...
Score: 1
ycwong avatar
Docker compose simple routing for Mysql router
ng flag
    version: '3.1'
services:
  Mysql:
    image:
      mysql-router:latest
    hostname: mysql-router
    environment:
      MYSQL_PASSWORD: 123456
      MYSQL_HOST: 192.168.1.1
      MYSQL_PORT: xx
      MYSQL_USER: xxx

I would like to deploy a Mysql router with a docker-compose file on 192.168.1.2 and I will like to make it route to another MySQL router, the MYSQL_HOST is the destination (192.168 ...

Score: 0
Mhalapenio avatar
Assigning public IP address to a VM hosted on a server behind NAT
np flag

I have a pool of public IP addresses (95.xxx.xxx.196 - 254). I also have a server hosting KVM machines. It has a private IP address 10.0.0.1 which is NATed by the router to the 95.xxx.xxx.200 address so that it's available to the Internet using this public IP.

VMs hosted on it are routed the same way - my MikroTik router binds 10.0.0.xxx addresses to 95.xxx.xxx.xxx and it works (meaning I can acc ...

Score: 1
Redis Sentinel cannot connect to Master that is using password - Redis 6.2 (dockerized)
ru flag

I have dockerized images of redis (as official dockerhub guides when using custom redis.conf) and custom image (based on alpine image see here: https://pastebin.com/9WsMk1JC ) of sentinel (also with custom sentinel.conf).

In redis.conf, those three parameters was added (rest stays as default conf file):

masterauth password
masteruser default
requirepass password

In sentinel.conf, because of separ ...

Score: -1
uday avatar
How to expand partition with block in the middle on windows?
ke flag

I have a server with partition as below. I have added free space to it but not able to extend the C: drive as expand option is greyed out.

partition

When I get that in personal laptop, I used to do with acronis disk diretory suite(cracked version), but this machine is now office server and can't ask them to buy the license for just this server.

Any window commands to achieve this?

Score: 1
GCP load balancer with existing VMs
cn flag

I'm in the process of setting up a HTTPS load balancer in GCP but have faced some challenges.

I have two existing VMs I want to load balance traffic to, these are in two different GCP VCP networks.

When creating a load balancer through the GCP Console I'm asked to chose or create an instance group but when creating one I find no option in adding existing VMs.

What I want to accomplish is to create a lo ...

Score: 0
user766296 avatar
Openldap / Filter & dn.regex
br flag

I would like to know if it is possible to configure openldap to use both filters and regex on the DN.

{1}to dn.regex="ou=gBook,ou=(c[0-9]+),dc=test,dc=net$" by dn.regex="uid=([^,]+),ou=users,ou=$1,dc=test,dc=net$" read

Work, but, I would like add a filter ex: (street=road_uter)

But the following solution does not work

{1}to dn.regex="ou=gBook,ou=(c[0-9]+),dc=test,dc=net$" filter=(street=road_lut ...
Score: -1
Jatinder Singh avatar
Information required related to service kubernetes
sd flag

My question is that if a client let's say kubectl has to access a cluster for various get/delete/edit operations, it uses .kube/config file and there we specify API endpoint as DNS entry. Shown below is our DNS Entry for NLB.

$ cat config |grep 6443
server: https://ac1poc-20210407164708-kube-api-f5082ea18c7584ad.elb.us-east-1.amazonaws.com:6443
  1. And if kubelet needs to talk to API endpoint, it has simila ...
Score: 0
Hisham Yacob avatar
Virtual Host With Proxypass
cn flag

When I try to open URL tissue.example.com, it will show tissue.example.com/tissue/index.php (the requested URL was not found)

When I type tissue.example.com/index.php it will show the page but almost CSS file and image not showing. The image load with tissue.example.com/tissue/image.jpg

hopefully someone can help me

My virtual host config

<VirtualHost  *:80>

ProxyPreserveHost On
ProxyPass / ...
Score: 0
rzv.th avatar
Configuring Reverse DNS for an emulated DNS server hierarchy using BIND
cn flag

I'm emulating a network using Kathara (similar to Netkit) and I'm having trouble figuring out how to get reverse DNS to work across all three networks.

This is the topology

And this is the DNS hierarchy

I did manage to get recursive lookup to work. When queried for a name not in its database, ns.as1.net would query nsroot, then go down the hierarchy, finally getting a response from the authoritativ ...

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.