Tuesday, June 12, 2012

Web server replaced

Web serving or: How We Learned to Stop Worrying and Love Debian

The OCF web server, which hosts http://www.ocf.berkeley.edu and hundreds of virtual hosts for group accounts, was migrated over to our newest (and fastest) server running Debian GNU/Linux on June 9.

The Good

Websites, especially with dynamic content, should be loaded (much) faster. Features might be added later down the road.

The Bad

This is possibly our most visible non-lab-related (intentional) change in the past few years, and when that happens, stuff tends to break. We made the change over summer to allow us the most time to fix things with minimal disruption, and before we are moved out of the basement of Eshleman Hall (sometime during or after August).

The Ugly

It might take us a while to fix things. Contact us if something doesn't work that worked before.

Known unresolved issues

Troubleshooting

  • Are your CGI scripts returning an "Internal Server Error"? Some users have hard coded the path to old Perl or Python interpreters. We recommend changing the first line of these scripts to "#!/usr/bin/env perl" or "#!/usr/bin/env python", respectively.
  • Does your CGI script or binary depend on a particular architecture? If so, it may need to be compiled again for amd64 (Debian squeeze).