Using grep to scrape web pages
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 MoreBash script to backup a WordPress web site
The script (backup_site.sh) for backing up a site has been modified. It now accepts parameters. Parameter 1: domain Parameter 2: database...
Read MoreDon’t upgrade yet!
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 MoreLinux and Apache commands
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