AJAX w/ Empirix

July 26, 2007

In order to functionally test AJAX functionality which generates dynamic link, such as www.wisc.edu People search, you need to ensure two things happen:

1. You must record the events which trigger the AJAX calls, for example:

If the onKeyUp event is used to update search results, then you must go into the options of the current script and enable recording of the onkeyup events for the input elements.

2. You need to change the items and priority of the way in which A tags are identified. I was able to make it work by disabling everything but the href and then making it the highest priority.

Drupal on Ubuntu Desktop 7.04

July 23, 2007

Step 1: Download

Download Ubuntu Desktop from http://www.ubuntu.com/getubuntu/download and burn it to a disc.

 

Step 2: Hardware or Virtualization

Find an old junky computer, or attempt this with virtualization (I haven’t been able to virtualize this reliabily so far except in Parallels) and begin the installation process by choosing the first option.

Continue installing after ubuntu live loads by double clicking on the “install” icon.

 

Step 4: Answer the questions

Answer all the administrative questioning…

Region, Time Zone, Keyboard…

 

Step 5: Partitioning

For simplicity, I’m going to assume you have an entire hard drive to use, so choose the “Guided-Use Entire Disk” Option.

 

Step 6: User info

Don’t forget what you answer here… it’s important

 

Step 7: Get the install going

Let the install run while you get a cup of coffee

 

Step 8: APT-GET time

Add the following packages to enable Apache, MySQL and PHP by typing:

sudo apt-get install apache2 mysql-server php5-mysql

Restart the apache service by typing:

sudo /etc/init.d/apache2 restart

 

Step 9: Set up a password for the root MySQL user

 

sudo mysqladmin -u root password ******

****** = whatever you want your password to be

 

Step 10: Set up PHPMyAdmin

 

Type the following commands:

 

cd /var/www

sudo wget http://internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.10.3-english.tar.gz

sudo tar -xzvf phpMyAdmin-2.10.3-english.tar.gz

sudo mv phpMyAdmin-2.10.3-english.tar.gz admin

cd admin

sudo mkdir config

sudo chmod 777 config

 

Open a web browser and navigate to http://localhost/admin/scripts/setup.php

 

Click Add next to new server and choose localhost, and enter the password for the root account of MySQL which you set up in step 9.

 

Click Save in the configuration section.

Return to commandline and type:

cd /var/www/admin/config

 

sudo mv config.inc.php ../

cd ..

sudo rm -R config

Return to web browser and navigate to http://localhost/admin

 

Step 11: Add a new user and database for Drupal:

 

Navigate to http://localhost/admin

Choose Privileges

 

Choose Add a New User

Give it a name and confirm the password

Set Location to Local

Select the option to Create a database of the same name

Click Go

 

Step 12: Install Drupal

 

Type the following commands from the commandline:

 

cd /var/www

 

sudo wget http://drupal.org/files/projects/drupal-5.1.tar.gz

 

sudo tar -xzvf drupal-5.1.tar.gz

 

sudo mv drupal-5.1 drupal

 

Step 13: Configure for first use

Type the following commands:

cd /var/www/drupal/sites/default

sudo chmod 777 settings.php

 

Navigate to http://localhost/drupal in web browser

 

Enter the credentials established in Step 11

Type the following command:

sudo chmod 644 /var/www/drupal/sites/default/settings.php

 

Hooray! Drupal is running!


Follow

Get every new post delivered to your Inbox.