Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
title1. Enable Alibaba cloud object storage

NOTES:

Although FileCloud does not have an explicit connector for Alibaba cloud object storage, the Amazon S3 connector can be used.

In this step you will need to access WWWROOT.  It is typically located at: 

Windows

Linux

(later than Ubuntu 14.04)

Linux

(earlier than Ubuntu 14.04)

c:\xampp\htdocs/var/www/html/var/www


To enable Alibaba cloud object storage as the backend:

  1.  To make sure that your server does not have any time variations, set up the time on your server to be synchronized.
    1. Configure an authoritative time server in Windows Server.
    2. Synchronize Time with NTP in Linux.
  2. Open the following file for editing:

    Code Block
    themeMidnight
    WWWROOT/config/cloudconfig.php


  3. Find the following line:

    Code Block
    themeMidnight
    define("TONIDOCLOUD_STORAGE_IMPLEMENTATION", "local");


  4. Change it to this line:

    Code Block
    themeMidnight
    define("TONIDOCLOUD_STORAGE_IMPLEMENTATION", "amazons3");


  5. Save and close the file.
  6. Find the following file:

    Code Block
    themeMidnight
    WWWROOT/config/amazons3storageconfig-sample.php


  7. Rename it to:


    Code Block
    themeMidnight
    WWWROOT/config/amazons3storageconfig.php


(lightbulb)Nothing (lightbulb) Nothing needs to be added or edited in amazons3storageconfig.php



...