Most Popular
1500 questions
49
votes
2 answers
Prevent the possiblity of writing data to an unmounted mount point directory
I have an Ubuntu server where I'm automounting an external hard drive each boot.
To do this, I've created an empty folder on the root partition, and the drive gets mounted "inside" this folder.
However, what if I perform a backup to this path when…
LonnieBest
- 1,510
- 4
- 22
- 39
49
votes
7 answers
If a Windows shop moves "everything" to the cloud, does it still need Active Directory?
Taking a spin off of this question: Do I really need MS Active Directory? in a new direction for 2014.
Taking into account a basic Windows infrastructure:
domain controllers
Exchange 2007/2010/2013
Sharepoint
SQL
File Servers / Print Servers
AD…
TheCleaner
- 32,627
- 26
- 132
- 191
49
votes
4 answers
What's the maximum URL length in Tomcat?
And is it configurable? Can I set up Tomcat so that a URL with, say, 200K of query params goes through successfully to the contained servlet?
Yes, I know one should use POST when you have lots of data; that's a less pleasant option in this…
Michael Gundlach
- 1,281
- 1
- 9
- 7
49
votes
4 answers
Can't get bower working - bower ESUDO Cannot be run with sudo
I get the following error when I run bower:
bower ESUDO Cannot be run with sudo
Thing is, I'm not running bower with sudo. The command I run is:
bower install foo
or
bower search cats
I am logged in as root to an Ubuntu 12.04 server but I am not…
Lothar_Grimpsenbacher
- 1,677
- 3
- 19
- 29
49
votes
6 answers
Why does a hardware router perform better than a Linux router with better specs (RAM & CPU)?
I have a minimal CentOS 6.3, 64 bit acting as gateway with 4 NIC (1 Gbps), each bonded together one for public traffic and other for private, which performs NATing. It has 6 GB RAM and 4 logical cores. We have been using this for the past two years…
Blue Gene
- 635
- 1
- 5
- 10
49
votes
7 answers
Default CA Cert Bundle Location
I need to add a .pem cert file to my default CA cert bundle but I don't know where the default CA Cert bundle is kept.
I need to append my new .pem file to this default bundle. I'd rather do that than specify my own location using --capath
cURL…
Slinky
- 1,027
- 3
- 15
- 26
49
votes
10 answers
Learning to compile things from source (on Unix/Linux/OSX)
While I install software from packages (MacPorts / apt-get) where-ever possible, I often find myself needing to compile packages from source. ./configure && make && sudo make install is usually enough, but sometimes it doesn't work - and when it…
Simon Willison
- 655
- 1
- 7
- 8
49
votes
8 answers
Ubuntu Apache: httpd.conf or apache2.conf?
which one of these two files should I use to configure Apache?
The httpd.conf is empty, while apache2.conf is not.
It confuses me!
ajsie
- 1,215
- 4
- 20
- 28
49
votes
6 answers
Postgres error message: FATAL: Ident authentication failed for user "..."
Say you're seeing this message:
FATAL: Ident authentication failed for user "..."
What are the causes of this error message?
Steve Bennett
- 5,750
- 12
- 47
- 59
49
votes
4 answers
MySQL warning "IP address could not be resolved"
I've got MySQL Master/Slave setup and I've noticed the following warnings in the mysql log files on both servers:
[Warning] IP address 'xxx.xxx.xxx.xxx' could not be resolved: Name or service not known
I've checked and the DNS lookups works fine…
HTF
- 3,148
- 14
- 52
- 82
49
votes
23 answers
How do I destroy a hard disk?
I have an old hard disk (Maxtor 250Gb) from about 3 years ago that started giving errors and now sits in a draw in my desk. It has some confidential data on it but it's unlikely that it can be read because the disk started to go bad. However, before…
Guy
- 1,839
- 5
- 22
- 28
49
votes
6 answers
yum simulate install
Coming from an ubuntu perspective, if I want to check to see what additional packages will be installed/upgraded I can use apt-get --simulate install
Is there something similar for yum? Our Red hat box (yum) is our production server,…
Michael
- 801
- 1
- 7
- 15
49
votes
1 answer
How do I stop IIS from starting up when I turn Windows on?
I do not want IIS to start automatically with Windows. How do I change this? Is there a setting in IIS manager? I have looked around in the menus for one but I couldn't find an option.
Rachel Richter
- 497
- 1
- 4
- 4
49
votes
2 answers
iptables and multiple ports
This doesn't work for me:
# iptables -A INPUT -p tcp --dports 110,143,993,995 -j ACCEPT
iptables v1.4.7: unknown option `--dports'
Try `iptables -h' or 'iptables --help' for more information.
However in the man page, there is an option --dports...…
Zenet
- 928
- 5
- 10
- 15
49
votes
7 answers
How can I prevent a DDOS attack on Amazon EC2?
One of the servers I use is hosted on the Amazon EC2 cloud. Every few months we appear to have a DDOS attack on this sever. This slows the server down incredibly. After around 30 minutes, and sometimes a reboot later, everything is back to…
cwd
- 2,763
- 9
- 33
- 48