Previous Topic: Test ApplianceNext Topic: Move Appliance to Catalog


Clean Up Appliance

You can remove files, such as log files or directories, added by the software installation and not required to run the appliance.

Follow these steps:

  1. Log in to your appliance.
  2. Remove unnecessary files, such as logs, ssh keys, bash history, and mysql history.
  3. To clear the last login information, execute the following command:
    > /var/log/lastlog 
    
  4. Clear the list of recently executed commands from the history cache by executing the following commands:
    rm -f ~/.bash_history 
    history -c 
    
  5. Log out of the appliance.
  6. In the Infrastructure Editor, click the Stop icon and click OK in the confirmation message.

    You are now ready to move the appliance to the catalog.