Creating personal undergraduate web sites

Requirements

Procedure

  • access linux.student.math
  • type the commands:
    • mkdir ~/public_html
    • chmod 2755 public_html
    • chown $USER public_html
    • chgrp $USER public_html
    • cd public_html
  • with a text editor create the file, index.html:
    • nano index.html
    • chmod 0644 index.html
  • or get advanced with CGI
    • nano index.cgi
    • #!/usr/bin/php-cgi
      <?php
      echo "test";
      ?>
    • chmod 0744 index.cgi
  • the site should now be accessible at www.student.math.uwaterloo.ca/~UWuserid