Subscribe via RSS Feed Connect with me on LinkedIn

Category: Tutorials

HOW-TO: Use Lynx to run a PHP script in a Cron Job.

There are times in a web developers life cycle where you need to create a PHP script that does some maintenance to your site.  In my case, I needed a script that cleanly backed up a MySQL database and email it to the client in question.  It’s a fairly simple process, and I know that [...]

Install PHP Pear (Mail) on Ubuntu

I had been hunting around looking for a MySQL backup script that I could provide to a few of my users that simply dumped the DB, compressed it and email it to the client as an attachment so they had the piece of mind that they had a backup.  Upon much searching, I decided that [...]

HOW-TO: Install MCrypt on Ubuntu Server

HOW-TO: Install MCrypt on Ubuntu Server

For some reason, on Ubuntu Server, the base installs of Apache 2 and PHP5 doesn’t install the MCrypt extension, This extension is used by phpMyAdmin and other PHP scripts for encrypting data (passwords, etc.), so it’s a very good tool to have. To install mCrypt for PHP5 on your Ubuntu Linux system: #> sudo apt-get [...]

HOW-TO: Customize Linux Bash Prompt

HOW-TO: Customize Linux Bash Prompt

So how do you setup, change and pimp out Linux / UNIX shell prompt? Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory. You can easily customize your prompt to display information important to you.  In this small how to I will explain how to [...]

HOW-TO: configure Ubuntu WebServer

HOW-TO: configure Ubuntu WebServer

This tutorial is meant to help users who want to use the Ubuntu version of Linux as a webserver.  This is not for a novice, though the instructions are pretty straightforward. This tutorial assumes that you have gone through the basic install of Ubuntu server and have configured it to be connected to the internet.