Most Popular
1500 questions
76
votes
4 answers
SSH key authentication using LDAP
In short:
Would like a way to do SSH key authentication via LDAP.
Problem:
We use LDAP (slapd) for directory services and we've recently moved to using our own AMI for building instances. The reason the AMI bit is important is that, ideally, we…
c4urself
- 5,690
76
votes
4 answers
What is the difference between PV and HVM virtualization types in ec2?
AWS EC2 offers two types of virtualization of Ubuntu Linux EC2 machines - PV and HVM.
PV:
HVM:
What is the difference between these types?
Adam Matan
- 13,574
76
votes
9 answers
memcache vs memcached?
I want to use memcached
http://www.danga.com/memcached/
I have installed it through yum install memcached
But now I need to connect to PHP, and there is an extension named memcache and one named memcached?…
thanksyo
- 839
76
votes
10 answers
Can I specify a port in an entry in my /etc/hosts on OS X?
Possible Duplicate:
How to use DNS to redirect domain to specific port on my server
I want to trick my browser into going to localhost:3000 instead of xyz.com. I went into /etc/hosts on OS X 10.5 and added the following entry:
127.0.0.1:3000…
Tony
- 4,253
76
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,096
76
votes
5 answers
How do I grep through binary files that look like text?
I have binary files that should be text (they're exported logs), but I can't open it with less (it looks ugly - it looks like a binary file). I found that I could open it with vi and I can cat it (you'll see the actual logs), but what I'd really…
Robyn Smith
- 861
- 1
- 7
- 5
76
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,932
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
76
votes
13 answers
ZFS vs XFS
We're considering building a ~16TB storage server. At the moment, we're considering both ZFS and XFS as filesystem. What are the advantages, disadvantages? What do we have to look for? Is there a third, better option?
Tamas Czinege
- 863
76
votes
7 answers
How to setup linux permissions for the WWW folder?
Updated Summary
The /var/www directory is owned by root:root which means that no one can use it and it's entirely useless. Since we all want a web server that actually works (and no-one should be logging in as "root"), then we need to fix this.…
Xeoncross
- 4,539
76
votes
1 answer
What is the difference between a Source NAT, Destination NAT and Masquerading?
What is the difference between a Source NAT, Destination NAT and Masquerading?
For example, I thought IP Masqurading was what they used to call it in Linux?
But what confuses me is that in our Astaro firewall there is IP Masquarading as well as NAT…
hookenz
- 14,602
- 23
- 91
- 145
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
- 963
75
votes
6 answers
What is the correct way to open a range of ports in iptables
I have come across articles advising for the following:
iptables -A INPUT -p tcp 1000:2000 -j ACCEPT
And others stating that the above will not work and iptables only supports multiple port declarations with the --multiport option.
Is there a…
Paul Whalley
- 773
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,146