Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
on-line_resources:faq:publichtml_page [2009/12/18 10:10]
marina
on-line_resources:faq:publichtml_page [2023/05/19 11:33] (current)
zanello
Line 1: Line 1:
-====== ​SISSA Computing FAQ: How to create a personal web page ====== +====== How to create a personal web page ======  
 + 
 +<note important>​Outdated Content</​note>​
  
 <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 +
-  * create a subdirectory (in your home dir.), called ''​public_html''​ and set read-permissions to all users: +
- +
-  mkdir $HOME/​public_html +
-  chmod a+rx $HOME/​public_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+==== "​Manual"​ creation ==== 
 +But, if you prefer to manually perform all necessary operations, you have to: 
  
-Please note:\\ +  * **1)** Connect via **ssh** to access server **//​ssh.sissa.it//​** ; 
-There is scriptusable on shannon.sissa.itthat automatically does all these things ​for you and creates a default generic home page: +\\ 
 +  * **2)** create ​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 systemyour 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**\\ 
 +\\
  
-  sissa-mkhome