Skip to content

SebastianLang-GER/occ-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Nextcloud OCC Terminal

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.

Installation

  1. Download the latested release of the source code.
  2. Extract the ZIP archive.
  3. Modify the files .htaccess, .htpasswd and optionally settings.json as described in the next sections.
  4. Upload the files to your web server.
  5. Open the tool with your web browser by entering your specific URL (e.g. http://mysite.com/path/occ-terminal/).

.htaccess

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

.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!

settings.json

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).

License

This software is licensed under MIT licence.

Credits

This tool uses icons based on Octicons by GitHub. The icon set is licensed under MIT licence.

About

Web-based terminal app to run Nextcloud OCC commands without SSH.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published