Most Popular

1500 questions
76
votes
5 answers

Is Postfix the same thing as Sendmail?

I have Postfix setup on my server so that I can send outgoing mail using the command-line: mail -s "Subject" [email protected] Is this using Sendmail or Postfix ? Is "Sendmail" just a software category or a distinct program ? If something is…
Xeoncross
  • 4,449
  • 12
  • 43
  • 56
76
votes
5 answers

How to properly set permissions for NFS folder? Permission denied on mounting end.

I'm trying to connect to an NFS folder on my dev server. The owner of the folder on the dev server is darren and group darren. When I export and mount it to my Mac using the Disk Utility it mounts, but then when I try to open the folder is says I do…
Darren
  • 997
  • 2
  • 8
  • 15
76
votes
3 answers

Listen to UDP data on local port with netcat

netcat -ul -p2115 fails with a usage statement. What am I doing wrong?
Tyler
  • 863
  • 1
  • 6
  • 5
75
votes
13 answers

SSD or HDD for server

Issue I have read many discussions about storage, and whether SSDs or classic HDDs are better. I am quite confused. HDDs are still quite preferred, but why? Which is better for active storage? For example for databases, where the disk is active all…
genderbee
  • 901
  • 1
  • 7
  • 11
75
votes
16 answers

Alternatives to Splunk?

I'm pretty impressed with Splunk, especially version 4. Pretty graphs, alerting (Enterprise only), and fast, accurate, searching. It's a great product. However, the cost just way too high to consider for full production use for our company. All we…
MichaelGG
  • 1,739
  • 8
  • 25
  • 30
75
votes
4 answers

Why isn't ifconfig available in Ubuntu Docker container?

With the base ubuntu:12.04, ifconfig is not available in the container, though the ip command is available, why is this? and, how to get ifconfig in the container?
Pellaeon
  • 953
  • 1
  • 7
  • 7
75
votes
9 answers

Why do I get sqlite error, "unable to open database file"?

Using my Django app, I'm able to read from the database just fine. When the application didn't have permission to access the file, it gave me this error: attempt to write a readonly database Which made sense. So I edited the permissions on the…
Nick Bolton
  • 5,126
  • 12
  • 54
  • 62
75
votes
4 answers

What is the correct syntax to run cron every 4 hours?

I have the following syntax (which I think is correcT?) but it runs the command every minute! * */4 * * * /cmd.sh
erotsppa
  • 2,113
  • 6
  • 23
  • 24
75
votes
11 answers

How can I create a location in nginx that works with AND without a trailing slash?

Right now I have this config: location ~ ^/phpmyadmin/(.*)$ { alias /home/phpmyadmin/$1; } However, if I visit www.mysite.com/phpmyadmin (note the lack of trailing slash), it won't find what I'm looking for a 404. I assume because I don't…
Rob
  • 2,393
  • 9
  • 33
  • 52
75
votes
3 answers

How to run VBoxManage.exe?

The file is located in Program Files/Oracle/VirtualBox/VBoxManage.exe and is used as a command-line interface with VirtualBox. I'm using it to convert the .vdi image to a .vdmk (for…
AlxVallejo
  • 1,086
  • 4
  • 11
  • 19
75
votes
12 answers

Does changing default port number actually increase security?

I have seen advice saying you should use different port numbers for private applications (e.g. intranet, private database, anything that no outsider will use). I am not entirely convinced that can improve security because Port scanners exist If an…
Sam
  • 965
  • 1
  • 7
  • 8
75
votes
5 answers

How do I protect my company from my IT guy?

I'm going to hire an IT guy to help manage my office's computers and network. We're a small shop, so he'll be the only one doing IT. Of course, I'll interview carefully, check references, and run a background check. But you never know how things…
Jesse
  • 1,910
  • 3
  • 23
  • 28
75
votes
18 answers

Do you skip a rack unit between servers?

It seems like there's a lot of disagreement in mindsets when it comes to installing rackmount servers. There have been threads discussing cable arms and other rackmount accessories, but I'm curious: Do you leave an empty rack unit between your…
Matt Simmons
  • 20,396
  • 10
  • 68
  • 116
75
votes
3 answers

What is the difference between a hostname and a fully qualified domain name?

I am new to the world of setting up servers and am baffled by the term hostname and fully qualified domain name (FQDN). For example, if I want to set up a server that hosts files on the local network i.e. a file server, what would I use a hostname…
PeanutsMonkey
  • 1,892
  • 9
  • 27
  • 28
75
votes
4 answers

How to grant network access to LocalSystem account?

How do you grant access to network resources to the LocalSystem (NT AUTHORITY\SYSTEM) account? Background When accessing the network, the LocalSystem account acts as the computer on the network: LocalSystem Account The LocalSystem account is a…
Ian Boyd
  • 5,293
  • 14
  • 60
  • 82