How to Create An Account on Pirun.ku.ac.th

  1. Go to http://pirun.ku.ac.th.
  2. Click on Sign Up ...and accept all the bogus security certificates!
  3. Enter your KU E-mail login and password.
  4. Wait 10 minutes (maybe). Pirun will send you a confirmation message.
  5. You will receive a home directory on Pirun where you can store files (including your web pages), and an interactive UNIX login account.

How to Create a Web Directory and Web Page on Pirun

  1. You can connect to Pirun in 3 ways: (1) interactive login using an SSH terminal program, (2) using an FTP application such as CuteFTP, (3) using SSH FTP, such as the SSH File Manager.
  2. Create a directory (on Pirun) named public_html.
  3. Make sure this directory is world readable (UNIX: chmod 755 public_html).
  4. Put your web pages in this directory.
  5. On UNIX, the preferred name of a directory's main index page is index.html. This is the web page that is shown automatically when someone enters the directory.

    If there is no index.html file in your public_html directory, then Pirun won't let anyone view files in your directory! (Other web servers will list all the files in the directory. On Pirun, access is restricted for security.)

Pirun Services describes the services offered on Pirun.

How to View Your Web Pages

How to Manage your HTML files (without using UNIX)

  1. Develop your web pages on your PC. You can test them using your web browser by using File --> Open File right on your PC.
  2. When you are satisfied, upload your web pages to Pirun, into your public_html directory.
  3. You can use either the FTP or SSH protocols for uploading programs. FTP is much faster than SSH, but for small files you won't notice any difference.

    There are many graphical FTP programs for Windows, such as CuteFTP (you can see me for an old version): just "drag and drop" to upload files. "SSH Secure Shell" (SSHWin) has a nice ssh terminal and graphical File Manager (looks just like the Windows file manager). See my downloads directory for an Education License version of SSHWin.

  4. Linux: if you are using Linux on your PC, the easiest, most efficent way (by far!) to update your files on Pirun is rsync. rsync only updates changes in files, by analyzing modification dates and file contents.. It can also delete extraneous files on the remote machine,
  5. Example: here's a view of this directory(!) viewed from my PC in the CPE dept, using SSH File Manager:

James Brucker
Office: Rm 319 CPE Building
Email: jbrucker@yahoo.com
Telephone: 02-942-8555 Ext 1431