Useful commands for managing MediaCP:
MUST CONNECT TO SSH USING ROOT
-
Starting MediaCP Service:
bashsystemctl start mediacp
-
Stopping MediaCP Service:
bashsystemctl stop mediacp
-
Restarting MediaCP Service:
bashsystemctl restart mediacp
-
Checking MediaCP Service Status:
bashsystemctl status mediacp
-
Viewing MediaCP Logs:
- Main log:
bash
tail -f /var/log/mediacp.log
- Web log:
bash
tail -f /var/log/mediacp/mediacp-web.log
- Main log:
-
Updating MediaCP (example):
- Download new version (replace URL with actual URL):
bash
wget https://example.com/mediacp-latest.tar.gz
- Extract the archive:
bash
tar -xzvf mediacp-latest.tar.gz
- Stop current MediaCP:
bash
systemctl stop mediacp
- Replace old files with new files and update configurations.
- Start updated MediaCP:
bash
systemctl start mediacp
- Download new version (replace URL with actual URL):
-
Managing MediaCP Services:
- List all services managed by MediaCP:
bash
mediacp services
- Start, stop, or restart specific service (replace
service-name
with actual service name):bashmediacp service start service-name
- List all services managed by MediaCP:
-
Checking MediaCP Version:
bashmediacp 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.