Wiki source code of EigeneHomepage

Last modified by Aysegül Omus on 2025/05/19 15:34

Hide last authors
Aysegül Omus 7.1 1 = Creating your own homepage =
wikibot 1.1 2
Aysegül Omus 7.1 3 This article explains how and where you can set up a homepage of your own on the university computers. Each informatics student has the opportunity to create one under the URL: http://home.in.tum.de/~//accountName///.
wikibot 1.1 4
5
6
7 {{toc/}}
8
9
Aysegül Omus 7.1 10 == 1. General information ==
wikibot 1.1 11
12
Aysegül Omus 7.1 13 (% style="color:red" %)**Important remark:**(%%) https://wiki.ito.cit.tum.de/bin/view/Informatik/Helpdesk/Zugriffsrechte
wikibot 1.1 14
Aysegül Omus 7.1 15 This wiki page should be read thoroughly before the homepage creation so that potential risks are minimized.
Aysegül Omus 4.1 16
wikibot 1.1 17 ----
18
Aysegül Omus 7.1 19 == 2. Preparation ==
wikibot 1.1 20
Aysegül Omus 7.1 21 The "index.html" file for the home page is situated in the directory:
wikibot 1.1 22
23 {{html wiki="true"}}
24 {{code}}/u/halle/$USER/home_page/html-data/ {{/code}}
25 {{/html}}
26
27
Aysegül Omus 7.1 28 The following commands should be executed:
wikibot 1.1 29
30 {{html wiki="true"}}
Aysegül Omus 6.1 31 {{code}}ssh <loginname>@lxhalle.in.tum.de | mkdir -p $(dirname $HOME)/home_page/html-data | touch $(dirname $HOME)/home_page/html-data/index.html | chmod -v o+x $(dirname $HOME) | chmod -v o+x $(dirname $HOME)/home_page | chmod o+x $(dirname $HOME)/home_page/html-data | chmod o+r $(dirname $HOME)/home_page/index.html{{/code}}
wikibot 1.1 32 {{/html}}
33
34
Aysegül Omus 7.1 35 They ensure the generation of an empty "index.html" file and the correct setting of the access rights.
wikibot 1.1 36
Aysegül Omus 7.1 37 == 3. Generating HTML code ==
wikibot 1.1 38
39
40
41 {{html wiki="true"}}
Aysegül Omus 7.1 42 <span style='background-color: transparent;'>An abundance of HTML tutorials can be found on the Internet, one of them being [[w3schools>>https://www.w3schools.com/Html/]]. The previously generated index.html file should follow the following scheme:</span>
wikibot 1.1 43 {{/html}}
44
45 {{html wiki="true"}}
Aysegül Omus 6.1 46 {{code}}<!DOCTYPE html><html><head><title>Testpage</title></head><body bgcolor =#22ff00><h1>Mykoooonos</h1><p>So koennte ihre Webseite ausschauen.</p></body></html> {{/code}}
wikibot 1.1 47 {{/html}}
48
Aysegül Omus 7.1 49 After editing the file, the website can be accessed by calling http://home.in.tum.de/~//accountName///.
wikibot 1.1 50
51
Aysegül Omus 4.1 52 [[image:https://xwiki.rbg.tum.de/bin/download/Informatik/Helpdesk/EigeneHomepage/WebHome/Screenshot.png||alt="So könnte die Webseite aussehen" height="141" title="Screenshot.png" width="881"]]
wikibot 1.1 53
Aysegül Omus 7.1 54 == 4. Apache Error Logfile ==
wikibot 1.1 55
Aysegül Omus 7.1 56 It's possible to inspect the error log of the Apache server, which may turn out to be quite useful during troubleshooting:
Aysegül Omus 4.1 57
Aysegül Omus 7.1 58 * The file is saved on the computer ##home.in.tum.de## which can be accessed via ##ssh## {{{ssh <Ihr_Login>@home.in.tum.de}}}
59 * The file path is ##/var/apache2/logs/error_log##
60 * Enter the following command to read: {{{less /var/apache2/logs/error_log}}}