Most Popular

1500 questions
47
votes
5 answers

Why can't I reach my Amazon EC2 instance via its Elastic IP address?

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm it is reachable before I add the IP address to my…
47
votes
3 answers

nginx as reverse proxy with upstream SSL

I'm building a proxy for an internal API to allow clients to connect without having to have the self-signed certificates installed. Clients (built, owned and used only internally) will connect over SSL to the nginx box, where I'm using XSendfile to…
47
votes
12 answers

How to find the gateway IP address in Linux

What command can you use to find the Gateway IP Address (ie. home router address) for eth0 in Linux? I need to get the IP address from a command line app to use in a shell script.
J. Polfer
  • 739
47
votes
4 answers

What is the maximum username length on current GNU/Linux systems

I'd like to know what the maximum username length is for current GNU/Linux systems, e.g. Ubuntu 11.04. 8 characters appears to be some historical standard, but I've already noticed on my current Ubuntu system that this limit does not apply.
47
votes
7 answers

Removing phantom applications from Application Pools in IIS7

I have an application in one of my application pools that has a virtual path of /Site/login.aspx . I want to remove it but it no longer exists on my computer and it's causing me issues setting up AppFabric. I understand that you can remove these…
Col
  • 595
  • 1
  • 4
  • 6
47
votes
2 answers

How to use node.js as a production web server?

I'm currently developing a project using node, and as I'm approaching the launch, I'm struggling to find resources on how to setup node for use on a commercial, production server. Most resources I have seen have consisted of contrived, simple…
47
votes
1 answer

How do I tell what is running on which ports in Ubuntu?

How could I tell what is listening on which ports on Ubuntu? In other words, how do I get a list of ports that are in use?
Genadinik
  • 1,143
47
votes
4 answers

Get directory containing the currently executed batch script

I use %0 in batch file to get the containing directory of the batch file but the result is :- c:\folder1\folder2\batch.bat I want just directory, without batch file name, like this :- c:\folder1\folder2\ How can I do it? Maybe I should filter the…
47
votes
2 answers

Understanding a Postfix log file entry

We have a Postfix hub and I'm trying to better understand the information in the mail.log file. I use tools like qshape, pflogsumm.pl and amavis-logwatch to summarize the log files, but I have still have questions about some of the elements of the…
KodeTitan
  • 921
47
votes
6 answers

Measuring 'total bytes written' under Linux

We're quite interested in exploring the possibility of using SSD drives in a server environment. However, one thing that we need to establish is expected drive longevity. According to this article manufacturer's are reporting drive endurance in…
badnews
  • 615
47
votes
7 answers

How do I make RabbitMQ listen only to localhost?

I have installed RabbitMQ on a Debian Linux Squeeze machine, and I would like it to only listen to the localhost interface. I have added RABBITMQ_NODE_IP_ADDRESS=127.0.0.1 to my /etc/rabbitmq/rabbitmq.conf file, and that makes it bind to only the…
47
votes
6 answers

How do I access a local web server on my laptop from another computer?

I have an app running on my computer at 127.0.0.1:3000 I would like to access that app from an iPhone connected to the same network. I have done this before but blanking out on how I did it. Any ideas?
Tony
  • 1,341
47
votes
7 answers

Is it safe to have SQL Server auto-shrink turned on?

There are many SQL Server options that can be enabled for databases, and one of the most misunderstood ones is auto-shrink. Is it safe? If not, why not?
47
votes
4 answers

How to set up stats for HAProxy?

I can't figure out how to set up stats for HAProxy. This is my configuration: global log 127.0.0.1 local0 log 127.0.0.1 local1 notice daemon #debug user haproxy group haproxy maxconn 4096 stats socket /tmp/haproxy defaults log global mode tcp option…
Jan Deinhard
  • 2,403
47
votes
6 answers

Listing available smb shares on a network through the command line in linux

I was wondering if there is a way of listing all the smb servers on a local network (like looking at a network neighborhood in windows) via the command line in fedora.
jcb344
  • 693
1 2 3
…
99
100