Useful commands for managing MediaCP:
MUST CONNECT TO SSH USING ROOT
-
Starting MediaCP Service:
bashCopy codesystemctl start mediacp
-
Stopping MediaCP Service:
bashCopy codesystemctl stop mediacp
-
Restarting MediaCP Service:
bashCopy codesystemctl restart mediacp
-
Checking MediaCP Service Status:
bashCopy codesystemctl status mediacp
-
Viewing MediaCP Logs:
- Main log:
bashCopy code
tail -f /var/log/mediacp.log
- Web log:
bashCopy code
tail -f /var/log/mediacp/mediacp-web.log
- Main log:
-
Updating MediaCP (example):
- Download new version (replace URL with actual URL):
bashCopy code
wget https://example.com/mediacp-latest.tar.gz
- Extract the archive:
bashCopy code
tar -xzvf mediacp-latest.tar.gz
- Stop current MediaCP:
bashCopy code
systemctl stop mediacp
- Replace old files with new files and update configurations.
- Start updated MediaCP:
bashCopy code
systemctl start mediacp
- Download new version (replace URL with actual URL):
-
Managing MediaCP Services:
- List all services managed by MediaCP:
bashCopy code
mediacp services
- Start, stop, or restart specific service (replace
service-name
with actual service name):bashCopy codemediacp service start service-name
- List all services managed by MediaCP:
-
Checking MediaCP Version:
bashCopy codemediacp version
These commands should help you manage various aspects of your MediaCP installation. Always consult official documentation and resources for the most accurate and up-to-date information regarding MediaCP commands and usage.
R