|
4.
|
|
|
Command-line interfaces (CLI) allow advanced users to interact with Mahara through the command line or terminal rather than through a graphical interface. That can speed up certain actions or make them easier to execute.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:11
|
|
5.
|
|
|
|new in Mahara 18.04| Index sites running Elasticsearch faster
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:20
|
|
6.
|
|
|
.. image:: images/newin18point04.*
:alt: new in Mahara 18.04
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
|
|
7.
|
|
|
**Prerequisite**: Elasticsearch is installed and set up to run on the site.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:109
|
|
8.
|
|
|
When a large site is indexed or re-indexed so that Elasticsearch can display results, this process can take a very long time because the indexing happens on cron runs. If the batch that was indexed finished before the end of the cron though, there is a lag between the next batch starting up again. The ``fast_index`` CLI script starts the next batch indexing right after the previous one finished.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:111
|
|
9.
|
|
|
You run the script with the following command:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:113
|
|
10.
|
|
|
``sudo -u www-data php admin/cli/fast_index.php``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:115
|
|
11.
|
|
|
Install and update language packs
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:123
|
|
12.
|
|
|
Typically, if you want to update a language pack, you need to download the entire language pack manually and place it into the appropriate folder. This is cumbersome, especially when you want to update the language packs during minor point updates.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:125
|
|
13.
|
|
|
Using CLI, you can speed up the process.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:127
|