Tag: Ubuntu
Ubuntu network slow RTL8101E/RTL8102E PCI Realtek
I recently reinstalled Ubuntu, and found that my network was agonizingly slow. Installing the driver from the Realtek website fixed this. My card is RTL8101E/RTL8102E PCI Express Fast Ethernet controller, but I imagine this will work for other versions too. The problem is that the default driver does not support this card well. Blacklist it.…
Upload Error: client intended to send too large body
If you are using Nginx and are unable to upload files exceeding 1MB or so (most common) and get your error log shows “client intended to send too large body”, then here is the fix. Edit your Nginx configuration file (which on Debian/Ubuntu will be found at /etc/nginx/nginx.conf) and edit the setting for client_max_body_size to something…
Nginx-1.5.6 with ngx_pagespeed (Google Pagespeed module) and ngx_cache_purge
So I got tired of fiddling around with repositories offering builds that compiled ngx_pagespeed with Nginx. I was getting a lot of errors, was using older versions of Nginx and was not able to make the dotdeb repository work. I was wary of compiling, because I’m a creature of habit, and I like my Nginx…
Free space in your WordPress install by deleting old image sizes
If you change your theme often, your uploads folder will accumulate thumbnails of images in many sizes that you no longer use. This consumes disk space unnecessarily. I wish someone coded a plugin for this, but failing that, a handy way to do this via SSH is: find . -name *-250×250.* | xargs rm -f…
bash: add-apt-repository: command not found
If you are trying to add a ppa repository and get the following error bash: add-apt-repository: command not found You need to install python-software-properties, like so apt-get install python-software-properties If you have python-software-properties installed and are still getting this error, there is some problem with the package. Uninstall and reinstall it. apt-get remove python-software-properties –purge…
Installing UFW – Uncomplicated Firewall on Ubuntu 12.04
If you are one of those nerdy types and use iptables, ignore this. If you are like the rest of us Ubuntu users (nerdy in denial), UFW (Uncomplicated Firewall) provides a handy tool to configure your firewall. Here’s how to install. As root, type: apt-get install ufw If this can’t find the package, run apt-get…