Learning to make the hard things easy

Using grep to scrape web pages

Posted by on Sep 18, 2009 in Linux | 0 comments

In preperation to scrape a number of web pages, I used grep to make a list of URLs I need to scrape.  The list of URLs was in an RSS...

Read More

Bash script to backup a WordPress web site

Posted by on Aug 26, 2009 in Linux, Server Admin | 0 comments

The script (backup_site.sh) for backing up a site has been modified.  It now accepts parameters. Parameter 1: domain Parameter 2: database...

Read More

Don’t upgrade yet!

Posted by on Jun 11, 2009 in Linux, Server Admin | 0 comments

I know how tempting it is to press that upgrade button, but don’t do it without backing up those files. Backing up your files first...

Read More

Linux and Apache commands

Posted by on Feb 16, 2009 in Linux | 0 comments

Here are some commands that we use at the Gazette on our Linux web server.  It is running Red Hat Enterprise Linux 5.2. Reload Apache...

Read More