Most Popular

1500 questions
110
votes
5 answers

Multiple SSL domains on the same IP address and same port?

This is a Canonical Question about Hosting multiple SSL websites on the same IP. I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the answer to a previous question I posted is at odds…
John
  • 7,343
  • 23
  • 63
  • 87
110
votes
1 answer

InnoDB: Error: log file ./ib_logfile0 is of different size

I just added the following lines in /etc/mysql/my.cnf after I converted one database to use InnoDB engine. innodb_buffer_pool_size = 2560M innodb_log_file_size = 256M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit =…
jack
  • 1,725
  • 5
  • 21
  • 25
109
votes
1 answer

What is the purpose of the ".well-known"-folder?

If've found a new error message in our log files and would like to know, for what this .well_known folder is used for. Which application/client would need to access such a folder and which application would create files inside it? Here are some…
Sascha
  • 1,214
  • 2
  • 9
  • 7
109
votes
8 answers

How can a single disk in a hardware SATA RAID-10 array bring the entire array to a screeching halt?

Prelude: I'm a code-monkey that's increasingly taken on SysAdmin duties for my small company. My code is our product, and increasingly we provide the same app as SaaS. About 18 months ago I moved our servers from a premium hosting centric vendor to…
Stu Thompson
  • 3,349
  • 7
  • 31
  • 47
109
votes
10 answers

How to display certain lines from a text file in Linux?

I guess everyone knows the useful Linux cmd line utilities head and tail. head allows you to print the first X lines of a file, tail does the same but prints the end of the file. What is a good command to print the middle of a file? something like…
Boaz
  • 2,229
  • 5
  • 20
  • 15
108
votes
6 answers

how to create a cron job that runs on the first day of month

There are fields on my server's control panel like this Minute - Hour - Day of month - Month - Day of the week - Command How can I create a cron job runs on first day of the month with this fields?
Utku Dalmaz
  • 1,329
  • 2
  • 13
  • 18
108
votes
4 answers

How to make Windows 7 USB flash install media from Linux?

I have: ISO image of Windows 7 install media 4 GB USB flash drive no DVD drive Linux installed
Ian Kelling
  • 2,661
  • 6
  • 23
  • 21
108
votes
3 answers

Can Mac OS X be run inside Docker?

Can Mac OS X be run inside Docker? If so, any suggestion as to how? And would it be running headless, or there would be a possibility to connect to the GUI remotely?
simone
  • 1,281
  • 2
  • 10
  • 11
108
votes
3 answers

How long before an s3 bucket can be created with same name after deletion?

Title is quite explanatory, but I have just deleted an s3 bucket as it was in the wrong region and am wanting to recreate it in the correct region with same name as the just deleted one. Is there any documentation of this or user experience?
ljs.dev
  • 1,254
  • 2
  • 9
  • 15
108
votes
3 answers

Can I create a top level TLD? (.michael for instance)

It appears that ICANN is allowing the creation of top level domains. Instead of 'registering' a domain, you would essentially be signing up to be a registrar (you'd be giving out registrations on your TLD). How do they decide whether to…
Michael Pryor
  • 1,283
  • 2
  • 12
  • 19
108
votes
8 answers

Can I send some text to the STDIN of an active process running in a screen session?

I have a long-running server process inside a screen session on my Linux server. It's a bit unstable (and sadly not my software so I can't fix that!), so I want to script a nightly restart of the process to help stability. The only way to make it do…
Richard Gaywood
108
votes
8 answers

How do I set the global PATH environment variable on OS X?

I'd like to append to the global PATH environment variable on OS X so that all user shells and GUI applications get the same PATH environment. I know I can append to the path in shell startup scripts, but those settings are not inherited by GUI…
lajos
  • 1,345
  • 4
  • 14
  • 8
107
votes
21 answers

Login without running bash_profile or bashrc

So let's say one typoed something in their .bashrc that prevents him (or her) from logging in via ssh (i.e. the ssh login exits because of the error in the file). Is there any way that person could login without executing it (or .bashrc since the…
Tom Ritter
  • 3,197
  • 5
  • 27
  • 30
107
votes
2 answers

How to do the port forwarding from one ip to another ip in same network?

I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80. How to do this with iptables? Or Any other ways to achieve the same?
sat
  • 1,273
  • 4
  • 13
  • 14
107
votes
3 answers

Does getting disconnected from an SSH session kill your programs?

So, say I get disconnected from an SSH-session after I've started rsync or cp or any other command that can be long running. Does that command keep running until it's finished after I get disconnected or does it just get killed? Always wondered…
fregas
  • 1,221
  • 2
  • 9
  • 8