Linux 软件免费装
Banner图

Blue Storage

开发者 derekheld
更新时间 2016年4月5日 09:21
PHP版本: 2.8.0 及以上
WordPress版本: 4.4.2

标签

Upload Microsoft Azure Azure Microsoft Azure Storage Media Files Blob

下载

1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.2.0

详情介绍:

Blue Storage for Microsoft Azure allows you to use Azure Storage to host your media for your WordPress powered blog. This plugin can wholly or partially replace local storage with Azure Storage. Using Azure Storage allows you to grow your storage as needed without having to upgrade your web server. You can also take advantage of Azure Storage features like georedundency or Azure CDN. For more details on Azure Storage and other Azure services, please visit the Microsoft Azure website.

安装:

  1. Easiest way to install is using WordPress' plugin installer. You can also extract blue-storage.zip to the plugins directory after uploading through SFTP or similar means.
  2. Activate the plugin using the "Activate" option for Blue Storage in the plugins list.
  3. In the Azure Portal go to your storage account settings, select "Access Keys", and copy the "Storage Account Name" and one of the "Access Keys" for use.
  4. Copy your account name and access key to the appropriate location on the plugin's settings page and save.
  5. Either create a new container or choose an existing public container for your files.
  6. (Optional-Recommended!) Check the box that allows Blue Storage to manage all uploads to put them directly in Azure Storage.
  7. (Optional) Do this before any uploads! Add in a CNAME if you are using Azure CDN or something else. See FAQ for more details.
  8. (Optional) Do this before any uploads! Set the caching max-age value for uploads. This is specified in seconds.
  9. (Optional) Use the "Copy To Azure" ability to copy all files not in Azure to your Azure Storage container.

常见问题:

When I upload files to the media library it doesn't go to Azure. What gives?

You need to enable the "Use Azure Storage for default upload" option.

How do I use the CNAME option?

We will use the example of using the Azure CDN service.

  1. Specify a custom CNAME for your domain in the plugin settings, e.g. cdn.example.com.
  2. Point that CNAME at the endpoint for your Azure CDN in your DNS settings. For example, create the CNAME cdn.example.com to mycdn.azureedge.net
  3. Create a custom domain mapping in Azure to map mycdn.azureedge.net to cdn.example.com. This is important! If you do not do this you will break HTTPS.
That's all there is to it!

I didn't specify a CNAME at first, how can I change my files to use the CNAME?

You will have to do a search and replace in the posts and postmeta tables of your database. This plugin does not do that for you.

Can I disable access to certain settings?

Yes! Just edit the blue-storage-config.php file and change true to false for any of the settings you want to disable access to.

I'm getting an error when trying to upload to my zone redundant storage

This plugin does not support "Zone Redundant" storage accounts at this time.

更新日志:

1.2.0 1.1.0 1.0.4 1.0.3 1.0.2 1.0.1 1.0