Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Mastering Magento 2
Mastering Magento 2

Mastering Magento 2: Maximize the power of Magento 2 to create productive online stores , Second Edition

Arrow left icon
Profile Icon Gugliotti Profile Icon Bret Williams Profile Icon Jonathan Bownds
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7 (7 Ratings)
Paperback Jun 2016 340 pages 2nd Edition
eBook
€17.99 €25.99
Paperback
€31.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Gugliotti Profile Icon Bret Williams Profile Icon Jonathan Bownds
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7 (7 Ratings)
Paperback Jun 2016 340 pages 2nd Edition
eBook
€17.99 €25.99
Paperback
€31.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€17.99 €25.99
Paperback
€31.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Mastering Magento 2

Chapter 2. Installing Magento 2

Now that you've got your plan in hand from Chapter 1, Planning for Magento, it's time to now take the leap and install Magento 2 Community. While some hosting providers will install Magento for you, or provide installation assistance, Magento makes installation fairly easy. There are a few points to pay attention to, but if you follow the steps in this chapter, you'll be up and running with Magento in quick order.

In this chapter, we will learn about the following topics:

  • Installation strategies to improve Magento performance
  • How to configure multiple websites and stores
  • Strategies for backups and security

How hosting effects installation

If you own and operate your own servers, and your server meets the requirements for installing Magento, you're all set to go. However, for most people installing Magento Community, the quest to install Magento on an appropriate hosted server is vital to insuring that their Magento stores run quickly and securely.

Understanding types of hosting

Hosting plans range from a few dollars to hundreds of dollars per month, depending mainly on the type of server configuration you have. For most hosting providers, hosting is divided into three distinct categories:

  • For small beginner Magento stores, a shared server is a great way to start. In essence, you are sharing the server with other hosting clients. However, expect to outgrow this if your store begins to handle more than about 5,000 visitors each day.
  • Another option is a virtual machine (VM), commonly referred to as a cloud server. With a VM, the operating system is entirely abstracted from the underlying hardware...

Keys to a successful installation

Magento has made the installation process a reasonably easy-to-follow affair. Since you've probably completed at least one installation before (and who hasn't tried Magento out-of-the-box?), you're familiar with the process.

However, you can make the installation more successful just by adhering to the following battle-tested advice.

Tip

If you have never installed Magento before, it is not all that difficult. For assistance, there are a number of great resources, including the Packt book, Magento 2: Beginner's Guide. The Magento website also has an installation wiki (http://devdocs.Magento.com/guides/v2.0/install-gde/bk-install-guide.html).

Avoid the bleeding edge

If your Magento installation is to go live in short order, you should always avoid installing the latest, greatest version of Magento (or any other platform, for that matter). As a best practice, we never use any version where the third version number ends in zero, such as version...

Setting up Magento stores

As we discussed in Chapter 1, Planning for Magento, Magento leads the open source community in its ability to manage multiple websites and stores within a single installation. This is an often overlooked power of Magento. It is also one of the more complex configuration issues.

To help illustrate how to configure multiple stores in Magento, let's set up an example. As shown in the following table, we are going to build two online businesses, each with their own categories and products, and one with three Store Views. The following table shows the GWS relationship of this example:

Business focus

Types of product

Domain

Language

Sportswear

Apparel

www.AcmeSportswear.com

English

Sportswear

Apparel

www.AcmeSportswear.fr

French

Sportswear

Apparel

www.AcmeSportswear.de

German

Furniture

Furniture

www.AcmeFurniture.com

English

If these are your planned stores, your next decision is how to set up your websites. As we discussed in Chapter 1...

Strategies for backups and security

If you're a seasoned developer or webmaster, you certainly have protocols in place for protecting your work, from daily backups to fail over servers. If you're a designer or site administrator, your back-ups are managed by your hosting provider or system administrator; you probably don't think much about back-ups on a daily basis.

However, with any complex configuration, a failure or mistake can still lead to hours and hours of lost time. Daily system backups are only good for what was done up to the time the backup was made. If you've worked with us in these first two chapters, you've already made a significant number of changes and configurations that, if you had to go back to yesterday's system backup, could take you hours to re-create.

We like to have backups, backups, and more backups, all along the way. Without interfering with how your systems are backed up, allow us to suggest some hard-learned strategies for working...

Summary

Boy, we covered a lot in this chapter! Yet despite all the screen captures and instructions, you most likely found the configuration processes not as daunting as first imagined. The sophistication of Magento requires a certain degree of complexity.

In this chapter, we implemented our planned multi-store configuration, learned how to configure our stores for multiple languages and currencies, and covered some basic practices for insuring our work against loss.

Next, we begin the process of creating our category and product infrastructure. After all, the reason we're here is to sell products!

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Updated for Magento 2, this book offers comprehensive coverage of all the new features of Magento to build modern online stores
  • Exploit little-known techniques to extend, tune, and manage your Magento installation
  • Detailed coverage to make your store run faster, better, and more productively

Description

The long-awaited release of the world's most popular online solution, Magento 2, is now out with an all new interface and several enhancements. This book offers you advanced guidance on managing, optimizing, and extending your store while taking advantage of the new features of Magento 2. This is a comprehensive guide to using the all new features and interface of Magento 2 to build, extend, and design online stores. From planning your Magento installation through to advanced techniques designed to make your store as successful as possible, this book is your roadmap to managing your Magento store. Focusing on Magento's Community version, the book covers everything from creating and managing multiple stores to fine-tuning Magento for speed and performance. You’ll learn how to manage categories, products, design themes, extensions, and more.

Who is this book for?

This book is for web designers, developers, or e-commerce store-owners who design or manage Magento stores for their clients and want to gain an in-depth understanding of the various features of Magento 2.

What you will learn

  • Discover what makes Magento 2 different — and even more powerful
  • Develop strategies to create multi-store environments
  • Find out how to create themes and extend the functionality of Magento 2
  • Create sound development practices to ensure code integrity and security
  • Know the why, as well as the how, behind using Magento 2

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 28, 2016
Length: 340 pages
Edition : 2nd
Language : English
ISBN-13 : 9781785882364
Vendor :
Magento
Languages :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jun 28, 2016
Length: 340 pages
Edition : 2nd
Language : English
ISBN-13 : 9781785882364
Vendor :
Magento
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 98.97
Magento 2 Cookbook
€36.99
Magento 2 Theme Design
€29.99
Mastering Magento 2
€31.99
Total 98.97 Stars icon

Table of Contents

12 Chapters
1. Planning for Magento Chevron down icon Chevron up icon
2. Installing Magento 2 Chevron down icon Chevron up icon
3. Managing Products Chevron down icon Chevron up icon
4. Designs and Themes Chevron down icon Chevron up icon
5. Configuring to Sell Chevron down icon Chevron up icon
6. Managing Non-Product Content Chevron down icon Chevron up icon
7. Marketing Tools Chevron down icon Chevron up icon
8. Extending Magento Chevron down icon Chevron up icon
9. Optimizing Magento Chevron down icon Chevron up icon
10. Advanced Techniques Chevron down icon Chevron up icon
11. Pre-Launch Checklist Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.7
(7 Ratings)
5 star 42.9%
4 star 28.6%
3 star 0%
2 star 14.3%
1 star 14.3%
Filter icon Filter
Top Reviews

Filter reviews by




Andre Gugliotti Jul 18, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Four years ago, when I first read the previous edition of this book, I tought: "Wow, this is the book I'd love to have written". Well, on this second edition, at least I can say: "I was honored about being invited to review the second edition and after that I love even more this book".That said, I can state that Bret Williams and Jonathan Bownds have done an amazing job when updating and expanding this "Mastering Magento" book, including the new version of this powerful ecommerce platform.This is not a book for beginners as its title says. But if you have the basic knowledge about Magento, this is the book you must have on your shelf or e-reader. It contains a series of "how I didn't think about that before" moments, explaining how to get your store into the next level and to get more and more from Magento. The most important, you have a step by step, with the major parts of the process of launching and running an online store with Magento 2.
Amazon Verified review Amazon
Amazon Customer Nov 02, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book like a woman's skirt; long enough to cover the subject and short enough to create interest :)) perfect for readers who are eager to comprehend the essence of complicated Magento system. Many thanks to the writers and to Amazon for this excellent publication.
Amazon Verified review Amazon
MASSIOT Justin Oct 13, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
To my knowledge this is the one and only book about Magento 2 that isn't written for developers. It deals with setting up a store from the administrator side and covers most of (if not all) the features of Magento 2.This book is complete and clear at a time. It helps me taking the right decisions for my e-commerce business.In the past I had many Internet pages, forums, etc. Now I have this book!
Amazon Verified review Amazon
Amazon Customer Jul 04, 2017
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
For anyone building a new website on Magento 2, this is a required reading. It gives you a good overall framework to build on further knowledge. If you are an advanced Magento programmer this may not be for you as I think its written for beginners. Cheers!
Amazon Verified review Amazon
Abhilash Acharya Jul 02, 2018
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
If you are planning to build your own store, It provides the complete idea regarding how to find a hosting provider, set up products, setup taxes, set up multistore etc. It focuses mostly on the backend configurations and setups.But if you are a Magento2 developer this book will not be very useful to you.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.