Pre-Requisites
- Access to cPanel with Softaculous installed.
- Existing installation of a script (e.g., WordPress).
- Basic understanding of cPanel and script management.
1. Overview of Editing Installations
This page will guide you through editing the installation details of any script you have installed, such as WordPress.
2. Editing the Installation
- Click on the Edit icon associated with your installation.
- You will be redirected to the Edit Installation page.
- Fill in the new details as required.
- Click on the Edit Installation button to save your changes.
Reset Admin Password
To reset the admin password for your installation, follow these steps:
- On the Edit Installation page, locate the Admin Account section.
- Enter the admin username and the new password you wish to set.
- Click on the Edit Installation button at the bottom to save your changes.
Your admin password has now been updated; use the new password to access your installation's admin panel.
Upgrade Active Plugin(s)/Theme(s)
To upgrade active plugins and themes, do the following:
- On the Edit Installation page, find the buttons Upgrade Plugin(s) Now and Upgrade Theme(s) Now.
- Click these buttons to upgrade all outdated active plugins and themes to their latest versions.
Custom CRON Time for Auto Backup
To set a custom CRON time for automated backups, follow these steps:
- On the Edit Installation page, locate the Backups section.
- Select the Custom option from the Automated Backups dropdown.
- Enter the Min, Hour, Day, Month, and Weekday values in the provided fields.
- Click on the Edit Installation button to save your changes.
Your custom CRON settings for automated backups are now saved.
Select a Backup Location
To select a backup location for your installation:
- On the Edit Installation page, find the Backup Location option.
- Select your desired backup location from the dropdown menu.
- Click on the Edit Installation button at the bottom to save your selection.
Your backups will now be stored in the specified Backup Location. You can create backups from the Create Backup page.
Gotchas to Avoid
- Always double-check the new passwords and settings before saving.
- Ensure your backup locations have sufficient space to store backups.
- Review plugin and theme compatibility before upgrading to avoid potential issues.
Linux Commands for Managing Installations (Optional)
If you prefer managing your installations via the command line, here are some useful commands:
cd ~/public_html
# To reset the admin password directly for WordPress
wp user update username --user_pass=newpassword
# To upgrade all plugins and themes
wp plugin update --all
wp theme update --all
# To set up a CRON job for backups
crontab -e
# Add a line for daily backups at 2 AM
0 2 * * * /usr/bin/wp db export ~/backups/$(date +\%F).sql
Adjust the paths and commands according to your specific environment and requirements.