Lab notes for Thu Feb 12: Bryan is the volunteer he starts by showing us his MySQL installation: a) ps -ef | grep [username] b) he starts it with step008 in his /nobackup/[username]/mysql-5.0.22 c) he tells us he hasn't done step010 or connect_as root so he creates them d) he gets in as root with no password, then runs step010 and gets in with the new password Now he starts installing PHP to make sure he has it running and finishes by the end of the class Steps: 1. Go to /nobackup/[username] 2. Copy the compressed archive to your location 3. Uncompress and unarchive the compressed archive 4. That gives you a folder, move into the folder to start the installation. 5. Create step005 as in step 5 of the notes, customize it and make it executable 6. Type make; make install and hit enter 7. At this point the installation is finished, you just need to customize it. So: Minute paper: at this stage the installation was taking some time so we went in MySQL as root, followed the notes and created a user, a database, and gave the user access to the database. We went out as root, came back in as the user and created the database, populated it and queried it to obtain information from data. Then PHP step006 was finished so we went back to it. 8. Copy php.ini-dist into your conf folder and give it the name of php.ini 9. Go into conf and change httpd.conf 10. Customize php.ini 11. Create one.php with the contents We then worked on the nine.html -- nine.php --- nine.phps combination of files, which will be revisited on Monday. I will hope to add to these notes tonight Thu Feb 12. -- Adrian.