Throughout the following recipes, we will install Magento 2 on a fully managed platform hosted by Hypernode. Hypernode is an advanced platform for successful Magento shops.
Hypernode is a radically different approach to Magento hosting that actively improves your shop's performance. Its unique Magento platform is developed by Byte Internet, a Dutch hoster with eight years of experience in hosting Magento.
Hypernode has been developed in close consultation with Magento developers, with the objective of having Magento web shops perform to the best advantage and make its development several times easier. This recipe will show you how to do it.
With Hypernode, you will get your own fully managed isolated cloud server. This server has been fully configured for Magento 2. The best and latest software such as NGINX, HHVM, PHP-FPM, Redis, and MySQL are installed as a standard. In addition, they offer all the tools that you, as a Magento developer, would need in order to work comfortably: New Relic, Git, Vagrant, and Magento-specific tools such as ModMan, N98 Magerun, Sphinx Search, and much more.
The following image illustrates working of Hypernode which can be found at https://www.hypernode.com/:
For this recipe, you will need to create an account at Hypernode https://www.hypernode.com/. No other prerequisites are required.
For the purpose of this recipe, let's assume that we need to create a Magento 2 hosting environment on the Hypernode platform. The following steps will guide you through this:
There are two options to create a Hypernode.
The first option is a default clean Magento 2 setup using the link, https://auth.byte.nl/account/register/magento2, and committing your name, e-mail, company name, and so on. For the following steps, make sure to submit the correct cell number. You will get a text message to confirm that this account is valid and not spam. Now perform steps 2 through 9 to set up Magento 2 the easy way.
If you want to start using Magento 1 before switching to Magento 2, then follow all of the steps until step 11. To do so, use the link, https://auth.byte.nl/account/register/hypernode/, and commit your name, e-mail, company name, and so on. For the following steps, make sure to submit the correct cell number. You will get a text message to confirm that this account is valid and not spam.
yourdomain.hypernode.io
.app
. The example should look as follows:http://yourdomain.hypernode.io
.n98-magerun --root-dir=/data/web/public uninstall --installationFolder=/data/web/public –force touch ~/nginx/magento2.flag mkdir ~/magento2 cd ~/magento2 wget -qO- https://magento.mirror.hypernode.com/releases/magento2-latest.tar.gz | tar xfz – echo "create database magento2" | mysql chmod 755 bin/magento cat ~/.my.cnf bin/magento setup:install --db-host=[HOSTNAME] --dbname=[DATABASE] --db-user=app --db-password=[DATABASE_PASSWORD] --admin-firstname=[YOURFIRSTNAME] --admin-lastname=[YOURSURNAME] --admin-user=[ADMINNAME] --admin-password=[ADMINPASSWORD] --adminemail=[[email protected]] --base-url=[YOUR.HYPERNODE.IO] --language=[en_US] --timezone=[Europe/Berlin] --currency=[EUR] --use-rewrites=1 rm -rf ~/public mkdir ~/public cd ~/magento2 ln -fs ../magento2/pub/* ../public
The detailed instructions can also be found on the Hypernode knowledge base, https://support.hypernode.com/knowledgebase/installing-magento-2-on-hypernode/. This also includes a small tutorial regarding a sample data setup.
Let's recap and find out what we did throughout this recipe. In steps 1 through 4, we create a new Hypernode account at https://www.byte.nl/. These steps will create a new Byte customer that stores a reference to the Hypernode. The Hypernode is auto-created in the background on DigitalOcean. During the whole process, you will get multiple mails for validation and additional account information regarding the Hypernode logins.
In steps 5 through 11, we need to switch from the default Magento 1 preinstalled setup to Magento 2. All setups are self-explanatory and result in a clean Magento 2 setup located on a managed hosting platform and ready for production.
Hypernode provides you with a large set of tools useful for your Magento setup. Check your service panel for the latest tools and links available. Here is a small section of some useful links:
https://yourdomain.hypernode.io/phpmyadmin/
https://support.hypernode.com/knowledgebase_category/getting-started/
https://support.hypernode.com/knowledgebase/configure-redis/
https://support.hypernode.com/knowledgebase/varnish-on-hypernode/
3.14.131.212