Electronic Frontier Foundation<\/a>. <\/p>\n\n\n\nThen, you need to choose which domain\/subdomain name you would like to activate HTTPS for. Choose your Prestashop website by typing the number and hitting ENTER. Let\u2019s encrypt will install the certificate, and it will ask you whether to configure HTTP to HTTPS redirection or not; you can choose redirect, then certbot will create the redirection and reload nginx if everything is okay.<\/p>\n\n\n\n
After running the ‘certbot’ command, you will get an output like this:<\/p>\n\n\n\n
Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log\nEnter email address (used for urgent renewal and security notices)\n(Enter 'c' to cancel): you@yourdomain.com\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nPlease read the Terms of Service at\nhttps:\/\/letsencrypt.org\/documents\/LE-SA-v1.3-September-21-2022.pdf. You must\nagree in order to register with the ACME server. Do you agree?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: y\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nWould you be willing, once your first certificate is successfully issued, to\nshare your email address with the Electronic Frontier Foundation, a founding\npartner of the Let's Encrypt project and the non-profit organization that\ndevelops Certbot? We'd like to send you email about our work encrypting the web,\nEFF news, campaigns, and ways to support digital freedom.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n(Y)es\/(N)o: n\nAccount registered.\n\nWhich names would you like to activate HTTPS for?\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n1: prestashop.yourdomain.com\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nSelect the appropriate numbers separated by commas and\/or spaces, or leave input\nblank to select all options shown (Enter 'c' to cancel): 1\nRequesting a certificate for prestashop.yourdomain.com\n\nSuccessfully received certificate.\nCertificate is saved at: \/etc\/letsencrypt\/live\/prestashop.yourdomain.com\/fullchain.pem\nKey is saved at: \/etc\/letsencrypt\/live\/prestashop.yourdomain.com\/privkey.pem\nThis certificate expires on 2023-07-18.\nThese files will be updated when the certificate renews.\nCertbot has set up a scheduled task to automatically renew this certificate in the background.\n\nDeploying certificate\nSuccessfully deployed certificate for prestashop.yourdomain.com to \/etc\/nginx\/sites-enabled\/prestashop.conf\nCongratulations! You have successfully enabled HTTPS on https:\/\/prestashop.yourdomain.com\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n* Donating to ISRG \/ Let's Encrypt: https:\/\/letsencrypt.org\/donate\n* Donating to EFF: https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<\/pre>\n\n\n\n<\/span>Step 6. Install Prestashop<\/span><\/h2>\n\n\n\nFinally, we get to the final and main step. In this step, we will download the Prestashop source file and extract it.<\/p>\n\n\n\n
# cd \/tmp\n# wget https:\/\/assets.prestashop3.com\/dst\/edition\/corporate\/8.0.2\/prestashop_edition_basic_version_8.0.2.zip -O prestashop8.zip\n# unzip prestashop8.zip<\/pre>\n\n\n\nAfter extracting it, you will get prestashop.zip containing all Prestashop files. Let’s unzip it and store the files on our PrestaShop website’s document root.<\/p>\n\n\n\n
# unzip prestashop.zip -d \/var\/www\/html\/prestashop<\/pre>\n\n\n\nOnce finished, we need to correct the permission. The files and directory should be owned by user ‘apache’ because PHP-FPM also uses user ‘apache’.<\/p>\n\n\n\n
# chown -R apache: \/var\/www\/html\/prestashop<\/pre>\n\n\n\nGo to http:\/\/prestashop.yourdomain.com<\/em> to complete the installation<\/p>\n\n\n\nPlease note for security reasons; you need to delete the ‘install’ directory inside your Prestashop document root after the installation is completed.<\/p>\n\n\n\n
# rm -rf \/var\/www\/html\/prestashop\/install\/<\/pre>\n\n\n\nThen, you will see an admin_RANDOMSTRING in your \/var\/www\/html\/prestashop directory. Please edit your nginx server block and make sure “admin_CHANGE_ME” points to the correct admin directory, like this:<\/p>\n\n\n\n
#Change this block to your admin folder\nlocation \/admin2023xhty {\n if (!-e $request_filename) {\n rewrite ^\/.*$ \/admin2023xhty\/index.php last;\n }\n}<\/pre>\n\n\n\nSave the file, then exit. Do not forget to restart nginx to apply the changes. Then, you should be able to access your Prestashop backend using the login credentials you created during the installation.<\/p>\n\n\n\n
Congratulation! You have successfully installed Prestashop on Almalinux 9, and now you can start using it, then build and customize it.<\/p>\n\n\n\n
If you are one of our web hosting customers and use our managed Linux Hosting, you don\u2019t have to follow this tutorial and install Prestashop on Almalinux 9<\/a> yourself; our Linux admins will set up and configure a Prestashop VPS<\/a> for you. They are available 24\u00d77 and will take care of your request immediately, and all you need to do is to submit a ticket; you can count on our support team.<\/p>\n\n\n\nPS. If you liked this post, please share it with your friends on social networks or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"
Prestashop is a flexible and scalable eCommerce platform. Prestashop is one of the best open-source eCommerce CMS with out-of-the-box features.<\/p>\n","protected":false},"author":4,"featured_media":45746,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,1711,2072,13],"tags":[1910,376],"yoast_head":"\n
How to Install PrestaShop on Almalinux 9 - RoseHosting<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n \n \n \n \n\t \n\t \n\t \n