Most Popular

1500 questions
63
votes
7 answers

Best Practices in Username Standards: Avoiding Problems

I'm interested in finding out what people's experiences with standard usernames is. I've always been in places that used {firstInitial}{lastname} (sometimes with a length-limit). Now I've users that want {firstname}.{lastname} - and now it comes up…
Mei
  • 4,600
63
votes
10 answers

How to extinguish a small fire in a server rack to minimize damage to surrounding equipment?

Suppose I have a rack with several servers and other stuff. One of servers overheats severely and either starts smoking or catches fire while there's a serviceman nearby. If anything similar happens in an apartment and there's a fire extinguisher…
sharptooth
  • 2,739
63
votes
3 answers

How to install libpq-dev on Centos 5.5

In order to develop one web application based on postgresql, i need to install libpq on my centos. I can install it by "apt-get install libpq-dev" on ubuntu, but i can not install it on centos by "yum install libpq". Who can tell me how to install…
larry
  • 4,107
63
votes
2 answers

Multiple "ServerName" per VHost?

In Apache2 is it possible to set multiple ServerNames in one VHost? I want to setup a "wiki" vhost for an internal wiki. My network has a ".lan" suffix. How do I get Apache to answer both "wiki" and "wiki.lan" on the same vhost?
Soviero
  • 4,376
63
votes
14 answers

Why would you use IPv6 internally?

Of course, I realize the need to go to IPv6 out on the open Internet since we are running out of addresses, but I really don't understand why there is any need to use it on an internal network. I have done zero with IPv6, so I also wonder: Won't…
KCotreau
  • 3,401
63
votes
6 answers

bash: variable loses value at end of while read loop

I have a problem in one of my shell scripts. Asked a few colleagues, but they all just shake their heads (after some scratching), so I've come here for an answer. According to my understanding the following shell script should print "Count is 5" as…
wolfgangsz
  • 8,917
63
votes
2 answers

How to run cron job on a specific hour every day?

What do I need to write in crontab to execute a script at 3pm every day?
john
  • 1,025
63
votes
1 answer

Capturing STDERR and STDOUT to file using tee

I'm unclear what the best order is to capture both STDERR and STDOUT to the same file using tee. I know that if I want to pipe to a file I have to map the filehandle after the redirect, i.e. find . >/tmp/output.txt 2>&1 This instructs the shell to…
PP.
  • 3,426
63
votes
7 answers

How to change my MySQL root password back to empty?

When I'm working locally, I don't really need to enter my password to access my database. I changed my root password when I first installed MySQL, but I don't know how to change my password back. What should I do?
Andrew
  • 3,573
62
votes
4 answers

Download SSL certificate from aws certificate manager

I am using aws certificate manager for managing SSL. Recently I purchased a wildcard ssl *.example-private.com Now I need that SSL certificate to deploy on enterprise git instance on aws. How can i download ssl from aws?
62
votes
13 answers

Windows 2008: WinSXS directory growing uncontrollably, blocking server

I run a (remotely hosted) virtual Server with Windows 2008 Server for a client. Initially, it had 10 GB of space. During the course of a few weeks - during which nothing was done on the machine except normal work using a web-basedt icket system -…
Pekka
  • 2,178
62
votes
5 answers

I accidentaly forbid SSH connection to a remote server... What's next?

Let's say it again, we all make mistakes, and I have just made one. A brief history: I was doing some stuff on a VPS (Debian) I'm renting, when I noticed some strange behaviour. Using the netstat command I saw an non-authorized connection through…
tomatoGuy
  • 621
62
votes
9 answers

Tool to test a user account and password (test login)

Yeah, I can fire up a VM or remote into something and try the password...I know...but is there a tool or script that will simulate a login just enough to confirm or deny that the password is correct? Scenario: A server service account's password is…
TheCleaner
  • 32,822
62
votes
5 answers

How can I check /dev/xvda1?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. lsof shows jbd2/xvda 172 root cwd …
user1836587
  • 723
  • 1
  • 6
  • 4
62
votes
10 answers

How to [politely?] tell software vendor they don't know what they're talking about

Not a technical question, but a valid one nonetheless. Scenario: HP ProLiant DL380 Gen 8 with 2 x 8-core Xeon E5-2667 CPUs and 256GB RAM running ESXi 5.5. Eight VMs for a given vendor's system. Four VMs for test, four VMs for production. The four…
Simon Catlin
  • 5,232
  • 3
  • 18
  • 20