Michael Dillon
  • Member for 12 years, 2 months
  • Last seen more than 1 year ago
8 answers
36 votes
73k views
"ipv6 equivalent" of 192.168.x.x (configuring a static ipv6 address)
27 votes

Since IPv6 will become the main growth protocol on the Internet around 2011, it is a good idea to keep IPv6 enabled and to learn how to do these things right. The address that you mentioned, 192.168....

View answer
2 answers
14 votes
16k views
Rabbitmq - Reasonable performance/scale expectations
12 votes

First of all, you need to understand which items in your list have scaling limits that you might hit, and which do not. Some of this is implementation dependent so it helps to read up on internals, ...

View answer
2 answers
12 votes
23k views
Add folder to SVN repository without checking out or committing?
Accepted answer
10 votes

If you do svn mkdir mynewdirectory then it will create mynewdirectory on your local machine and only update the repository the next time that you commit. However, if you do svn mkdir svn://svnrepo.my....

View answer
2 answers
10 votes
1k views
Site has been under a massive DDOS attack for 5 weeks now
Accepted answer
10 votes

The people who track down DDoS attackers tend to hang out on mailing lists, so your best bet is to search/google for a mailing list using some DDoS related keywords. The reason that the attack is ...

View answer
6 answers
12 votes
6k views
What's the fastest filesystem for developer builds?
Accepted answer
7 votes

Use ext4fs as the base filesystem with a few speedup options like noatime,data=writeback,nobh,barrier=0,commit=300 Then union mount a tmpfs ramdisk on top of that so that files written during the ...

View answer
7 answers
14 votes
7k views
Tough Choice: Xen or KVM
Accepted answer
6 votes

I would go with XEN. Two main reasons. First, you can get it installed and configured painlessly by installing OpenSUSE 11, and you get a GUI to administer it as well. But all the technical stuff is ...

View answer
15 answers
14 votes
12k views
Build a low-power file server
6 votes

One possibility is to build a server around a mini-ITX board with a VIA EPIA CPU which can be used to build fanless computers. The other possibility is to build it around a mini-ITX that uses an Intel ...

View answer
5 answers
1 votes
2k views
Show tar file contents with 'less' on FreeBSD
6 votes

You might see something useful with zless somefile.tgz but I think what you really want to do is this: tar ztvf somefile.tgz |less which will work on all systems. Note that the t just tells you what ...

View answer
6 answers
6 votes
4k views
What is the perfect setup for a small Linux virtual server?
5 votes

Since you are running the same OS, Linux, on both the host and the guest VMs, I suggest that you choose from User Mode Linux, or OpenVZ. UML began life as a modified Linux kernel that could be booted ...

View answer
1 answers
2 votes
760 views
MongoDB data files with File System Compression? (Windows Server)
Accepted answer
4 votes

That's not entirely true about SQL Server. You could use NTFS compression but you have to accept a risk of log file corruption if the system fails while NTFS compression rewrites a sector. Check this ...

View answer
8 answers
2 votes
1k views
Linux for very old hardware
4 votes

According to the Damn Small Linux wiki, the minimum requirement for Damn Small Linux with X-Windows is 64 Mb. Also, according to this Pupply Linux Forum, you can run Puppy Linux on a machine with 64Mb ...

View answer
3 answers
2 votes
1k views
Put caching web server in vmware?
Accepted answer
4 votes

If you already have the software installed and running, I suggest that you measure the CPU performance on that server. Even if you have other stuff running on the same server, it may not matter. If ...

View answer
5 answers
16 votes
2k views
IPv6: How to start? (ISP perspective)
3 votes

Read the help information that is on ARIN's IPv6 wiki at http://www.getipv6.info It may not be fully up to date because most ISPs started this a couple of years back but it still has lots of good ...

View answer
5 answers
1 votes
443 views
Web-based *nix shell
3 votes

My favourite solution to this is Ajaxterm which I run on an https server since port 443 is rarely blocked and the encrypted stream can't be decoded by firewalls. http://antony.lesuisse.org/software/...

View answer
7 answers
2 votes
9k views
How do I download a file via the Linux command line
3 votes

This is why it is a good idea to install lynx on headless servers, and learn how to use lynx as well. This provides you with text-mode web browsing through a shell prompt, including the ability to ...

View answer
2 answers
4 votes
8k views
How Can I Use rabbitmqctl to Connect to a Remotely Hosted RabbitMQ Server?
2 votes

I used to use rabbitmqctl a lot because I was stuck with a sysadmin who refused to install the RabbitMQ management plugins. But really, nowadays with version 2.8.4 of the server, just install the ...

View answer
2 answers
4 votes
11k views
wsgi and python print statements
2 votes

In general, it is better to use logging for any kind of debug output in a web app and never use print statements at all. Or use them in the form: print >> environ['wsgi.errors'], "message to be ...

View answer
4 answers
0 votes
9k views
Bash Scripting Automatic logging as root or sudo with password
2 votes

You can't and shouldn't hardcode the password in the script. The right way to do this is to make sure that the user running the script is in the sudoers file, and then use sudo in the script.

View answer
4 answers
3 votes
2k views
Does Amazon S3 have "sub-directories"? (Rackspace Cloudfiles does not)
Accepted answer
2 votes

Consider installing an EC2 server with Redis or Tokyo Cabinet or Hadoop or CouchDB, and then use that to manage your S3 storage. That way to can make sub-buckets and manage them in any way that you ...

View answer
4 answers
3 votes
5k views
Can I recover from "rm /*"?
2 votes

I once wanted to type in rm folder/* but accidentally typed rm folder /* on a running system, either SCO Xenix or SCO UNIX. Since UNIX does not actually delete files which are open, until they are ...

View answer
6 answers
23 votes
50k views
How to run script via SSH that doesn't end when I close connection?
2 votes

While you are logged into a server, you can run a script in detached mode by the following command: nohup script >script.out 2>script.err & Later when you log in again, you can check ...

View answer
11 answers
14 votes
18k views
What issues are there in using Gmail for a corporate email solution?
2 votes

If you do this then it is important to ensure that your ISP has direct peering to Google's network. When you access sites on the Internet, your packets often end up being carried across several ...

View answer
3 answers
2 votes
602 views
Point *.local to 127.0.0.1 within network
1 votes

In general it is a bad idea to use .local for internal domains. It gets mixed up with the use of .local by Bonjour/Rendezvous services. Better to pick another name like .secret After that, you just ...

View answer
4 answers
0 votes
366 views
Upgrade to latest tomcat/ JRE or stick with what's provided by LTS?
1 votes

Never use mission critical tools as they are distributed with your Linux distro. They often lag several versions behind and may not be configured in the way you expect. For instance Python always ...

View answer
3 answers
5 votes
1k views
Virtualbox HTTP load testing, host CPU overload issues
1 votes

First of all you don't say anything about the VBox host. How powerful is it? When I do VBox load testing I use a machine with 12 cores and 32G of RAM to run a virtual server with 2 to 8 cores and up ...

View answer
5 answers
5 votes
23k views
Running python app in the background on linux
1 votes

The right way to do this is to change the code to daemonize the process correctly. One way to do this is to use the daeminize module. The expedient way to do this, which also works with software that ...

View answer
3 answers
0 votes
2k views
Distribute Nagios to reduce false alarms
1 votes

Increase your thresholds for an alert. In fact you may be better off doing this kind of monitoring from a script which logs the transaction times, sends notices to Nagios, and periodically analyzes ...

View answer
1 answers
1 votes
126 views
Debian testing and RabbitMQ - upgrading
1 votes

Do not let important tools get upgraded by the OS packaging system. Do it manually. Test it first on another machine. There should be no issues with upgrading RabbitMQ if you only upgrade the binaries ...

View answer
3 answers
5 votes
4k views
How would you backup 15TB of data to multiple drives?
1 votes

With that much data, you should really look at Nexenta, The URL is for the free community edition that will handle up to 18 TB but they do commercial ones that handle much, much more. The nice thing ...

View answer
1 answers
1 votes
545 views
RabbitMQ and persistence (blocking writes?)
1 votes

In general, it is a bad idea to use NFS for a database server to reach its hard drive over the network. Either give this VM a local hard drive, or use iSCSI to connect it to your NAS. Any server that ...

View answer