Difference between revisions of "Personal and course web pages"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
m (From Mac clients)
Line 1: Line 1:
[[Image:88-personal_web_pages.jpg| 500x300px |personal_web_pages.jpg]]This page contains a howto for uploading files for personal and course web pages on the IMM web server (www2.imm.dtu.dk). For a general description of the IMM web server please refer to this [[Web server | link]].
+
[[Image:88-personal_web_pages.jpg| 500x300px |personal_web_pages.jpg]]This 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 [[Web server | link]].
  
 
Please also see the [[IMM web server miniFAQ | mini FAQ]] for help.
 
Please also see the [[IMM web server miniFAQ | mini FAQ]] for help.
  
==How to upload files to the IMM web server?==
+
==How to upload files to the DTU Compute web server?==
  
 
Depending on the platform you use, there are a number of possibilities:
 
Depending on the platform you use, there are a number of possibilities:
Line 12: Line 12:
  
 
* ''' Secure FTP''' - works from remote locations
 
* ''' Secure FTP''' - works from remote locations
* ''' Windows share''' - works only when connected to IMM network
+
* ''' Windows share''' - works only when connected to DTU Compute network
  
====Secure FTP acces to IMM web server====
+
====Secure FTP acces to DTU Compute web server====
  
Download an SSH Windows client, install it and make a connection to '''thinlinc.imm.dtu.dk'''. Personal files should be placed in the directory '''/www/home/NN/public_html''' where NN is your IMM user name. The course files are placed under '''/www/docs/courses/xxxxx''' where xxxxx is the course number. Contact [mailto:itsupport@imm.dtu.dk itsupport@imm.dtu.dk] to get access to course pages.
+
Download an SSH Windows client, install it and make a connection to '''thinlinc.imm.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 [mailto:itsupport@imm.dtu.dk itsupport@imm.dtu.dk] to get access to course pages.
  
====Windows share access to IMM web server====
+
====Windows share access to DTU Compute web server====
  
'''NB!''' this option only works for computer connected to the internal IMM network
+
'''NB!''' this option only works for computer connected to the internal DTU Compute network
  
 
Connect to the www2 server by choosing
 
Connect to the www2 server by choosing
Line 32: Line 32:
 
in the text box.
 
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 passowrd used by the IMM Active Directory Domain.
+
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 passoword used by the DTU Compute Active Directory Domain.
  
 
=====File permissions=====
 
=====File permissions=====
Line 61: Line 61:
 
===From Mac clients===
 
===From Mac clients===
 
To connect to the web server and access your personal web page do the following:On the "Go" menu select "Connect to Server...?K"In the "Server Address:" field enter smb://www2.imm.dtu.dk/nn/public_htmlWhen prompted for your username and password enter: WIN\nn
 
To connect to the web server and access your personal web page do the following:On the "Go" menu select "Connect to Server...?K"In the "Server Address:" field enter smb://www2.imm.dtu.dk/nn/public_htmlWhen prompted for your username and password enter: WIN\nn
  Your Windows AD password(nn is your IMM username)
+
  Your Windows AD password(nn is your DTU Compute username)
  
 
====From rapidweaver (courtesy by Michael Riebel Boesen)====
 
====From rapidweaver (courtesy by Michael Riebel Boesen)====

Revision as of 11:37, 3 July 2013

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?

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.imm.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@imm.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.imm.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 passoword 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.

Vista users: In order to connect to the samba 2.x server on www2 you must change the security policy of Vista as shown in this link.

From UNIX servers

From most servers (csimap, serv1,sunfire,...,sunray4,sunray5,...) you will see your personal WWW directory at /www/home/initials/public_html - other HTML files in /www/docs


From Mac clients

To connect to the web server and access your personal web page do the following:On the "Go" menu select "Connect to Server...?K"In the "Server Address:" field enter smb://www2.imm.dtu.dk/nn/public_htmlWhen prompted for your username and password enter: WIN\nn

Your Windows AD password(nn is your DTU Compute username)

From rapidweaver (courtesy by Michael Riebel Boesen)

  1. Go to File -> Publishing settings
  2. click on the spanner (DK: svensknøgle)
  3. Click Use SFTP
  4. Click Save
  5. Add the following information:
 Server: thinlinc.imm.dtu.dk
 username: your linux username
 password: your linux password
 path: e.g. /www/docs/project/what-ever, see e.g. https://itswiki.imm.dtu.dk/index.php/Personal_and_course_web_pages