Use the Coronium Webmin to view and control many aspects of your Coronium Core server through a web browser.
The Coronium tool is accessable via SSH. You must be logged in as the coronium user to use the command line tool.
A command line tool is available on the server to handle a few common operations. To see available options, on the command line, type:
...and press the Enter key.
Using the Webmin go to the Log Viewer section and select a log to view.
To view log files via SSH, connect to the server with the coronium user.
To quickly monitor the debug log file, enter
cclog on the command line.
Log files can be found in the /usr/local/coronium/logs directory.
To watch a log file in real-time:
tail -f /usr/local/coronium/logs/<log-name>.log
Press control-x to stop watching the log file.
Log File Rotation
The log files are managed automatically, and will be "rotated" once they exceed a certain size limit.
When your Coronium Core server starts, its monitored by a utility called Monit, which makes sure that the required processes stay active. In the event that a process runs into an issue or crashes, it will be restarted shortly.
In the rare case where you need to manually stop, start or restart the Coronium stack, log in using the coronium user.
To stop the Coronium stack, on the command line, enter:
sudo coronium stop
To start the Coronium stack, use:
sudo coronium start
To restart the Coronium stack, use:
sudo coronium restart
You should rarely need to manually control the Coronium stack process.
The following user directories can be found in /home/coronium. They are will not be affected in any server updates.
|files||Holds all file uploads.||Files|
|projects||Holds all the api projects.||Projects|
|pages||Holds all public facing web pages.||Pages|
|templates||Holds all templates for the server-side template module.||Template|
|config||Holds all configuration files.|
If you store files in the files/public directory they are accessible via the browser, which makes them insecure by nature. A common use case for storing files in the public directory is for displaying them within page templates.
If a file with the same path exists in the pages directory, it will be served first. If a file does not exist at the path, then the files/public directory will be checked.
If you need to change the databases passwords at any time, you can issue the following commands, and carefully follow the instructions while logged in as the coronium user:
You will need to provide your current Mongo password.