I need to install magento. I followed this instruction: https://www.digitalocean.com/community/tutorials/how-to-use-the-magento-one-click-install-image
After magento was installed with one click (droplet was created) - i tried to login to magento - it went me through installation process, but the gave we an database error.
I realized that magento needs a database, so I followed tutorial for LAMP. After I did so - i tried to login and continue with magento installation again - but got the same database error, so I continued this tutorial: https://www.digitalocean.com/community/tutorials/how-to-use-the-magento-one-click-install-image,.
The last thing I did is: "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"
Then tutorial says enter this command to reboot apache: sudo service apache2 restart
but when i typed this line into my terminal I got an error message: root@YBF:~# sudo service apache2 restart
What I am doing wrong? How do I fix it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!