Most Popular

1500 questions
72
votes
17 answers

How do I know if I'm working on a Virtual Machine or not?

Is there a way to know if the Windows machine I'm working on is virtual or physical? (I'm connecting with RDP to the machine. If it's a virtual machine it is working and handled by VMWare).
user33705
72
votes
7 answers

Choosing the shell that SSH uses?

How do I set the shell that is used when a user SSHs to a server. For example I can't stand BASH and need to use ZSH, how do I make it so ZSH is loaded along with my profile (.zsh_profile) when I ssh to the machine. I dont want to have to pass a…
JP Silvashy
  • 1,547
71
votes
21 answers

How the heck is http://to./ a valid domain name?

Apparently it's a URL shortener. It resolves just fine in Chrome and Firefox. How is this a valid top-level domain? Update: for the people saying it's browser shenanigans, why is it that: http://com./ does not take me to: http://www.com/? And, do…
Christopher
  • 1,391
71
votes
11 answers

Question marks showing in ls of directory. IO errors too

Has anyone seen this before? I've got a raid 5 mounted on my server and for whatever reason it started showing this: jason@box2:/mnt/raid1/cra$ ls -alh ls: cannot access e6eacc985fea729b2d5bc74078632738: Input/output error ls: cannot access…
jaymoo
71
votes
18 answers

`mysql_upgrade` is failing with no real reason given

I'm upgrading from MySQL 5.1 to 5.5, running mysql_upgrade and getting this output: # mysql_upgrade Looking for 'mysql' as: mysql Looking for 'mysqlcheck' as: mysqlcheck FATAL ERROR: Upgrade failed Any ideas on where to look for what's happening…
71
votes
9 answers

gpg --gen-key hangs at gaining enough entropy on centos 6

Trying to generate a key for a server. gpg --gen-key We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks) during the prime generation; this gives…
stormdrain
  • 1,509
  • 7
  • 28
  • 54
71
votes
3 answers

What does [::] mean as an ip address? Bracket colon colon bracket

When I run netstat there are some entries such as TCP [::]:8010 computername LISTENING What does that mean? It is impossible to search for...
carpat
  • 1,085
71
votes
6 answers

What should NOT be managed by puppet?

I'm learning my way through configuration management in general and using puppet to implement it in particular, and I'm wondering what aspects of a system, if any, should not be managed with puppet? As an example we usually take for granted that…
Luke404
  • 6,028
  • 6
  • 49
  • 59
71
votes
6 answers

How to diagnose a 500 Internal Server Error on IIS 7.5 when nothing is written to the event log?

I've just deployed an update to an existing ASP.NET MVC3 site (it was already configured) and I'm getting the IIS blue screen of death stating HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error…
Greg B
  • 1,658
71
votes
6 answers

IIS complains about a locked section - how can I find out where it's locked?

I have this section in my web.config:
Michael Stum
  • 4,090
71
votes
86 answers

What are your favorite open source tools?

I believe every system administrator is used to open source by now. From Apache to Firefox or Linux, everyone uses it at least a little bit. However, most open source developers are not good in marketing, so I know that there are hundreds of very…
sucuri
  • 2,887
71
votes
4 answers

What is the "slash" after the IP?

In Amazon EC2, where I set "security groups", It says: Source: 0.0.0.0/0 And then it gives an example of: 192.168.2.0/24 What is "/24"? I know what port and IP is.
Alex
  • 8,839
71
votes
1 answer

Bash: Difference between > and >> operator?

I don't know much about bash. My instructor asked me to make a cat script and to observe the output and then tell what is the operator > and what is the difference between the operators > & >>. I am unable to find any justifications. Could you…
jumbo18
  • 727
71
votes
8 answers

How to check if a port is open for remote system(ubuntu)

Is it possible to check that if the ports are open for the remote system on ubuntu server? I should able to check if a port(eg:ssh) on my machine is open for the remote machine.
user53864
  • 1,753
  • 12
  • 38
  • 67
71
votes
11 answers

How to mount a CD/DVD ISO in Windows 7?

Does Windows 7 have native support for mounting CD/DVD ISO images? If not, what is the best tool to use for that under Windows 7 64-bit? I am looking for a solution to allow installing MSDN downloads without burning them to CD/DVD.
Jim McKeeth
  • 1,916