User Tools

Site Tools


cern:website

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
cern:website [2020/05/13 11:55] – [Copy to eos] iwncern:website [2020/05/13 12:21] – [Personal CERN website] iwn
Line 1: Line 1:
- ====== Personal CERN website ======+ ======= Personal CERN website =======
  
 You can make a personal website to share documents in your ''/afs'' or ''/eos'' directory via the World Wide Web. Please follow the instructions on [[https://cernbox-manual.web.cern.ch/cernbox-manual/en/web/|this page]]. You can make a personal website to share documents in your ''/afs'' or ''/eos'' directory via the World Wide Web. Please follow the instructions on [[https://cernbox-manual.web.cern.ch/cernbox-manual/en/web/|this page]].
 +
 +The steps are basically:
 +  - Create a ''/eos/user/${USER::1}/$USER/www'' directory on EOS (''lxplus'').
 +  - Promote it to a website via CERNBox and CERN Web services.
 +  - Configure access with ''.htaccess''.
 +  - Configure each webpage with an index file (''index.html'' or ''index.php'').
 +  - Add content.
 +
 +
 ===== Setup ===== ===== Setup =====
 +
 +==== Setup access ====
  
 You need to configure access to CMS members as described [[https://espace.cern.ch/webservices-help/websitemanagement/ConfiguringAFSSites/Pages/AccesscontrolonAFSsites.aspx|here]] with an Apache ''[[https://httpd.apache.org/docs/2.4/howto/htaccess.html|.htaccess]]'' file in you ''www'' folder: You need to configure access to CMS members as described [[https://espace.cern.ch/webservices-help/websitemanagement/ConfiguringAFSSites/Pages/AccesscontrolonAFSsites.aspx|here]] with an Apache ''[[https://httpd.apache.org/docs/2.4/howto/htaccess.html|.htaccess]]'' file in you ''www'' folder:
Line 19: Line 30:
  
 Other AD FS groups can be found in CERN's [[https://e-groups.cern.ch/e-groups/EgroupsSearch.do|E-groups]]. Other AD FS groups can be found in CERN's [[https://e-groups.cern.ch/e-groups/EgroupsSearch.do|E-groups]].
 +
 +
 +==== Setup index ====
  
 If you want to display documents and directories in a custom style (in particular plots), you can add an ''index.html'' or ''index.php'' file, for example [[cern:index|this one]]. If you want to display documents and directories in a custom style (in particular plots), you can add an ''index.html'' or ''index.php'' file, for example [[cern:index|this one]].
Line 71: Line 85:
 fusermount -u ~/eos fusermount -u ~/eos
 </code> </code>
-You can put this alias in your ''.bashrc'':+<wrap tip>Pro tip</wrap> You can put this alias in your ''.bashrc'':
 <code bash> <code bash>
 alias meos='fusermount -u ~/eos && sshfs -o allow_other,reconnect $USER@lxplus.cern.ch:/eos/user/${USER::1}/$USER/ ~/eos && echo "~/eos" && lt ~/eos' alias meos='fusermount -u ~/eos && sshfs -o allow_other,reconnect $USER@lxplus.cern.ch:/eos/user/${USER::1}/$USER/ ~/eos && echo "~/eos" && lt ~/eos'
cern/website.txt · Last modified: 2023/09/29 17:29 by iwn