wikiacademia

site

Fall 2006 tutorials - PHP and MySQL

Sam H and Jacob T.

MySQL and PHP on cs.marlboro.edu

I've set up the standard ubuntu breezy apache2 + mysql-4 + phpmyadmin running on port 8080, with group=apache2 and you two guys in that group. I suggest setting "umask 0002" in your .bashrc so that new files in that directory don't have any funny group permissions.
URL : http://cs.marlboro.edu:8080/ ssh : /var/www/cs/apache2/
From off campus you can always use an ssh tunnel if the campus firewall blocks that port.
off-campus$ ssh -l username -L 8080:cs.marlboro.edu:8080 cs.marlboro.edu cs$
Just let that terminal sit there, connected.
Then pointing your browser at port 8080 on your off campus machine at http://localhost:8080/ will "tunnel" through the ssh connection and connect to port 8080 on cs.marlboro.edu. See "man ssh" for details.

Sam

http://cs.marlboro.edu/ courses/ fall2006/ tutorials/ php_mysql/ home
last modified Monday December 18 2006 8:33 am EST