How To Use The Magento One
How To Use The Magento One
Tutorial Series
This tutorial is part 10 of 17 in the series: DigitalOcean 1-Click Application Images
DigitalOcean's Magento One-Click application provides a quick start to building a
Magento storefront on top of a LAMP stack. This tutorial will guide you through the steps
to finish configuring your site, including setting your domain name and installing an SSL
certificate.
Then, select the size of your Droplet. The minimum size for a Magento Droplet is 1GB,
but using a larger Droplet is highly recommended for production instances:
If you use SSH keys to manage your droplets, which are more secure than passwords
and are recommended, you can also specify which ones you want added to this server.
If you are prompted for a password, type in the password that was emailed to you when
the server was created. Alternately, if you set up the droplet with SSH keys, you can go
ahead and log in without the need for a password.
Once you are logged in, you will see the message of the day (MOTD) which contains
your password. It will look like this:
-----------------------------------------------------------------------------------Thank you for using DigitalOcean's Magento One-Click Application.
Your storefront is available at http://XXX.XXX.XX.XXX
Your login credentials are:
User: admin
Pass: XXXXXXXX
Vist http://XXX.XXX.XX.XXX/admin_xxxxx to finish configuring your site.
------------------------------------------------------------------------------------
Now that you have your login credentials, you can visit your Magento site by entering its
IP address in your browser.
Find the lines containing the information for the existing self-signed cert:
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.crt
SSLCertificateKeyFile /etc/apache2/ssl/apache.key
and replace the the paths with the location of the files obtained from your certificate
authority.
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/ssl.crt
SSLCertificateKeyFile /etc/apache2/ssl/private.key
SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
You will want to change your Apache configuration to refer to your domain name as well.
Edit both /etc/apache2/sitesavailable/magento.conf and /etc/apache2/sites-available/magentossl.conf and replace the line:
#ServerName www.example.com
with:
ServerName your_domain.com
Once again, you will need to restart Apache in order for the changes to take affect:
sudo service apache2 restart
In this screen, you may personalize your settings including your contact address,
username, and password:
Introduction
DigitalOcean calls its virtual private servers Droplets; each Droplet that you spin up is a
new VPS for your personal use.
The setup is very easy the entire process can take as little as a minute! This tutorial
will walk you through creating and accessing your new server.
There is a wide spectrum for prices, power, and storage capacity. The smallest and
least expensive option starts at 512MB of RAM with 1 CPU and 20GB of SSD storage.
The size options grow larger from there, all the way up to 64GB of RAM with 20 CPUs
and 640GB of SSD storage. Should your needs change at a future point, you can adjust
your Droplet's plan using the flexible and permanent resize options.
other possible users. Selecting a more distant server location may increase your server
latency without serving any practical purpose.
Select any of the settings you would like to enable. The Private Networking feature is
very useful if you have multiple Droplets in the same datacenter that communicate with
each other.
It is recommended that you set up SSH keys to authenticate to your Droplets because it
provides better security than a basic password. For more information about setting up
SSH keys with your DigitalOcean Droplets, refer to this tutorial.
See More
Once you have installed a Droplet, you can begin to configure it to meet your needs. We
have tutorials covering the initial server setup for Ubuntu, Debian, and CentOS.