Most Popular
1500 questions
47
votes
10 answers
Which is better: RAID5 + 1 Hotspare / RAID6?
Just curious, I have 6 x 1TB 7200RPM Near Line SAS for my new server. I can either configure it as RAID5+1 Hot Spare or RAID6.
What should I choose?

Raptor
- 1,001
- 4
- 19
- 38
46
votes
4 answers
Ansible security best practices
I am going to introduce Ansible into my data center, and I'm looking for some security best practice on where to locate the control machine and how to manage the SSH keys.
Question 1: the control machine
We of course need a control machine. The…

Mat
- 1,873
- 7
- 25
- 41
46
votes
4 answers
How is Docker Compose version 2 "volumes" syntax supposed to look?
With Docker Compose v1.6.0+, there now is a new/version 2 file syntax for the docker-compose.yml file. The changes include a separate top level key named volumes. This allows to "centralize" volume definitions in one place.
What I am trying to do is…

kaiser
- 1,251
- 1
- 16
- 24
46
votes
1 answer
how to install an older version of a pecl package
I have this code
$passengerId = new \MongoId(oPassenger->getId());
return $this->createQueryBuilder('Device')
->update()
->multiple(true)
->field('activated')->set(false)
…

abbood
- 1,127
- 4
- 13
- 21
46
votes
4 answers
How do I tell if grub is installed on a device?
How can I tell if grub is installed on a disk, and if it is what settings it has (noteably, what it has for the root parameter)
I need to check a lot of disks in software RAID1 arrays to make sure both disks have grub installed, with the grub on…

DrStalker
- 6,946
- 24
- 79
- 107
46
votes
12 answers
Sell partitioning to me
I have often wondered why there is such a passion for partitioning drives, especially on Unixy OSes (/usr, /var, et al). This does not seem to be a common theme with Windows installations.
It seems that partitioning greatly increases the likelihood…

Zimmy-DUB-Zongy-Zong-DUBBY
- 1,580
- 3
- 16
- 30
46
votes
6 answers
Is it safe for a production server to have make installed?
During the setup of my virtual server instances I require some applications to be built using make. Are there any security risks associated with having make installed? Or should I clean it up before the instance is deployed?
I also have the gcc…

S-K'
- 1,301
- 3
- 11
- 15
46
votes
9 answers
System error 1219 has occurred
I am trying to connect to a remote server and deploy a service there, through a deploy script.
I start by stating "Net use" and send the credentials for the server.
But here I get system 1219 error:
Multiple connections to a server or shared…

khebbie
- 680
- 1
- 6
- 12
46
votes
9 answers
sshd service fails to start
I'm not sure why it isn't starting or why its preventing me from connecting, i get this error:
sshd.service - OpenSSH Daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: failed (Result: start-limit) since Wed…

aCoolBean
- 461
- 1
- 4
- 4
46
votes
4 answers
Setting Nginx to catch all unhandled vhosts
If I already have a bunch of virtualhosts, how can I create a virtual host to handle requests that don't match any of the virtualhosts? (i.e. access by IP, another domain linking to IP, .etc .etc)

SandyD
- 571
- 1
- 4
- 4
46
votes
2 answers
Nginx "Default" Server?
I have an Nginx with a number of enabled server blocks. Each server answers to 1 canonical domain and may forward 1 or more to that canonical URL. I have at least one server (haven't checked all of them yet) where, if I type in a non-existent domain…

Rob Wilkerson
- 1,465
- 4
- 17
- 25
46
votes
8 answers
Getting 408 errors on our logs with no request or user agent
I'm getting a lot of requests turning up in our apache logs that look like this
www.example.com:80 10.240.1.8 - - [06/Mar/2013:00:39:19 +0000] "-" 408 0 "-" "-" -
There seems to be no request and no user agent. Has anyone seen this before?

Glenn Slaven
- 2,400
- 2
- 30
- 42
46
votes
3 answers
UFW Firewall Rules ordering?
I have the following rules on our server within UFW:
To Action From
-- ------ ----
22 ALLOW 217.22.12.111
22 ALLOW …

dannymcc
- 2,717
- 10
- 48
- 72
46
votes
2 answers
Should I use IPv6 only or both IPv4 and IPv6 in my web server?
My web server (Ubuntu, Nginx) have both IPv4 and IPv6 addresses assigned by the host. For my website, shall I bind it to only an IPv6 address? Is it the standard recommended way? Or, shall I use both IPv4 and IPv6 addresses?

THpubs
- 1,695
- 7
- 26
- 43
46
votes
5 answers
Check the Number of active connections on port 80?
I have a webserver, i need to check number of connections in my server at that given time,
i used following
netstat -anp |grep 80 |wc -l
this returned with
2542
but from my google analytics's i know that simultaneous users is not more than…

mahen3d
- 4,342
- 14
- 36
- 57