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.

351 questions
1
vote
0 answers

Serving dynamic website to multiple domains

I have created a website with a tiny administration panel that lets the owners change attributes about the site (primary color, background image, some content etc). Their changes are stored in a database. What I want is to have multiple domains…
1
vote
3 answers

Is it good practice to set HTTP headers in the load balancer?

I am managing a setup where there are two ngnix application servers behind an nginx reverse proxy. I would like to set some headers like X-XSS-Protection or Strict-Transport-Security. Currently, it's set on both application servers and the load…
eternaltyro
  • 262
  • 2
  • 14
1
vote
3 answers

Secure Administration AD Domain

I have a project to securize my Active Directory infrastructure. To do that, one of my colleague told me about the possibility to create another AD domain in the forrest just for administration. That is this new domain will contain all administrator…
gerem
  • 33
  • 1
  • 3
1
vote
1 answer

Is there a memcached memory limit best practice?

Is there a best practice or general rule of thumb when setting the memory limit for memcached? I'm currently running memcached with the default memory limit of 64 megabytes. The server has 8 gigabytes of memory installed out of which only around 512…
1
vote
1 answer

Fastest method to deploy Linux to large numbers of workstations

A nonprofit has received a donation of a large number (>100) decommissioned workstations. What would be the most efficient method of taking a standardized ISO image of a Debian Linux distribution (for example, Ubuntu LTS 14.x), and installing that…
Yaaqov
  • 23
  • 3
1
vote
0 answers

Ruby on Rails Debian best practice

I've seen in various places people using Ruby compiled from source through a cloned rbenv git repository, and then installing Rails through RubyGems to get the latest version. But, from what I know, this is not a best practice in Debian, and they…
gtbono
  • 237
  • 3
  • 8
1
vote
1 answer

How to keep a reproducible server admin log?

So here is something I am always wondering about when setting up a new Linux machine, be it desktop or server: How can I keep a reproducible log of what administration tasks I did on the machine, so when it fails I can get back to an identical…
1
vote
1 answer

Wordpress Anti Virus exclusions list

Problem background: I am contractually bound to install a system Anti Virus solution on every host. For this product I am running Linux (Red hat derived). These instances are hosting Apache/PHP with Wordpress sites sitting on them (the database is…
Sam
  • 617
  • 1
  • 6
  • 14
1
vote
0 answers

Should each task/process/role run as its own user on a Windows server?

I know that on Linux servers, it's widely considered best practice to run each task/role/process/server/program as its own user and usually in its own group. How should separate tasks be handled on a Windows server, especially when they don't run as…
1
vote
1 answer

Windows Server Applicaton Administration Best Practice

I've recently switched from using a linux server for private hosting (things like a WebServer, Teamspeak, Gameservers etc.) to a Windows Server 2012 R2 machine. Under Debian I installed my services with apt-get and started them under their own user.…
RikuXan
  • 217
  • 1
  • 3
  • 11
1
vote
3 answers

What is recommended size of hard disk for a Server?

I have heard that large hardisk >= 1TB are not recommended on the server because they can cause synching issues if one fails + their chances of failure is greater over a longer period of time as the hard disk get fuller. Is that assumption…
1
vote
1 answer

Reusable piece of code in Chef to be used several times in recipe(s)

I need to reuse some scenario in my cookbooks - create several users on a single machine and install same software for each of them. Installing the software is a repeating operation which I'd like to put in a single place and reuse. I've looked at…
1
vote
2 answers

How to go about rotating logs which are arbitrary named and placed in deeply nested directories?

I have a couple of hosts which are basically a playground for developers. On these hosts, each of them has a directory under /tmp where he is free to do all he wants - store files, write logs etc. Of course, the logs are to be rotated, or else the…
Roman Grazhdan
  • 334
  • 3
  • 15
1
vote
1 answer

Video hosting: Host files on web server, storage server, NAS?

I inherited responsibility for the back-end of a growing distance education program. They have a Proliant DL160 Gen8 web server which serves video from a ReadyNAS Pro 6. We currently share the ReadyNAS with another department and are planning on…
1
vote
5 answers

Windows network shares organization

I would like to have some feedback about the best practices you use to publish your network share. Now, we have on our file server : one named directory for each of our user, which is backed up daily one named directory for each service, backed up…
Alex T.
  • 185
  • 2
  • 12