THE UNIVERSITY OF IOWA
COLLEGE OF LIBERAL ARTS & SCIENCES
 

Home Departments & Divisions For Students For Faculty Alumni & Friends Dean's Office Contact Us

Web and Database Development Environment Service Description


Web and Database Development Environment Service Description

CLAS Linux Support provides servers named webdev.cs.uiowa.edu and dbdev.cs.uiowa.edu that are configured for web and database programming/development for use in support of courses taught by members of the College of Liberal Arts & Sciences. The instructor should request access to the environment prior to the start of the course to verify that planned homework and projects will work in the environment. Sometime during the week after grades are submitted for the semester, all directories in /webdev/user/ will be cleaned up and all databases will be removed. If instructors would like to continue to have access between semesters, please inform the CLAS Linux Support staff.

Access

The service is only available from the campus network. If you are not on the campus network, you can use the UI Anywhere VPN service to connect to the campus network. Alternatively, you can use the NoMachine environment.

Web Programming Environment

Each user that is configured for the web programming environment will be given a directory named /webdev/user/<hawk_id>. This directory is accessible from any managed Linux workstation. The URL http://webdev.cs.uiowa.edu/~<hawk_id>/ will correspond to that directory. The server is also SSL-enabled and can be accessed via https://webdev.cs.uiowa.edu/~<hawk_id>/ as well. Within /webdev/user/<hawk_id> are a few sub-directories and files (replace <hawk_id> below with your actual Hawk ID):

Database environment

Each user who is configured for the web programming environment will also be given a separate database running on both MySQL 5.0.x and PostgreSQL 8.1.x on dbdev.cs.uiowa.edu. The database name, user name and password will be placed in a file in /webdev/user/<hawk_id>. For security purposes, connections to the databases are only allowed from the campus network.

Notes for instructors

There are a variety of sample scripts/programs that have been written that are included in the examples directory. Most of these use each language and make a database connection. If there's an example that you would like to add, please send an email to request@divms.uiowa.edu to coordinate the inclusion of the example. Each course will have its own instance of Tomcat 6 and Tomcat 7, if requested. As the instructor, you will have the ability to restart both via sudo. We can also set up a cron job to automatically restart them every 15 minutes.

Examples of using the environment

Please see this tutorial/example page for more instructions on using the environment.