Managing Your WordPress Using Shell / SSH
The Shell / SSH service enables you to use Linux commands to manage your applications on the client panel. You can issue commands as if you are inside a container and perform local operations like monitoring, debugging, and using CLI commands specific to what is running in the container. This article will show you how to manage your WordPress using shell / SSH.
Note: For security reasons, only the accounts have passed our verification will be granted permission to the Shell / SSH service. If you would like to enable it, please update your billing information. Our staff will finish verifying your information within 2 hours.
1. Locate the application
Log in to the Client Panel and locate your target deployment on the Home page or the My Applications page.
2. Navigate to the "Shell / SSH" page
Click the "Manage" button on the Home page or the My Applications page. Then Click the "Shell / SSH" tab in the menu bar.
On the Shell / SSH page, you can see a "Connect" button, which is only open to the accounts that has passed our verification process for security reasons. To update your billing account information, please log in to the client panel.
Click the Connect button to initiate a shell session. You can issue commands in it.
You should always run 'apt update' before any 'apt install' operations.
Softwares or packages installed via command "apt install" will be lost when the container is restarted.
The data and configuration files of your apps are stored in directories /cloudclusters.
Clients can manage web application services by supervisor CTL：
supervisorctl start/stop/restart apache
supervisorctl start/stop/restart mysql
supervisorctl start/stop/restart php-fpm