ILIAS-7-Install-Tutorial for Ubuntu 20.04
Rename a Client
There a several reasons for renaming a client. One could be if you installed a "Muster-Client" and after that you want to get a little "branding" for your institution.
- Set the client offline in ilias/setup/setup.php
Change the NIC-ID
- You can find the NIC-ID in Administration->General Setings-Server
- Example: NIC-ID 12334
- It is stored in the Database-Table settings in the column inst_id
- You can change the NIC-ID to any value. It must only be unique on your installation. For example, if this is client #2, you can change it to 2:
mysql
- mysql>
use coronadb1;
- mysql>
UPDATE `settings` SET `value` = '2' WHERE `settings`.`module` = 'common' AND `settings`.`keyword` = 'inst_id';
- mysql>
exit
- mysql>
Configure the webdir
- Explanation: corona1 (old clientname), corona2 (new clientname)
cd /var/www/html/ilias/data
- To look whats in here:
ls
- Choose the client to rename. In this case, I choose to rename corona1 to corona2
mv corona1 corona2
cd corona2
nano client.ini.php
- Change the Name:
name = "Corona-Client 2"
Configure the Datadir
cd /opt/iliasdata
- Choose the directory:
ls
mv corona1 corona2
Configure Lucene-Server (if installed)
- Change the corresponding values:
nano /opt/iliasdata/lucene/ilServer.properties
/etc/init.d/ilserver stop
/etc/init.d/ilserver start
Chat-System
The chatsystem needs no change.
Adjust rightsettings
- If you have, change this script:
nano /opt/scripts/setrights
- And run it