ILIAS-7-Install-Tutorial for Ubuntu 20.04

Client-Creation, JSON-File, Login

  • This works only with ILIAS versions >=7
  • Since ILIAS 7 it is not possible to have more than one client per installation
  • I assume that you allready installed a database called ilias and that you have assigned a database user (ot root!) for this. You will need these credentials now.ย 

Creating a JSON file for configuration parameters

  • mkdir -p /opt/scripts/clients
  • nano /opt/scripts/clients/clientname1.json
  • Paste these lines in:ย 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"common" : {
"client_id" : "test8",
"server_timezone" : "Europe/Berlin",
"register_nic" : false
},
"database" : {
"type" : "innodb",
"host" : "localhost",
"port" : "3306",
"database" : "ildb1",
"user" : "ildbuser1",
"password" : "USER_PASSWORD",
"create_database" : true
},
"filesystem" : {
"data_dir" : "/opt/iliasdata"
},
"http" : {
"path" : "https://bbs-ilias.de"
},
"language" : {
"default_language" : "de",
"install_languages" : ["de"]
},
"logging" : {
"enable" : true,
"path_to_logfile" : "/opt/iliasdata/log/ilias.log",
"errorlog_dir" : "/opt/iliasdata/errorlog/"
},
"systemfolder" : {
"contact" : {
"firstname" : "Wolfgang",
"lastname" : "Huebsch",
"email" : "admin@yourdomain.com"
}
},
"globalcache" : {
"service" : "apc",
"components" : {
"clng" : true,
"comp" : true,
"events" : true,
"global_screen" : true,
"obj_def" : true,
"ilctrl" : true,
"tpl" : true,
"tpl_blocks" : true,
"tpl_variables" : true
}
},
"utilities" : {
"path_to_convert" : "/usr/bin/convert",
"path_to_zip" : "/usr/bin/zip",
"path_to_unzip" : "/usr/bin/unzip"

},
"pdfgeneration" : {
"path_to_phantom_js" : "/usr/bin/phantomjs"
},

"preview" : {
"path_to_ghostscript" : "/usr/bin/gs"
},

"mediaobject" : {
"path_to_ffmpeg" : "/usr/bin/ffmpeg"
},


"style" : {
"manage_system_styles" : true,
"path_to_lessc" : "/usr/bin/less"
},

"mathjax" : {
"path_to_latex_cgi" : "http://localhost:8003"
},

"webservices" : {
"soap_user_administration" : true,
"soap_wsdl_path" : "http://localhost/webservice/soap/server.php?wsdl",
"soap_connect_timeout" : 30,
"rpc_server_host" : "127.0.0.1",
"rpc_server_port" : "11111"
},

"chatroom" : {
"address" : "",
"port" : 444,
"https" : {
"cert" : "\/etc\/letsencrypt\/live\/chat8.bbs-ilias.de\/fullchain.pem",
"key" : "\/etc\/letsencrypt\/live\/chat8.bbs-ilias.de\/privkey.pem",
"dhparam" : "\/etc\/letsencrypt\/live\/chat8.bbs-ilias.de\/dhparam.pem"
},
"log" : "/opt/ilchatserver/chat.log",
"log_level" : "warning",
"error_log" : "/opt/ilchatserver/chaterror.log",

"deletion_interval" : {
"deletion_unit" : "months",
"deletion_value" : "6",
"deletion_time" : "23:45"
}
},

"contact" : {
"firstname" : "Homer",
"lastname" : "Simpson",
"title" : "Sir",
"position" : "Security Inspector Sector 7G",
"institution" : "Atomic Powerplant Springfield",
"street" : "742 Evergreen Terrace",
"zipcode" : "12345",
"city" : "Springfield",
"country" : "USA",
"phone" : "(939) 555-0113",
"email" : "Chunkylover53@aol.com"
}
}

Explanations

  • Change all lines that are marked like this:
    • ย <----ย 
    • You can only use the code above, not the code underneath, because of the comments
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"common" : {
"client_id" : "test7", <---- Name of your client
"server_timezone" : "Europe/Berlin",
"register_nic" : true
},
"database" : { <---- Database credentials
"type" : "innodb",
"host" : "localhost",
"port" : "3306",
"database" : "ilias",
"user" : "dbuser1",
"password" : "USER_PASSWORD",
"create_database" : true
},
"filesystem" : {
"data_dir" : "/opt/iliasdata"
},
"http" : {
"path" : "https://bbs-ilias.de" <---- Your FQDN
},
"language" : {
"default_language" : "de",
"install_languages" : ["de"]
},
"logging" : {
"enable" : true,
"path_to_logfile" : "/opt/iliasdata/log/ilias.log", <---- Check if this folde exists
"errorlog_dir" : "/opt/iliasdata/errorlog/" <---- also
},
"systemfolder" : {
"contact" : { <---- Change
"firstname" : "Wolfgang",
"lastname" : "Huebsch",
"email" : "admin@yourdomain.com"
}
},
"globalcache" : { <---- this can be later changed in ilias/data/clientname/client.ini.php
"service" : "apc",
"components" : {
"clng" : true,
"comp" : true,
"events" : true,
"global_screen" : true,
"obj_def" : true,
"ilctrl" : true,
"tpl" : true,
"tpl_blocks" : true,
"tpl_variables" : true
}
},
"utilities" : {
"path_to_convert" : "/usr/bin/convert",
"path_to_zip" : "/usr/bin/zip",
"path_to_unzip" : "/usr/bin/unzip"

},
"pdfgeneration" : {
"path_to_phantom_js" : "/usr/bin/phantomjs"
},

"preview" : {
"path_to_ghostscript" : "/usr/bin/gs"
},

"mediaobject" : {
"path_to_ffmpeg" : "/usr/bin/ffmpeg"
},


"style" : {
"manage_system_styles" : true,
"path_to_lessc" : "/usr/bin/lessc"
},

"systemfolder" : {
"client" : { <---- Change this
"name" : "test7",
"description" : "Test Installation for ILIAS 7",
"institution" : "Atomic Powerplant Springfield"
},

"mathjax" : {
"path_to_latex_cgi" : "http://localhost:8003" <---- Change this
},

"webservices" : {
"soap_user_administration" : true,
"soap_wsdl_path" : "http://localhost/webservice/soap/server.php?wsdl",
"soap_connect_timeout" : 30,
"rpc_server_host" : "127.0.0.1",
"rpc_server_port" : "11111"
},

"chatroom" : {
"address" : "chat.bbs-ilias.de", <---- Change this
"port" : 443,
"https" : { <---- These parameters are not important
"cert" : "",
"key " : "",
"dhparam " : ""
},
"log" : "/opt/iliasdata/log/ilchat.log",
"log_level" : "warning",
"error_log" : "/opt/iliasdata/log/ilchaterror.log",

"deletion_interval" : {
"deletion_unit" : "months",
"deletion_value" : "6",
"deletion_time" : "23:45"
}
},

"contact" : { <---- Change this
"firstname" : "Homer",
"lastname" : "Simpson",
"title" : "Sir",
"position" : "Security Inspector Sector 7G",
"institution" : "Atomic Powerplant Springfield",
"street" : "742 Evergreen Terrace",
"zipcode" : "12345",
"city" : "Springfield",
"country" : "USA",
"phone" : "(939) 555-0113",
"email" : "Chunkylover53@aol.com"
}
}
}

Creating the client itself

  • cd /var/www/html/ilias
  • php setup/setup.php install /opt/scripts/clients/my-configuration.json
  • Adjust the rightsettings:
    • chown -R www-data:www-data /var/www/html
    • chown -R www-data:www-data /opt/iliasdata
    • chmod -R 774 /var/www/html
    • chmod -R 770 /opt/iliasdata

First Login

  • https://yourserver.com/ilias/login.php
    • User: root
    • Passwort: homer


No comment has been posted yet.