How do I set up and use my personal website?

The SCF enables users to publish documents and data on the web. Users may place files in a directory so that outside users can view them with a web browser.


Only individuals who are associated with either the Statistics or Biostatistics departments are eligible to use this resource to distribute information. Participants must observe all departmental and UC campus rules and regulations, and all copyright laws. The SCF reserves the right not to post submitted material.

Graduate students may maintain their own homepage using the following guidelines:

  • Posted material at the top level home page is limited to information related to the individual's academic interests. Listed below are examples of the type of information that is appropriate for the top level home page:
    1. Biographical information (including the student's photograph).
    2. Dissertation abstract.
    3. Technical reports (with the signed approval of faculty advisor).
    4. Data sets (with the signed approval of faculty advisor).
    5. Links to other professionally relevant sites.
  • Personal information can be included in a sub-level home page that is clearly identified as containing personal information. This area can include links to sites that are not related to to the individual's academic work.
  • The posting or advertising of personal items for sale and the posting of any published material (including articles authored by the student) is forbidden.

Creating HTML

Many applications can generate HTML files and you can probably export to HTML from your favorite application suite. LaTeX, Google Docs, Microsoft Word, TextEdit, and Mozilla Seamonkey are good places to start.

Some approaches to creating HTML include:

  1. latex2html will convert a LaTeX document to HTML. Here is a template tex file and here is the accompanying jpeg figure that is used in the tex file. To create the HTML, run "latex2html latex2htmlExample" on any SCF machine. If you want to have all the LaTeX section in a single HTML rather than separate HTML files for each section, do "latex2html -split 0 latex2htmlExample".
  2. You can use the knitr package in R to convert from R Markdown (.Rmd) and Sweave (.Rnw/.Rtex) files with embedded R code to HTML. Load the knitr package in R and then run "knit2html file.Rmd", replacing "Rmd" with the appropriate extension, as necessary. Contact consult [at] stat [dot] berkeley [dot] edu if you have questions.

Setting up the web area

You will need to deposit your HTML files into a user-specific directory, /mirror/data/pub/users/USERNAME/, on the SCF. View your site at the address Your files will be available immediately on the website, though you may need to reload your browser to see the changes. Make sure that your files are readable by the webserver, e.g. "chmod go+r filename.html", otherwise the public will not be able to view them. You can make use of this to hide content as well, e.g. "chmod go-r filename.html". 

Password protected web areas

If you need to have collaborators access material over the web but restrict its access, Berkeley's service is the easiest way of doing this and is fairly robust. Google Drive can also be used to share material. If you would like to pursue our legacy option, please go to the departmental intranet and see the instructions for Password Protected Web Areas.