Difference between revisions of "Personal and course web pages"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(How to upload files to the DTU Compute web server?)
(Windows share access to DTU Compute web server)
Line 29: Line 29:
 
and type
 
and type
  
   \\www2.imm.dtu.dk  
+
   \\www2.compute.dtu.dk  
  
 
in the text box.
 
in the text box.

Revision as of 08:44, 28 January 2021

personal_web_pages.jpgThis page contains a howto for uploading files for personal and course web pages on the DTU Compute web server (www2.imm.dtu.dk). For a general description of the DTU Compute web server please refer to this link.

Please also see the mini FAQ for help.

How to upload files to the DTU Compute web server?

Contact itsupport@compute.dtu.dk to get access to course pages.

Depending on the platform you use, there are a number of possibilities:

From a (Windows) PC

Two options:

  • Secure FTP - works from remote locations
  • Windows share - works only when connected to DTU Compute network

Secure FTP acces to DTU Compute web server

Download an SSH Windows client, install it and make a connection to thinlinc.compute.dtu.dk. Personal files should be placed in the directory /www/home/NN/public_html where NN is your DTU Compute user name. The course files are placed under /www/docs/courses/xxxxx where xxxxx is the course number. Contact itsupport@compute.dtu.dk to get access to course pages.

Windows share access to DTU Compute web server

NB! this option only works for computer connected to the internal DTU Compute network

Connect to the www2 server by choosing

Start --> Run

and type

 \\www2.compute.dtu.dk 

in the text box.

Once connected you will see (at least) 2 shares; a nn (nn is your login name) share and a docs. The nn is for your personal WWW files and docs is for "shared" ones. The password to be used is the password used by the DTU Compute Active Directory Domain.

File permissions

Permissions on a file can be changed like any other file on a NT filesystem (Properties -> Security -> Permissions). However, only a subset of possibilities are available (due to the limitations in mapping NT permissions to UNIX permissions).

In general there should be no need to change permission on any file/directory.

Disk quota

If you map one of the shares on the WWW server to a drive (e.g. W:) and take properties on that drive, you the used/available space reflects your disk usage/quota on all shares on the WWW server.

Mapping of file names

As default, the server is case insensitive but case preserving - just like an Windows server. This means, that if you create (on the UNIX side) a "~/public_html/project" and "~/public_html/Project" directory you will only be able to see both on your Windows box but if you try to create the same to directories from Windows you will fail because "there is already a file with that name". If you create a directory (from the PC) named "~/public_html/Project2" it will be seen (on the UNIX side) as "~/public_html/Project2". Confused? Just stick to lowercase letters then.

Files (and directories) which starts with a '.' (i.e. dotfiles) are marked as 'hidden'.

Danish characters are in principle OK to use for file and directory names, but it might cause some troubles if you don't set codepage to 850 on your Windows box (especially "Ø" get messed up). As always, test your pages/links with a browser.

From UNIX servers

From most servers (thinlinc, grid01, grid02, ...) you will see your personal WWW directory at /www/home/initials/public_html - other HTML files in /www/docs


From Mac clients

The pages are here:

/www/docs/project/what-ever (projects)

/www/docs/courses/<course number> (courses)

/www/home/<username> (personal web pages)

To connect to the web server and access your web pages you can do the following or use FileZilla (see below):

On the "Go" menu select "Connect to Server...?K"In the "Server Address:" field enter smb://www2.imm.dtu.dk

When prompted for your username and password enter: nn@win.dtu.dk (nn is your DTU Compute username) Your DTU password

From FileZilla

Get FileZilla

  1. Add the following information:
 Server: thinlinc.compute.dtu.dk
 username: your username
 password: your password
 path: e.g. /www/docs/courses/<course number>

From Android

Install an app with ftp f.ex. ES file explorer from Google Play

Choose Ftp, sftp, server: thinlinc.compute.dtu.dk, your username and password

www2 webserver files:

/www/docs/project/what-ever (projects)

/www/docs/courses/<course number> (courses)

/www/home/<username> (personal web pages)