Wiki source code of EigeneHomepage

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

Show last authors
1 = Creating your own homepage =
2
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///.
4
5
6
7 {{toc/}}
8
9
10 == 1. General information ==
11
12
13 (% style="color:red" %)**Important remark:**(%%) https://wiki.ito.cit.tum.de/bin/view/Informatik/Helpdesk/Zugriffsrechte
14
15 This wiki page should be read thoroughly before the homepage creation so that potential risks are minimized.
16
17 ----
18
19 == 2. Preparation ==
20
21 The "index.html" file for the home page is situated in the directory:
22
23 {{html wiki="true"}}
24 {{code}}/u/halle/$USER/home_page/html-data/ {{/code}}
25 {{/html}}
26
27
28 The following commands should be executed:
29
30 {{html wiki="true"}}
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}}
32 {{/html}}
33
34
35 They ensure the generation of an empty "index.html" file and the correct setting of the access rights.
36
37 == 3. Generating HTML code ==
38
39
40
41 {{html wiki="true"}}
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>
43 {{/html}}
44
45 {{html wiki="true"}}
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}}
47 {{/html}}
48
49 After editing the file, the website can be accessed by calling http://home.in.tum.de/~//accountName///.
50
51
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"]]
53
54 == 4. Apache Error Logfile ==
55
56 It's possible to inspect the error log of the Apache server, which may turn out to be quite useful during troubleshooting:
57
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}}}