Fastly_Cdn Module Installation Instructions

Similar documents
This guide will show you how to install and configure Fastly CDN extension for Magento 2.

Admin Product Grid Category Filter

Import Export Products Attributes

5. Enable and configure Stripe in Magento Admin under Stores/Configuration/Payment Methods/Stripe

Php4u Payment Restrictions Module for Magento 2

Magento 2 Guide ING. Guide 1

rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:staticcontent:deploy

USER GUIDE StarTrack Shipping (Magento 2) Compatibility:

How to Migrate from Drupal Commerce to Magento

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

USER MANUAL. Language Translator TABLE OF CONTENTS. Version: 1.0.4

Blast Search Lucene Search Module for Magento 2

PayPalPlus Magento 2 User's Guide

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

USER GUIDE MAGENTO TO MAGENTO MIGRATION

Magento Pinterest Extension User Guide

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

USER MANUAL. Star Track Shipping TABLE OF CONTENTS. Version: 2.0.0

Quick Start Manual. Not2Order for Magento 2. Start here

Custom Carrier Trackers

Cart Product Selector. Quick Start Guide

DPD France Shipping Method Module Magento 2

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

Mobile Login extension User Manual

Purpletree SMS for Magento2

Cache Warmer How to install the extension. How to upgrade extension. Disabling the Extension

extension for Magento2 User Guide

Magento 2 Extension. ( Version ) STORE.DCKAP.COM

Customer Redirect Pro for Magento 2

1. Installation Instructions

Stockbase Extension Magento 2.0

Easily communicate with customers using up-to-date, customized templates. Allow customers to return products as an existing customer or guest.

HiConversion Customer Experience Optimization

PagSeguro Payment. User Guide

TABLE OF CONTENT. Overview Support Versions Getting Started Guide Install by Copying Files Configuration...

Improved Import / Export Magento 2 Extension Manual. Manual for Improved Import / Export extension for Magento 2

SIMICART USER GUIDE SERIES. SimiCart Install SimiConnector

Delete Orders User Guide

Magento 2 Shipping Flat Rate5. Quick start guide

Triveneto payment method for Magento 2

User Manual for Market Place. Version 2.0 & above

Stock Notification Magento2 Extension

Twitter & Facebook Login v2.x Extension Installation for Magento 2 From Plumrocket Documentation

SLI Learning Search Connect For Magento 2

Ajax login Magento2 Extension

In this tutorial, we will show you how to easily add your store to your Facebook fan/business page, just in two simple steps.

INSTALLATION GUIDE. for Magento 2 Extension

Configuring Autocomplete & Suggest

FREE AJAX SUITE. User Guide FOR MAGENTO 2. Version: Release Date: Product Page: Ajax Suite. Support:

Control for CloudFlare - Installation and Preparations

Instagram Widget User Guide

STRIPE PAYMENTS FOR MAGENTO 2 - DOCUMENTATION

Web Push Notification

Force Login USER GUIDE

1. Installation Instructions

EMARSYS FOR MAGENTO 2

Partner Integration Portal (PIP) Installation Guide

1. Installation Instructions

EASYPAY MODULE - MAGENTO 2

rm -rf pub/static/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:staticcontent:deploy

User Guide. Customer Activation. Extension Version User Guide Version Magento Editions Compatibility

MAGENTO 2 INSTALL EXTENSION MANUALLY

Ebay Integration User Guide 0.0.1

Ebay Integration User Guide 0.0.1

Rewards Points for Magento 2.0

Configuring Autocomplete & Suggest

Category Dynamic Dependent Dropdown

Log Monitoring And Notification User Guide

USER MANUAL. MageMob Admin TABLE OF CONTENTS. Version: 1.0.0

User Guide. Order Attachments. Extension Version User Guide Version Magento Editions Compatibility

HiConversion Customer Experience Optimization

Aitoc. Review Booster User Manual for Magento 2

CedCommerce. All rights reserved.

Facebook Pixel for Remarketing for Magento 2

User Guide. Image Gallery. Extension Version User Guide Version Magento Editions Compatibility

USER MANUAL. Fooman Order Number Customiser: Magento 2. Quick Links. Leave a Review on Magento Marketplace!

Infinite Scroll extension for Magento2. User Guide

EXTENSION FOR MAGENTO 2. (Updated May 23 rd 2017) INSTALLATION GUIDE

1. Installation Instructions

MexBS Google Invisible Recaptcha v1.0.0 User Guide

Price Alert extension for Magento2. User Guide

FME Extensions Advanced SEO Friendly Blog Extension for Magento 2 User Guide - Version

Cdiscount Integration - User Guide

Store Login Access extension for Magento2. User Guide

Authorize.Net Magento 2.x Payment Module

GUEST CHECKOUT TO REGISTERED CUSTOMERS

Flexslider v2.x Installation and User Manual

Steps A. Identify version number B. Access configuration page C. Basic settings D. Advance settings E. Front end experience settings F.

rma_product_return_magento2

Review Reminder extension for Magento2. User Guide

Sears Integration for Magento 2-User Guide 0.0.1

Catch Integration - User Guide

Wirecard CEE Integration Documentation

Google Tag Manager. Google Tag Manager Custom Module for Magento

Sample Spark Web-App. Overview. Prerequisites

Buyer Seller Communication Marketplace Add-on

Mobile Login Extension User Manual

Transcription:

INSTALLATION.md Fastly_Cdn Module Installation Instructions Contents Prerequisites Installation Troubleshooting Prerequisites Before installing the Fastly_Cdn module you should setup a test environment as you will need to put Fastly in front which will certainly take a while for configuring and testing. If you directly roll out this solution to your production server you might experience issues that could affect your normal business. Ensure that your Magento2 store is running without any problems in your environment as debugging Magento2 issues with Fastly in front might be difficult. Fastly_Cdn supports Magento2 Community and Enterprise Edition from version 2.0 onwards. You will need to signup for a free account with fastly.com in order to use the module. If you need professional services for assistance with setting up your environment please contact magento@fastly.com. To use the module make sure that your server does not compress text content. This would prevent the ESI functionality. 1 od 6 30. 06. 2017. 11:19

Installation The tasks involved in this are: Add the Fastly_Cdn module to the Magento server. (Instructions) Configure the Fastly_Cdn module on the Magento server. (Instructions) Magento module The installation of the Magento module is pretty easy and can be performed in a few ways depending on your Magento version. Install from Magento Marketplace (only Magento 2.0.x versions) Install using Composer Install from Zip file Installing from the Magento Marketplace using Web Setup Wizard This will require an account with Magento Commerce and the associated API tokens will be used to sync with the marketplace. 1. Open a browser to the Magento Marketplace and add the module to the cart. Check out and ensure that this is added to your account. 2. Log into the admin section of the Magento system in which to install the module as an administrator. 3. Start the Web Setup Wizard by navigating to 'System > Web Setup Wizard'. 4. Click 'Component Manager' to synchronise with Magento Marketplace. 5. Click to 'Enable' the Fastly_Cdn module. This will start the wizard. 6. Follow the on screen instructions, being sure to create backups. 7. Proceed to Configuring the Module. 2 od 6 30. 06. 2017. 11:19

Installing using Composer 1. You will first need to SSH into the machine that is running Magento. This will look something like this. ssh username@123.456.78.90 2. If the user that you logged in as is not the Magento filesystem owner, you may need to switch users. Depending on your installation this could be the ecommerce user, e.g. su - ecommerce. 3. Go to the Magento home directory. You should see an index.html and an index.php in this directory. Depending on your Magento installation this could be at /var/www/html. 4. Ensure that the files in app/etc inside the Magento home directory are write enabled for the Magento filesystem owner that you are logged in as: ls app/etc -l You are looking for a w in the third position from the left for each file, e.g. -rw-rw-r--. If you have something like -r-- rw-r-- you will need to use the chmod command to change permissions on the directory. 5. Ensure that Git and Composer are installed, by checking which version you have: git --version composer --version If they are not present, here are instructions for installing Git, and here are instructions for installing Composer. 6. Inside the Magento Home directory add the Composer repository for the Fastly module: 3 od 6 30. 06. 2017. 11:19

composer config repositories.fastly-magento2 git "https://github.com/fastly/fastly-magento2.git" 7. Next, fetch the Fastly module: composer require fastly/magento2 You may receive an alert that a package is missing or has been abandoned. Provided the alert is green you are fine to proceed. 8. Once the installation process has completed, enable the Fastly module: bin/magento module:enable Fastly_Cdn 9. Finally clean up tasks: bin/magento setup:upgrade You can ignore the prompt to re-run the Magento compile command, and complete the installation with: bin/magento cache:clean 10. Once this has completed log in to the Magento Admin panel and proceed to Configuring the Module. Installing from zip file 1. Open a browser to GitHub note/copy the URL of the version to install. 2. Log in to the Magento server as the Magento filesystem owner and navigate to the Magento Home directory. 4 od 6 30. 06. 2017. 11:19

3. Create a directory <magento home>/app/code/fastly/cdn/ and change directory to the new directory. 4. Download the zip/tarball and decompress it. 5. Move the files out of the fastly-magento2 into <magento home>/app/code/fastly/cdn/. 6. At this point, it is possible to install with either the: Web Setup Wizard's Component Manager (only Magento 2.0.x versions, for 2.1.x use command line) i. To install in the Web Setup Wizard. Open a browser and log in to the Magento admin section with administrative privileges. ii. Navigate to 'System > Web Setup Wizard'. iii. Click 'Component Manager' scroll down and locate 'Fastly_Cdn'. Click enable on the actions. iv. Follow the on screen instructions ensuring to create backups. Command line i. To enable the module on the command line change directory to the Magento Home directory. Ensure you are logged in as the Magento filesystem owner. ii. Verify that 'Fastly_Cdn' is listed and shows as disabled: bin/magento module:status. iii. Enable the module with: bin/magento module:enable Fastly_Cdn. iv. Then we need to ensure the configuration tasks are run: bin/magento setup:upgrade. v. Finally on the command line to clear Magento's cache run: bin/magento cache:clean. 7. Once this has been completed log in to the Magento Admin panel and proceed to Configuring the Module. Troubleshooting Ensure that your Magento version is tested and supported with the version of Fastly_Cdn that you are using. Ensure that all files and folders have the correct permissions for the Magento Filesystem Owner and the Web Server 5 od 6 30. 06. 2017. 11:19

user. Ensure that the cache's are cleaned and disable / re-enable the module. Ensure that text content is not being compressed. If any critical issue occurs you can't easily solve, execute bin/magento module:disable Fastly_Cdn as the Magento Filesystem Owner to disable the Fastly_Cdn module. If necessary clear Magento's cache again. If possible, gather as much data and open an issue to help improve the module. 6 od 6 30. 06. 2017. 11:19