This is a PHP tool intended for administrators of Nextcloud instances to run OCC commands via a web browser.
This is especially useful if your Nextcloud instance is located on shared hosting servers where you often don't have access to SSH to run commands.
- Download the latested release of the source code.
- Extract the ZIP archive.
- Modify the files
.htaccess,.htpasswdand optionallysettings.jsonas described in the next sections. - Upload the files to your web server.
- Open the tool with your web browser by entering your specific URL (e.g.
http://mysite.com/path/occ-terminal/).
This tool was developed primarily for Apache HTTP servers. .htaccess is a configuration file for this type of server.
For the parameter AuthUserFile in line 25 it is required to adjust the path to the .htpasswd file according to your server setup.
Note
It's only possible to use absolut paths due to the implementation in Apache!
Example:
AuthUserFile /www/htdocs/username/occ-terminal/.htpasswd
This tool was developed primarily for Apache HTTP servers. .htpasswd is used to store usernames and passwords for basic authentication on this type of server.
Please use for example Web 2.0 Generators for generating a set of username and MD5 or SHA encrypted password.
You can also add multiple users (one set per line).
Caution
It is strongly recommeded to replace the default user and/or password!
Optionally, you can change the tool settings according to your preferences.
Most of these settings can also be changed in the tool directly if allow_settings_modification is set to true (default).
This software is licensed under MIT licence.
This tool uses icons based on Octicons by GitHub. The icon set is licensed under MIT licence.