Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Note

This section applies to Abiquo CSS branding.
For branding within the UI see Themes management

Info

This page describes how to upload a theme for whitelabelling and install it on an Abiquo UI Server

Back up the Abiquo UI

In addition to regular backups, we recommend that you make a quick backup of the UI before enabling branding.

To back up the Abiquo UI:

  1. Log in to a shell on the Abiquo server with a user with root permissions and make a copy of the UI folder

    Code Block
    mkdir /opt/abiquo/quick_ui_backup
    tar -cvfz /opt/abiquo/quick_ui_backup/ui_`date +%Y%m%d`.tar.gz /var/www/html/ui/
    


...

Upload a branding theme

To upload a branding theme do these steps:

  1. Compress the theme, for example, if the theme is in a folder called customer

    Code Block
    tar -cvfz customer.tar.gz customer
  2. Copy the theme to the UI server, for example

    Code Block
    scp root@api-ui-server:~/Downloads/customer.tar.gz customer.tar.gz
  3. Log in to the UI server and go to the theme directory.

    Code Block
    cd /var/www/html/ui/theme

    (warning) Back up any existing customer theme by copying the theme directory

  4. Copy the customer theme to the theme directory and uncompress it
    (warning) This will overwrite any existing theme

    Code Block
    cp ~/customer.tar.gz . 
    tar -xvzf customer.tar.gz
  5. To check that the Apache server can read the theme, list all files and permissions:

    Code Block
    ls -al

    If the owner of the files is not the same as other UI files, change it to match. For example:

    Code Block
    chown -R root:root customer

(warning) The abicloudDefault folder contains the predefined default theme. Do not overwrite this folder or the login screen will not display correctly.

...