Setting up web pages on the Engineering web server involves logging into a Linux system, creating the necessary directory, and changing some permissions on the files and directories you create so that the web server can access your web documents.  Here are the steps you need to follow.

  1. Login to a Linux server (such as linuxremote1.bucknell.edu) and open a terminal window. See this article if you need more information about how to do that.
  2. Create a directory called public_html:
    mkdir ~/public_html
  3. Change the permissions on your home directory:
    chmod go+x ~
  4. Change the permissions on your public_html directory:
    chmod go+x ~/public_html
  5. Place your web files (HTML documents, images, etc.) in this public_html directory.  Make sure to change the permissions on web content. Note that file and directory permissions are slightly different:
    chmod go+r file.html image.jpg
    chmod go+x directoryname

After following these steps, your documents should be available at either/both:

https://www.eg.bucknell.edu/~username/file.html

https://www.linux.bucknell.edu/~username/file.html

(where username is your Bucknell username and file.html is the name of the HTML file you create).

For additional information or assistance, please contact the Tech Desk at 570.577.7777 or techdesk@bucknell.edu.

Keywords: web development