Questions tagged [best-practices]

Questions asking for best practices in a given field. Be aware, that sometimes there might be no generally accepted best practices, in which case the question is likely to be closed for being subjective.

Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

Php and shell_exec are a good way to process many detached process on a CentOs server?

During execution of a php webservice, i need to detach a "time consuming function" to maintain a quick response to the user. That's an example of the flow : I know that php does not manage ...
user31929's user avatar
  • 101
0 votes
0 answers
27 views

Terraform advice - structure

I am starting using Terraform and imported my current infrastructure from Azure using aztfy (im starting to think that was a bad idea...) Now I have all my resources in in single main.tf file... ...
rebug's user avatar
  • 3
0 votes
2 answers
47 views

Why not nuke an machine after malware cleanup? [closed]

So this is a noob question. Why do we perform a clean up on a machine that has been infected with malware and not nuke it directly instead? I understand that in some situations this would not be ...
mcry's user avatar
  • 3
0 votes
1 answer
315 views

Best practices for PHP ini settings for large wordpress site?

I own a large wordpress site that gets 500k+ visitors 30+ plugins (some heavy) server with 128 GB RAM Wondering if there are "best practices" for php.ini settings for larger sites on Linux?...
user8749042's user avatar
0 votes
1 answer
41 views

Is Cloud Best Practice To Still Have Multiple Disks (Volumes) For a Server?

In the old days of physical servers, it was considered good practice (at least at the places I have worked at) for a server to always have at least two disks (volumes) no matter how simple an ...
P Burke's user avatar
  • 173
1 vote
1 answer
35 views

Is it bad form to create an Ansible role just for setting facts?

I've got one of those situations where I could write a three task role to lookup, sort and extract a set of values like: - name: Lookup available AMI instances amazon.aws.ec2_ami_info: filters: ....
J. Gregory Wright's user avatar
1 vote
0 answers
107 views

Add some text to curl's user agent string? (i.e. curl with a UA that includes curl's default UA & my text)

I am writing a shell script which uses curl(1) to download files. By default curl will set a HTTP User-Agent (UA) to something like curl/7.74.0. I want to be a good internet citizen and set the UA to ...
Amandasaurus's user avatar
  • 31.1k
2 votes
1 answer
1k views

IPv6 connectivity suddenly lost, IPv6 neighbour router status becomes STALE at the same time. How can I avoid it?

I have a VM on a host with bridged networking (hence, with its own MAC address). Both host and VM run CentOS. Their network is managed by simple /etc/sysconfig/network-scripts/ifcfg-enpXsY files ...
Ned64's user avatar
  • 293
1 vote
0 answers
163 views

How to limit users to their home directory SFTP on Ubuntu 20.04

Is there any way to limit users to certain home directories with sftp on Ubuntu OS 20.04 and giving them write access to their directory?' I was able to keep each user to only see their directory and ...
Jflores0515's user avatar
0 votes
2 answers
982 views

Active Directory (DNS) BPA: Interface should register its IP addresses in DNS with Server Core

How to solve the following compliance error message when using the Best Practices Analyzer with DNS running on Windows Server Core? Problem: The interface Ethernet 2 is not configured to register its ...
Vinícius Ferrão's user avatar
3 votes
0 answers
82 views

Why not shorten a single :0000: field in IPv6

rfc5952, section 4.2.2 "Handling One 16-Bit 0 Field" goes: The symbol "::" must not be used to shorten just one 16-bit 0 field. For example, the representation 2001:db8:0:1:1:1:1:...
Melissa Boiko's user avatar
1 vote
2 answers
626 views

On a single machine, re-use SSL certificate between services, or generate multiple certificates?

Assume a machine has multiple management UIs, like for example Cockpit and Monit. Both can do SSL. Do best practices dictate using distinct certificates for either service? Or is it OK to reuse a ...
wzzrd's user avatar
  • 10.4k
-1 votes
2 answers
453 views

How many subnets are best practice?

What is the general best practice for subnetting a small (abt 15 servers) network of vms and physical machines? How granular should it be? Do you want to have a logical subnet or vlan for every ...
CorinaLarksExtraMild's user avatar
0 votes
1 answer
80 views

what number of azure subscriptiions is too many?

My organisation has 50 azure subscriptions at the moment and is planning to grow to well over 500 for several reasons: each application will have its own subscription, techies have their own ...
Parsifal15's user avatar
0 votes
1 answer
73 views

What is Microsofts intention regarding centralized access control, flattening Active Directory in Azure?

SF: You should only ask practical, answerable questions based on actual problems that you face. Forwarding: This question may be debatable regarding the answerable-part. However, for me this is an ...
dfuchs's user avatar
  • 109
1 vote
1 answer
431 views

What's the proper way to initially deploy a CloudFormation stack for testing?

I'm writing my first CF stacks and I'm running into failed deploys on the first try of course because I don't know the syntax and available parameters yet fully. I am validating my json and the ...
Chris's user avatar
  • 318
0 votes
0 answers
26 views

Security best practice: revoke execution (-x) permissions for directory, or do recursively to change every contained file?

I have a question about security best practice when configuring a device to be used to users, who should be able to use a programme, but not modify the system. Let's say I have a folder /opt/myapp ...
SLhark's user avatar
  • 1
3 votes
1 answer
3k views

DMARC strict vs relaxed alignment?

I've been configuring DNS records for a mail server and got stuck when it came to DMARC's alignments. I know that both relaxed and strict are valid options, as well as relaxed being default setting. ...
user avatar
0 votes
0 answers
191 views

Best practice installation of Docker on Ubuntu

When installing Docker on an Ubuntu machine, there are several competing ways to install it, that seem to be the best practice according to someone. Specifically, you can install according to the ...
Uberhumus's user avatar
  • 203
1 vote
0 answers
103 views

Providing Support from Jumphosts using Site-to-Site VPNs

To provide support for our customers, our support staff has to establish VPN connections in order to connect to hardware devices that are located in the networks of our customers. Due to security ...
gumlozol's user avatar
3 votes
0 answers
107 views

ZFS3 Lost Resilience. Is Read-only Safer than Letting Users Carry on Writing Files?

Three lovely ST8000NM0075 Seagates drives supplied by Dell, all suddenly failed in a RaidZ3, that's now four within 3 years and 4 months. I didn't anticipate this and only have one spare to plug in. ...
Louis Waweru's user avatar
4 votes
0 answers
1k views

Docker + IPv6 - what is the best practice?

I want to build IPv6-ready services with Docker that can reach v6 hosts on the external network and can be reached from the external v6 network. I'm really confused with all that right now, so I want ...
raxp's user avatar
  • 41
2 votes
2 answers
2k views

Should I partitionning a disk LVM?

I have some few servers (Ubuntu 16) and it's a mess who LVM was configured and used by my predecesor (for me, maybe is not). I have to install new server (Ubuntu 18) but I won't do a mess like is it ...
Alexandre Serrano's user avatar
3 votes
3 answers
3k views

Server OS on an internal USB flash drive - is this standard practice today?

While chatting with a sysadmin colleague of mine about setting up a small server for me, I found out something interesting - most servers these days apparently contain an internal USB port which can ...
Vilx-'s user avatar
  • 801
0 votes
1 answer
251 views

Allow caching of share - roaming profiles - WS2016

I have a WS2016 that is running roaming profiles for users. Within the SMB file share, the option: "Allow caching of share" is enabled and was enabled by accident upon creation. There are already ...
bloonacho's user avatar
1 vote
2 answers
2k views

Migrating application servers to new domain

I work in a corporate environment which has recently been merged with another like business. There is an ongoing project to take our legacy Windows Servers and migrate them to an entirely new Windows ...
Kasey's user avatar
  • 111
0 votes
1 answer
49 views

How to react on vulnerability scanning?

We noticed that our server is being scanned for standard vulnerabilities like publically exposed myphpadmin and other common security configuration mistakes / failures. What is best locations to ...
Kote Isaev's user avatar
1 vote
0 answers
3k views

Backup best practice with lsyncd: delete or not delete

I have set up a backup of some working folders of a server (running with Centos 7) to a remote disk using lsyncd. It's great, however I'm quite undecided about what to do about file deletion: If I ...
DylanM's user avatar
  • 113
2 votes
2 answers
59 views

Advertise HTTPS support without using HSTS

I have a website which supports HTTPS: all pages of the form http://example.com/foo can be accessed as https://example.com/foo (the query will return the same content). That said, the website doesn't ...
a3nm's user avatar
  • 859
1 vote
0 answers
38 views

How to install hadoop reusable on a local network?

For a multi-node image cluster on an institute, we have sevaral laptops and machines and we want to create a hadoop cluster with hbase on the top for indexing the data/images. I have tried some VMare ...
madik_atma's user avatar
-2 votes
1 answer
1k views

Should I open Active Directory to public Internet? [closed]

I am a network administrator and my windows support partner recommended to open active directory to public internet. reason is dns is configured on active directory with same server. But I never done ...
serverAdmin123's user avatar
0 votes
1 answer
1k views

puppet best practices: share variables among profiles

I'm using the roles&profiles approach for my current puppet project. The puppet best practices tell me: Expose all necessary profile parameters in the main class parameter list. Perform hiera ...
C.Scharfenberg's user avatar
8 votes
2 answers
3k views

How to plan an Active Directory domain rename without it killing me?

It's looking more and more like I'll have to rename my Active Directory domain. There is a well-known process for making this change, including some very good answers on Server Fault already (like ...
Spencer's user avatar
  • 187
1 vote
2 answers
1k views

What is the downside of deleting an iptables rule as an attempt to check if it exists?

I want to add a rule using iptables, but only if it does not exist already. There's option -C which will allow us to check if a rule specification exists already. The option is described in this Q&...
Adelin's user avatar
  • 109
0 votes
0 answers
159 views

Use default `ubuntu` user to deploy an app or make separate users?

I have a Ruby on Rails app and use Capistrano to deploy it to the server. The deploy user and the user running the app is the same - the default ubuntu user. (this has sudo access: ubuntu ALL=(ALL) ...
Zabba's user avatar
  • 231
-3 votes
1 answer
73 views

Accepted standards for incremental or differential backups

I need to choose software for network backup (this is not a software recommendation question). I wonder if there are accepted standards for incremental or differential backups, so different software ...
hokisajam's user avatar
  • 103
-2 votes
1 answer
135 views

What is the Industry Best Practice for Updating Dell Drivers ? [closed]

Is it ok to upgrade to latest drivers whenever we provide it to end-user ? or we should keep the Drivers with OS which has been shipped by Dell along with OS Kindly suggest if there is any document ...
Pratik Bhatt's user avatar
5 votes
1 answer
143 views

What are the pros/cons of running Chef/Puppet at regular intervals?

I always worked where they used to run Puppet at regular intervals. So, distributing changes was easy and on the fly. In the new team, they frown upon running the Chef agent at regular intervals. They ...
deppfx's user avatar
  • 429
1 vote
3 answers
3k views

Best Practice: What domain admin credentials to use when adding/joining computer to network domain?

Environment: 1 Win2008R2 Network Server (also domain controller) 13 or so Workstations. Traditionally we've always used the server administrator credentials to join a workstation to a business domain ...
PeteB's user avatar
  • 11
21 votes
2 answers
2k views

Is it bad practice to declare MX from differing networks?

We're using a 3rd-party service provider to send transactional email. I recently noticed increased failure rates for a given receiving domain. The sends fail with the error "498 No MX for example.com"...
Oliver Salzburg's user avatar
3 votes
2 answers
1k views

New domain controller on a branch office: it is better to create a new AD site?

I am going to install a new DC on a recently grown branch site. I know that is a best practice to create a new site in Active Directory Site and Service, with the relative IP link cost and related ...
shodanshok's user avatar
  • 46.3k
0 votes
1 answer
254 views

Should I create a new user for each web app?

I have a VPS and I'm trying to gather the best practices in terms of user setup for web services. I have different services in my server (a cloud app, a streaming app, etc). What I do know is that I ...
Creak's user avatar
  • 101
4 votes
1 answer
375 views

Best Practice Moving a Hard Drive from one VMWare ESX Guest to Another

When removing a hard disk from a VMWare ESX virtual machine running Windows, is it best practice to shut down the server first or is there a minimal risk (if the drive is not being written to at the ...
Gabriel Graves's user avatar
1 vote
1 answer
268 views

Should apex (or zone root) records have a matching PTR/pointer record

I am aware that apex records (records at the zone "root") can have PTR records, but frequently I see that zone root records do not have a matching PTR, or they are pointing to a different place than ...
Watki02's user avatar
  • 587
3 votes
1 answer
394 views

Storing saltstack server configs in version control

I currently have a few servers that are managed by saltstack, every now and then saltstack fails to deploy the new configs because of an issue somewhere and it can take a while to work out what ...
Qwertie's user avatar
  • 205
1 vote
1 answer
585 views

Best practice: Wowza SSL Configuration

Screenshot: Server with Wowza running using a SSL certificate with basis configuration I get this result from the SSLLabs with the default configuration (see screenshot). The only places I can change ...
Thomas Ebert's user avatar
1 vote
4 answers
2k views

Do password expiry rules reducing the security of the system?

The problem I regularly have a debate with my CTO which usually begins something like this ... CTO: My password expired, that should never happen. Me : It's a security risk to never expire ...
War's user avatar
  • 113
0 votes
2 answers
140 views

Bypass Browser Cache with Server Settings in Large Production Environment

We recently applied a patch to our ERP system that updated HTML, JavaScript and CSS files. After applying the patch a large volume of users called the help desk to report loss of functionality on the ...
extrata's user avatar
-2 votes
1 answer
67 views

What are the dangers of buying a windows entreprise key online? [closed]

For multiple reasons I've settled on using Windows 10 Enterprise LTSB. Apart of getting a fake key or getting a legitimate key revoked, what are the dangers of purchasing / applying an unknown ...
Alyx Vanderleuren's user avatar
22 votes
4 answers
19k views

Is there any reason to allow SMB over the internet?

I'm an admin at a hosting company and I deal primarily with Linux machines though we have plenty of customer with Windows servers. In my capacity I have only ever used SMB for a file / print server ...
MadRush's user avatar
  • 221

1
2 3 4 5
7