🎉 Use code ORDER25K to get 25% OFF all orders! 🎉

Useful MediaCP Commands Print

  • 0

Useful commands for managing MediaCP:

MUST CONNECT TO SSH USING ROOT

  1. Starting MediaCP Service:

    bashCopy code
    systemctl start mediacp
  2. Stopping MediaCP Service:

    bashCopy code
    systemctl stop mediacp
  3. Restarting MediaCP Service:

    bashCopy code
    systemctl restart mediacp
  4. Checking MediaCP Service Status:

    bashCopy code
    systemctl status mediacp
  5. 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
  6. 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
  7. 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 code
      mediacp service start service-name
  8. Checking MediaCP Version:

    bashCopy code
    mediacp 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

Was this answer helpful?
« Back