Creating an offline backup or static version of your website using Wget

Creating an offline backup or static version of your website using Wget

Sometimes you need a backup of your site as it displays on the web. But there’s another use for creating an offline backup. If you have a WordPress site for instance pages are created dynamically every time they load. If you create an offline backup, then you can have a static version of your dynamic site. This is helpful if you need to shut down PHP or your MySQL database. You can create a static version of your site that is plain...

Read More

Dell CS24 – Using the BMC (Baseboard Management Controller) for Remote Management

Dell CS24 – Using the BMC (Baseboard Management Controller) for Remote Management

If you have one of these old Dell CS24’s, you’ll know they pack alot of processing power into a small frame.  They take only 1 unit and have dual quad core processors and a good amount of ram.  Right now on Ebay, you can pick one of these up with nice hardware for under 200 bucks.  A great deal in my opinion if you have something that needs alot of processing, but you don’t want to fill your rack up.  I’ve found...

Read More

rsync: failed to set times on “xx”: Operation not permitted (1)

I use Rsync alot to make sure directories are all in sync with each other. It’s a great tool for development and distributing files over multiple machines with one command. Because it finds the differences, you don’t have to worry about whether you get the most recent version of a file copied to every machine you want it on. A single command can run an Rsync command to transfer to all the machines from a single source directory. ...

Read More

ERROR: `phpize’ failed and make: *** [oauth.lo] Error 1

I recently tried to install oauth on Ubuntu and got two errors during the process. Unlike what is said, it was not the simple install from pecl. sudo pecl install oauth This should work, but it threw my first error ERROR: `phpize’ failed More searching revealed that the phpize script is found in the php5-dev package, and those who had the error installed that to make it work. sudo apt-get install php5-dev It got farther this time, but...

Read More

srst failed errno 16

I booted up an Ubuntu machine and got this “srst failed errno 16″ error today.  There was no raided harddrive, so I thought I was doomed.  The machine was very quiet, checkdisk never finished, and I was starting to worry I’d never get my data back. It did allow me to go into recovery mode when booting Ubuntu, so I knew my data was at least obtainable.  I still couldn’t boot normally though, so something had to be done....

Read More

How to find the current CPU usage in Ubuntu – not the average

There are several ways to find the current CPU usage in Ubuntu. If you’re looking for real time statistics, simply use the “top” command. You can change the update rate using the -d argument to change it to a number of seconds between updates. The issue arises however if you’re trying to have a program get the current CPU usage. If you run top with the -n 1 argument to make it stop updating and just return the...

Read More