Most Popular
1500 questions
55
votes
4 answers
Multiple EC2 security groups - permissive or restrictive?
What happens when I assign multiple security groups to an instance? Is it permissive in the sense that the traffic is allowed in if any one of the security groups allows it. OR is it restrictive in the sense that every security group must allow…
Suraj
- 785
- 1
- 5
- 12
55
votes
7 answers
How to delete EC2 AMI
I know that the command ec2-create-image instance-id will be creating an image of the ec2 instance, creating snapshots file and registering as an AMI. But what is the equivalent command to delete the image which will deleting associated snapshot…
James W.
- 749
- 2
- 7
- 12
55
votes
4 answers
nginx without server_name and using only static ip address?
this is my first web app deployment and am running into all sorts of issues.
I am currently going for a nginx + gunicorn implementation for the Django app, but mostly this question relates to nginx configurations. For some context - nginx would…
bash-
- 797
- 2
- 6
- 10
55
votes
5 answers
What is the first digit for in 4-digit octal Unix file permission notation?
3-digit:
644
ugo (user group other)
4-digit:
0644
?ugo (??? user group other)
What is the first octal digit for in 4-digit octal Unix file permission notation?
Steven T. Snyder
- 1,113
- 2
- 10
- 19
55
votes
7 answers
Headless Ubuntu server machine sometimes stuck at GRUB menu
I have Ubuntu 10.10 Server installed on a single-board machine in a semi-embedded environment; no keyboard or screen, just SSH access to it.
So it's really frustrating when it occasionally boots up and gets stuck on the GRUB menu, waiting for a…
mikepurvis
- 1,067
- 2
- 9
- 18
55
votes
6 answers
What is better LVM on RAID or RAID on LVM?
I currently have LVM on software RAID, but I'd like to ask you what you think it is better solution, maybe some pros and cons?
Edit: It is about software raid on lvm or lvm on software raid. I know than hardware raid is better if we are thinking…
Ency
- 1,231
- 1
- 19
- 27
55
votes
9 answers
How to interrupt software raid resync?
I want to interrupt a running resync operation on a debian squeeze software raid. (This is the regular scheduled compare resync. The raid array is still clean in such a case. Do not confuse this with a rebuild after a disk failed and was…
Adam5
- 551
- 1
- 4
- 4
55
votes
10 answers
RAID - software vs. hardware
I have always used hardware based RAID because it (IMHO) is on the right level (feel free to dispute this), and because OS failures are more common to me than hardware issues. Thus if the OS fails the RAID is gone and so is the data, whereas - on a…
Robert MacLean
- 2,186
- 6
- 28
- 45
55
votes
5 answers
Ordering: 1. nginx 2. varnish 3. haproxy 4. webserver?
I've seen people recommend combining all of these in a flow, but they seem to have lots of overlapping features so I'd like to dig in to why you might want to pass through 3 different programs before hitting your actual web server.
nginx:
ssl:…
Joel K
- 5,853
- 2
- 30
- 34
55
votes
3 answers
find command default sorting order
what is the default sorting order for entries returned by the linux find command?
For example, if I issue
find . -type f -name '*mp3'
and the output consists of multiple files across multiple sub-folders, what is the default order in which…
Nasko
- 553
- 1
- 4
- 4
55
votes
1 answer
What does the @ symbol mean in a file's permission settings?
I'm on MacOSX, I did ln -s on a directory and these are the results:
-rwxrwxr-x@ 1 shiki admin 970332 Mar 6 16:38 apc.so
-rwxrwxr-x@ 1 shiki admin 653884 Mar 6 16:38 eaccelerator.so
-rw-rw-r--@ 1 shiki admin 60064 Mar 6 16:38…
Shiki
- 760
- 2
- 6
- 8
55
votes
6 answers
Given a debian source package - How do I install the build-deps?
I have a debian (well technically ubuntu) source package, i.e. the .dsc, the .tar.gz, etc., I want to build this. The dpkg-buildpackage fails, since I don't have all the build dependencies.
Normally I'd use apt-get build-dep, but this package isn't…
Amandasaurus
- 31,471
- 65
- 192
- 253
55
votes
2 answers
CNAME record/alias in windows hosts file?
Is it possible to enter some sort of CNAME record or alias in the windows hosts file (C:\Windows\System32\drivers\etc\hosts)?
Basically I want to forward all requests made to host A to host B, without having to hard code the IP address (which…
MEMark
- 651
- 1
- 5
- 8
54
votes
11 answers
IIS7: can't set host name on site with SSL cert and port 443
Consider a Win 2008 SP2 machine with IIS7. The task is to apply a certificate and host name to the one and only Site on this machine. The site's host headers need to be abc.123.example.com
The first step was installing the .pfx to the Personal…
p.campbell
- 4,407
- 6
- 41
- 51
54
votes
3 answers
What is the difference between SQL Server standard and web edition?
Is there any technical difference between these 2 editions or is it just how they are licenced?
Shiraz Bhaiji
- 2,229
- 9
- 34
- 47