Latest Server related questions

Score: 0
jldiets avatar
allowing user to run playbook without giving them password
ma flag

I have an ansible playbook that I would like to allow a regular user to run to install an application on a centos server, but I don't necessarily want to give them the login credentials. I know you can use ansible vault to store encrypted data, but from what I can tell, you can also decrypt this data pretty easily. Any ideas on if this is possible and how to achieve it?

Score: 1
lampstackxyz avatar
Disable default virtual host in apache
pk flag

I've configured my name-based virtual hosts for Apache2 as follows:

  1. copied /etc/var/apache2/sites-available/000-default.conf to /etc/var/apache2/sites-available/mysite.com.conf

  2. edited ServerName, ServerAlias and DocumentRoot in mysite.com.conf

  3. a2ensite mysite.com

Repeat step 1-3 for my nth site.

That works. But if I browse to the server's ip-address directly I get directed to 000-default. If I a2d ...

Score: 0
user3595231 avatar
How to create a compatible cisco router in EC2 case?
in flag

This is the picture of my GNS3 project, which includes Cisco Router, Ethernet Switch, and a list of my client VMs. enter image description here

If this project was created on my physical server, these are the settings I will add on Cisco Router level so that it could handle the upstream and downstream traffic.

conf ter
ip dhcp pool LANPOOL
...
exit

interface fastEthernet 0/0
ip address <OUTER IP ADDRESS> 255.255.255. ...
Score: 0
John Christopher Asajar avatar
How to select using script on Task Scheduler the "run with highest privileges"
ua flag

Hi I'm doing some scripting to add a task on a Task Scheduler. However I need to have a script to select the "run with highest privileges".

Sample code:

Dim settings
Set settings = taskDefinition.Settings
settings.Enabled = True
settings.StartWhenAvailable = True
settings.Hidden = False
Score: 2
Jim D avatar
SBS 2011 DNS server doesn't resolve forward lookup zones
vn flag

I recently started a new job and inherited an antique in an SBS2011 server (yes, I know all the security risks and have raised this at EVERY management meeting). I have an issue with the DNS not resolving forward lookup zones.

The domain hosting emails use split DNS; the SBS should resolve this to the internal IP address, but not from any clients. The strange part is that from the SBS itself, the ...

Score: 1
DarkMoon avatar
Remote Desktop connection to Azure AD Joined computer
in flag

I'm doing some testing on a standalone (no on-prem AD sync) Azure AD test tenancy, and have set up a user (non-admin) account, installed a base Windows 10 system, and joined it to Azure AD (shows Azure AD Joined) using the user account. It appears to have created that account as a local admin, so I've enabled Remote Desktop and am attempting to log into it using the test user from my normal work compute ...

Score: 0
Two Data Entries After Converting BTRFS Profile
eg flag

I ran the following command on a BTRFS volume in order to convert the data profile from single to DUP (I'm looking to provide duplicate data on this volume to be able to repair possible bit rot corruption):

sudo btrfs balance start -dconvert=dup Volume

However, now when I run btrfs filesystem df Volume I get two Data entries, one with the original single profile and one with the new DUP profile:

Score: 0
Sam avatar
Windows 365 Enterprise Setup
pl flag
Sam

I'm going to sign up for Windows 365 and have a few questions that will help me with my decisions.

Currently, we do have an Azure Subscription but do not have a VNET. We also use Azure Active Directory and do NOT have any on-prem network or domain controllers. So, we're 100% cloud based.

With that said, do I need Windows AD to use Windows 365? I'm just watching some of the videos and they kind of go ...

Score: 0
Support with configuring bind9 DNS server for a private network
co flag

I have a number of servers on my home network (192.168.0.0/24) and would like to setup bind9 as a DNS server, so I can more easily resolve IP addresses of these machines by name.

I installed and configured bind9 on ubuntu 20.04 in the following way -- following this tutorial pretty closely.

2 zones: epicsystems.local.com - /etc/bind/zones/db.epicsystems.local.com

    $TTL    604800
@   IN  SOA ns1.epic ...
Score: 0
Python Import Error - No module
cn flag

I'm sorry this is basic. I've followed a fairly simple tutorial and get this error when trying to run flask locally:

Traceback (most recent call last):
  File "/Users/james/opt/anaconda3/lib/python3.8/site-packages/flask/cli.py", line 240, in locate_app
    __import__(module_name)
  File "/Users/james/Documents/GitHub/flask-app-blueprint/project/__init__.py", line 3, in <module>
    from flas ...
Score: 0
Raviteja Sutrave avatar
Ngnix + django +nodejs : Uncaught SyntaxError: Unexpected token '<'
in flag

This is first time using nginx and nodejs. I have two apps one is built using django and other is built using nodejs (expressjs +openvidu). I am trying to configure nginx, django app works fine, I am having trouble with nodejs. nginx is not serving js files. I am getting the below error in console,(I suspect it is because browser is not able to find JavaScript file) both of my js files present under pub ...

Score: 3
sfgroups avatar
containerd 1.4.9 Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
cn flag

I have installed containerd 1.4.9 on CentOS steam 8 server.

based on this document https://containerd.io/docs/getting-started/. I have created default config file containerd config default > /etc/containerd/config.toml like this.

after restarting containerd, when I run crictl ps Its throwing below error

FATA[0000] listing containers failed: rpc error: code = Unimplemented desc = unknown service runtime ...
Score: 2
sfgroups avatar
Kubernets 1.21.3 The recommended value for "clusterCIDR" in "KubeProxyConfiguration"
cn flag

I am trying to join new node to existing v1.21.3 cluster with Calico CNI. join command giving clusterCIDR warning.

How to fix this subnet warning message?

# kubeadm join master-vip:8443 --token xxx --discovery-token-ca-cert-hash sha256:xxxx
[preflight] Running pre-flight checks
[preflight] Reading configuration from the cluster...
[preflight] FYI: You can look at this config file with 'kubectl -n kube-sys ...
Score: 2
Stephane avatar
Running Debian from SD card slot in dl380 G6. Yes or no?
bj flag

I would like to run Debian 10 OS from the SD card slot in dl380 G6. It's a minimal install.

I will run nextcloud on this server for personal use which will be ofcourse on the disks. I was wondering if this is a good idea so I don't loose my drive space.

Also if yes: install nextcloud on the drives or on the SD card. Data folder will ofcourse be on the drives.

If no: well that means that Debian would ha ...

Score: 0
blur avatar
Easiest/best way to only allow certain IP ranges for access
cn flag

I'm looking for the easiest/best way to only certain IP ranges to access my Ubuntu 20.04 installation. I would mainly like this so I can block web traffic (apache), but a full server block would be best.

I realize that a hardware option is best for this, but I can't afford that. I also realize that 'easiest' and 'best' don't always go together.

Also, does having more IP ranges slow down the server?

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.