Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
on-line_resources:faq:publichtml_page [2009/05/25 15:39]
marina created
on-line_resources:faq:publichtml_page [2015/05/11 18:29]
zanello [How to create a personal web page]
Line 1: Line 1:
-====== ​SISSA'​s Computing FAQ: How to create a personal web page ====== +====== How to create a personal web page ======
  
 <note i> <note i>
-  Please note that the personal web pages in SISSA MUST be used only for work purposes. DO NOT insert images/​music/​video,​ etc. covered by copyright, as specified by the __[[:​sissanetcomppolicy|Sissa Network Computing Policy]]__.+The personal web pages in SISSA MUST be used only for work purposes. DO NOT insert images/​music/​video,​ etc. covered by copyright, as specified by the [[:​sissanetcomppolicy|Sissa Network Computing Policy]].
 </​note>​ </​note>​
  
 In SISSA you can have a personal web page, reachable as [[http://​people.sissa.it/​|http://​people.sissa.it/​~yourusername/​]] In SISSA you can have a personal web page, reachable as [[http://​people.sissa.it/​|http://​people.sissa.it/​~yourusername/​]]
 +----
 +==== Automatic creation ====
 +There is a script, usable on the [[on-line_resources:​faq:​server-ssh-sftp|Common Access server]], that automatically creates your generic home page:\\
 +**sissa-mkhome**
  
-You have to: +----
  
-  * Connect via //ssh// to shannon.sissa.it +==== "​Manual"​ creation ==== 
-  * create a subdirectory (in your home dir.)called ''​public_html''​ and set read-permissions ​to all users:+Butif you prefer ​to manually perform ​all necessary operations, you have to
  
-  mkdir $HOME/​public_html +  ​* **1)** Connect via **ssh** to access server **//​ssh.sissa.it//​** ; 
-  chmod a+rx $HOME/​public_html+\\ 
 +  * **2)** create a subdirectory in your home (main directory), called **public_html** and set read-permissions to all users: 
 +**mkdir $HOME/​public_html**\\ 
 +**chmod a+rx $HOME/​public_html**\\ 
 +\\ 
 +  * **3)** enable only execute permission to your home directory:​ 
 +**chmod a+x $HOME**\\ 
 +\\ 
 +  * **4)** create a file named **index.html** (or **index.php** if you use PHP code) into the **public_html** subdirectory. This is crucial: in our network system, your file must have this name for your page to show up as your default Home Page. 
 +\\ 
 +  * **5)** enable read permission to your html files (and php files): 
 +**chmod a+r $HOME/​public_html/​*.html**\\ 
 +\\
  
-  * enable only execute permission to your home directory: 
- 
-  chmod a+x $HOME 
- 
-  * create a file named ''​index.html''​ (or ''​index.php''​ if you use PHP code) into the ''​public_html''​ subdirectory. This is crucial: in our network system, your file must have this name for your page to show up as your default Home Page. 
- 
-  * enable read permission to your html files (and php files): 
- 
-  chmod a+r $HOME/​public_html/​*.html 
- 
-Please note:\\ 
-There is a script, usable on shannon.sissa.it,​ that automatically does all these things for you and creates a default generic home page:  
- 
-  sissa-mkhome