Document Repository Configuration

You can configure file storage in several ways. Each option is a store which can be configured through the portal-ext.properties file by setting the dl.store.impl= property.

The default store is called Simple File Store. It stores documents and media files on a file system (local or mounted). The store’s default root folder is [Liferay Home]/data/document_library. You can specify a different root directory from within System Settings. To access System Settings, open the Menu (Menu) and navigate to Control Panel → Configuration → System Settings. From System Settings, navigate to Platform and then search for and click File Storage (Folder). For the store’s Root directory value, specify a path relative to Liferay Home or an absolute path; then click the Save button. The document library store switches immediately to the new folder.

Figure 1: The File Storage page in System Settings lets you configure document repository storage.

Figure 1: The File Storage page in System Settings lets you configure document repository storage.

You can also use an entirely different method for storing documents and media files:

Simple File System Store: uses the file system (local or a mounted share) to store files.

Advanced File System Store: in addition to using the file system (local or a mounted share) to store files, Advanced File System Store nests the files into folders by version, for faster performance and to store more files.

S3 Store (Amazon Simple Storage): uses Amazon’s cloud-based storage solution.

CMIS Store (Content Management Interoperability Services): connects to a CMIS-compliant server to store files.

DBStore (Database Storage): stores the files in the database. DBStore’s file (stored as a blob) size is 1 gigabyte. To store files larger than 1 gigabyte, use Simple File System Store or Advanced File System Store.

These articles explain details for each one.

« Locales and Encoding ConfigurationUsing the Simple File System Store »
Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0