{"id":634,"date":"2016-09-02T00:00:00","date_gmt":"2016-09-02T00:00:00","guid":{"rendered":"http:\/\/blog.hostinger.io\/hostinger-tutorials\/uncategorized\/opencarthow-to-install-opencart-manually\/"},"modified":"2026-03-09T19:20:14","modified_gmt":"2026-03-09T19:20:14","slug":"how-to-install-opencart","status":"publish","type":"post","link":"\/ng\/tutorials\/how-to-install-opencart\/","title":{"rendered":"How to install OpenCart for your online business: using the Hostinger VPS template and manually"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>The open-source eCommerce platform OpenCart provides pre-built tools and features to create an online store more easily. It&rsquo;s an excellent solution if you want to sell products online without building the store from scratch.<\/p><p>Being open-source also means OpenCart is flexible. For example, you can install it on various hosting environments, including a Linux virtual private server (VPS), which is suitable for a large-scale online store.<\/p><p>In this tutorial, we&rsquo;ll explain how to install OpenCart on a VPS using two methods. The Hostinger VPS template is simpler and more beginner-friendly since it uses a graphical interface. Meanwhile, the manual installation suits users who prefer using commands for flexibility.<\/p><p>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-prerequisites-for-installing-opencart\">Prerequisites for installing OpenCart<\/h2><p>Before installing OpenCart, purchase a VPS hosting plan that provides ample resources based on the scale of your online store. Make sure your web host offers upgradable plans to accommodate your growing eCommerce needs.<\/p><p>OpenCart is lightweight and can run on a server with minimal resources. However, as your store features more products and handles more transactions, it will consume more computing power.<\/p><p>If you are just starting a small online shop, <a href=\"\/ng\/vps\/opencart-hosting\">Hostinger&rsquo;s OpenCart hosting<\/a> <strong>KVM 1<\/strong> can be an excellent option. Featuring a <strong>single-core <\/strong>CPU,<strong> 4 GB<\/strong> of RAM, and <strong>50 GB <\/strong>of storage, it should be sufficient for a store with dozens of products and daily transactions.<\/p><p>Once your eCommerce site grows, you can upgrade to up to <strong>KVM 8<\/strong>, which has <strong>8 vCPU<\/strong> cores, <strong>32 GB<\/strong> of RAM, and <strong>400 GB<\/strong> of storage. <a href=\"https:\/\/support.hostinger.com\/en\/articles\/1583229-how-to-upgrade-a-vps-server\">Upgrading Hostinger VPS<\/a> only takes a few minutes and our system will automatically migrate your files for a seamless process.<\/p><p>In addition to powerful hardware suitable for online stores of different sizes, Hostinger OpenCart hosting&rsquo;s built-in features help improve your eCommerce administration efficiency.<\/p><p>The free automatic weekly backups ensure your store data is safe with minimal effort, while our built-in malware scanner helps safeguard your server from malicious software. Also, our <a href=\"\/blog\/kodee\/\">Kodee AI assistant<\/a> helps write commands, provides guidance, and manages various aspects of your eCommerce server, all based on simple prompts.<\/p><p>Our global data center also lets you host your OpenCart website closest to your buyer, ensuring a responsive shopping experience.<\/p><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-vps-hosting\" href=\"\/ng\/vps-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-77934\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2023\/02\/VPS-hosting-banner.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-install-opencart-using-the-hostinger-vps-template\">Install OpenCart using the Hostinger VPS template<\/h2><p>Hostinger VPS users can easily install OpenCart in a few clicks using the template. In addition to making the process more efficient and simple, it helps minimize errors since you won&rsquo;t have to run any commands.<\/p><p>    <div class=\"announcement-block announcement-block--warning\">\n        <span class=\"announcement-block__heading\">\n            <svg width=\"24\" height=\"26\" viewBox=\"0 0 24 26\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                d=\"M12 23.5C17.799 23.5 22.5 18.799 22.5 13C22.5 7.20101 17.799 2.5 12 2.5C6.20101 2.5 1.5 7.20101 1.5 13C1.5 18.799 6.20101 23.5 12 23.5ZM13.637 8.65198C13.637 7.74791 12.9041 7.01501 12 7.01501C11.0959 7.01501 10.363 7.74791 10.363 8.65198C10.5335 10.5375 10.875 14.383 10.875 14.383C10.875 15.0043 11.3787 15.508 12 15.508C12.6213 15.508 13.125 15.0043 13.125 14.383V14.38L13.637 8.65198ZM11.9927 16.714C11.3714 16.714 10.8677 17.2177 10.8677 17.839C10.8677 18.4603 11.3714 18.964 11.9927 18.964H12.0073C12.6286 18.964 13.1323 18.4603 13.1323 17.839C13.1323 17.2177 12.6286 16.714 12.0073 16.714H11.9927Z\"\n                fill=\"#BE1025\"\/>\n            <\/svg>\n            Warning        <\/span>\n        <p class=\"announcement-block__content\">\n                    <\/p>\n    <\/div>\n\n    \n\n\n\n<\/p><p>If you purchased the OpenCart VPS hosting plan, you can set up this platform by choosing the<strong> Ubuntu 24.04 with OpenCart<\/strong> template during the onboarding process. Once finished, you will be set.<\/p><p>Meanwhile, follow this installation process if you purchased the <a href=\"\/ng\/vps-hosting\">general VPS hosting plan<\/a> or previously installed another template:<\/p><ol class=\"wp-block-list\">\n<li>Open <strong>hPanel<\/strong> &rarr; <strong>sidebar <\/strong>&rarr; <strong>VPS<\/strong>. Click <strong>Manage<\/strong> on your VPS.<\/li>\n\n\n\n<li>Navigate to the side menu &rarr; <strong>OS &amp; Panel<\/strong> &rarr; <strong>Operating System<\/strong>.<\/li>\n\n\n\n<li>Go to the <strong>Application<\/strong> tab and click <strong>Ubuntu 24.04 with OpenCart<\/strong>. You can also easily find it using the search menu.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826fe8976\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826fe8976\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"565\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/hostinger-opencart-vps-template.png\/w=1024,h=1024,fit=scale-down\" alt=\"Hostinger's OpenCart VPS template\" class=\"wp-image-118386\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/hostinger-opencart-vps-template.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/hostinger-opencart-vps-template.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/hostinger-opencart-vps-template.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/hostinger-opencart-vps-template.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/hostinger-opencart-vps-template.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>Click <strong>Change OS<\/strong>.<\/li>\n\n\n\n<li>Check the box to acknowledge the data deletion. Click <strong>Next<\/strong>.<\/li>\n\n\n\n<li>Enter a password for your eCommerce store control panel. Hit <strong>Confirm<\/strong>.<\/li>\n<\/ol><p>Wait until the OpenCart template installation process is complete, which should take about <strong>10<\/strong> minutes. Once finished, click <strong>Manage<\/strong> <strong>App <\/strong>on the top menu to access the platform&rsquo;s dashboard.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826fe92f1\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826fe92f1\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"384\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/the-manage-app-button-on-hpanel-VPS-os-management-page.png\/w=1024,h=1024,fit=scale-down\" alt=\"The Manage App button on hPanel's VPS OS management page\" class=\"wp-image-118388\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/the-manage-app-button-on-hpanel-VPS-os-management-page.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/the-manage-app-button-on-hpanel-VPS-os-management-page.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/the-manage-app-button-on-hpanel-VPS-os-management-page.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/the-manage-app-button-on-hpanel-VPS-os-management-page.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/the-manage-app-button-on-hpanel-VPS-os-management-page.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>If the panel is inaccessible, it might be due to the hostname not resolving to the IP address properly. To fix it, open your local computer&rsquo;s<strong> \/etc\/hosts<\/strong> file and add the following line:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">185.185.185.185 your.vps.hostname<\/pre><p>Remember to change the IP address and server hostname with the actual value.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-install-opencart-manually\">How to install OpenCart manually<\/h2><p>If you want to use other operating systems or need more flexibility in configuring OpenCart, you can install it manually using commands. Here are the steps to do so.<\/p><h3 class=\"wp-block-heading\" id=\"h-1-connect-to-your-vps-via-ssh\">1. Connect to your VPS via SSH<\/h3><p>Before running installation commands on your VPS, connect to the server <a href=\"\/ng\/tutorials\/how-to-use-putty-ssh\/\">using the PuTTY SSH client<\/a> or terminal. If you use the latter, simply run the following command:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ssh root@185.185.185.185<\/pre><p>Then, enter your root password. Hostinger VPS customers can find their server&rsquo;s IP address and root login credentials by going to the <strong>VPS overview<\/strong> menu&rsquo;s<strong> SSH access<\/strong> tab.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826feaef3\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826feaef3\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"602\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/ssh-access-tab-on-hpanel-vps-overview-menu.png\/w=1024,h=1024,fit=scale-down\" alt=\"SSH Access tab on hPanel's VPS overview menu\" class=\"wp-image-118390\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/ssh-access-tab-on-hpanel-vps-overview-menu.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/ssh-access-tab-on-hpanel-vps-overview-menu.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/ssh-access-tab-on-hpanel-vps-overview-menu.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/ssh-access-tab-on-hpanel-vps-overview-menu.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/ssh-access-tab-on-hpanel-vps-overview-menu.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p>Alternatively, Hostinger users can access their VPS command-line interface (CLI) via their web browser using the <strong>Browser terminal<\/strong>. Simply click the button on the top right of your <strong>VPS overview<\/strong> menu, and you will log in automatically.<\/p><h3 class=\"wp-block-heading\" id=\"h-2-update-your-vps\">2. Update your VPS<\/h3><p>Updating your VPS repositories ensures you have the latest version of all software packages. Note that the commands differ depending on your Linux distribution.<\/p><p>For example, run the following command to update Ubuntu and other Debian-based operating systems&rsquo; repositories:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt update &amp;&amp; apt upgrade<\/pre><p>If you use another distribution or encounter difficulties when running the commands, we recommend asking the<strong> Kodee AI assistant<\/strong> for help. You can access this tool by going to hPanel&rsquo;s <strong>VPS management menu <\/strong>and clicking the <strong>Kodee AI assistant<\/strong> button on the left sidebar.<\/p><p>For example, if you use Arch Linux, ask Kodee, &ldquo;Write commands for updating and upgrading my Arch Linux server&rsquo;s local repository.&rdquo;<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826fec745\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826fec745\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"543\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/kodee-ai-assistant-generates-a-command-based-on-user-request.png\/w=1024,h=1024,fit=scale-down\" alt=\"kodee-ai-assistant-generates-a-command-based-on-user-request\" class=\"wp-image-118392\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/kodee-ai-assistant-generates-a-command-based-on-user-request.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/kodee-ai-assistant-generates-a-command-based-on-user-request.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/kodee-ai-assistant-generates-a-command-based-on-user-request.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/kodee-ai-assistant-generates-a-command-based-on-user-request.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/kodee-ai-assistant-generates-a-command-based-on-user-request.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-3-install-dependencies\">3. Install dependencies<\/h3><p>OpenCart requires three dependencies &ndash; PHP, a web server, and a database. In this tutorial, we will install Apache and MariaDB, but you can use another web server or database.<\/p><p><strong>Set up PHP<\/strong><\/p><p>To install PHP and other complementary modules, run the following:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install php php-mysqli php-mbstring php-xml php-gd php-curl php-zip php-json<\/pre><p>If your command line warns you about missing packages, rerun the command above with the <strong>&ndash;fix-missing option<\/strong>. Confirm that PHP is properly installed by running:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">php -v<\/pre><p>If the setup process is successful, your shell should output the installed PHP version.<\/p><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826fee1d9\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826fee1d9\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1248\" height=\"146\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/installed-php-version-on-terminal.png\/w=1024,h=1024,fit=scale-down\" alt=\"Installed PHP version on terminal\" class=\"wp-image-118395\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/installed-php-version-on-terminal.png\/w=1248,fit=scale-down 1248w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/installed-php-version-on-terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/installed-php-version-on-terminal.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/installed-php-version-on-terminal.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/installed-php-version-on-terminal.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1248px) 100vw, 1248px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>Configure Apache<\/strong><\/p><p>A web server like Apache enables your OpenCart store to receive and process user requests. Execute the command below to install it:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install apache2<\/pre><p>Once installed, start and enable the Apache web server on your VPS by running:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl enable apache2\nsudo systemctl start apache2<\/pre><p>Verify the web server status, which should appear as <strong>active (running) <\/strong>and <strong>enabled<\/strong>:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl status apache2<\/pre><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826fefcdc\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826fefcdc\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1460\" height=\"119\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/apache-service-status-on-terminal.png\/w=1024,h=1024,fit=scale-down\" alt=\"Apache's service status on terminal\" class=\"wp-image-118397\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/apache-service-status-on-terminal.png\/w=1460,fit=scale-down 1460w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/apache-service-status-on-terminal.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/apache-service-status-on-terminal.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/apache-service-status-on-terminal.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/apache-service-status-on-terminal.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><p><strong>Configure MariaDB<\/strong><\/p><p>OpenCart uses a database like MariaDB to store various data, such as users&rsquo; order details and item information. To install it, run:<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install mariadb-server<\/pre><p>Then, execute this command to start the MariaDB security configuration. To learn more about the settings, check the <a href=\"https:\/\/mariadb.com\/kb\/en\/mariadb-secure-installation\/\">mariadb-secure-installation documentation<\/a>.<\/p><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo mariadb-secure-installation<\/pre><p>After setting up MariaDB, create a new database for your OpenCart online store. Here are the steps:<\/p><ol class=\"wp-block-list\">\n<li>Switch to the database root user using the command below. Use the password you set during the secure installation process.<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo mysql -u root -p<\/pre><ol start=\"2\" class=\"wp-block-list\">\n<li>Create a database for OpenCart. Replace <strong>opencart_db<\/strong> with your preferred database name:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">CREATE DATABASE opencart_db;<\/pre><ol start=\"3\" class=\"wp-block-list\">\n<li>Set up a user for the new database. Replace <strong>username<\/strong> and<strong> password<\/strong> with your desired value:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';<\/pre><ol start=\"4\" class=\"wp-block-list\">\n<li>Grant the user privileges over the OpenCart database:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">GRANT ALL PRIVILEGES ON opencart_db.* TO 'username'@'localhost';<\/pre><ol start=\"5\" class=\"wp-block-list\">\n<li>Flush the privileges to apply the changes:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">FLUSH PRIVILEGES;<\/pre><ol start=\"6\" class=\"wp-block-list\">\n<li>Quit the MariaDB shell with the following:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">EXIT;<\/pre><h3 class=\"wp-block-heading\" id=\"h-4-download-and-extract-opencart\">4. Download and extract OpenCart<\/h3><p>After installing the required dependencies, it&rsquo;s time to download and prepare the OpenCart files. Follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Visit <a href=\"https:\/\/github.com\/opencart\/opencart\">OpenCart&rsquo;s official repository<\/a> on GitHub. Hit the <strong>Code<\/strong> button, right-click <strong>Download<\/strong> <strong>ZIP<\/strong>, and copy the link address.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58826ff1bed\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58826ff1bed\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2082\" height=\"1124\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=1024,h=1024,fit=scale-down\" alt=\"The Download ZIP option in the official OpenCart GitHub repository\" class=\"wp-image-118400\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=2082,fit=scale-down 2082w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/github-opencart-download-zip-highlighted.png\/w=2048,fit=scale-down 2048w\" sizes=\"auto, (max-width: 2082px) 100vw, 2082px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"2\" class=\"wp-block-list\">\n<li>In your terminal, use <a href=\"\/ng\/tutorials\/wget-command-examples\/\">wget<\/a> with the copied link to download OpenCart to your VPS. Here&rsquo;s an example command:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">wget https:\/\/github.com\/opencart\/opencart\/archive\/refs\/heads\/master.zip<\/pre><ol start=\"3\" class=\"wp-block-list\">\n<li>If you haven&rsquo;t installed the <strong>unzip<\/strong> utility, do so by running:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo apt install unzip<\/pre><ol start=\"4\" class=\"wp-block-list\">\n<li>Extract the downloaded OpenCart <strong>ZIP<\/strong> file to your web server&rsquo;s root directory:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo unzip master.zip -d \/var\/www\/html\/opencart<\/pre><ol start=\"5\" class=\"wp-block-list\">\n<li>Copy the configuration files from the <strong>upload<\/strong> folder to their expected locations:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo cp \/var\/www\/html\/opencart\/upload\/config-dist.php \/var\/www\/html\/opencart\/upload\/config.php\nsudo cp \/var\/www\/html\/opencart\/upload\/admin\/config-dist.php \/var\/www\/html\/opencart\/upload\/admin\/config.php<\/pre><ol start=\"6\" class=\"wp-block-list\">\n<li><a href=\"\/ng\/tutorials\/vps\/change-linux-permissions-and-owners\/\">Set the correct permissions and ownership<\/a> for the installation directory:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo chown -R www-data:www-data \/var\/www\/html\/opencart\nsudo chmod -R 755 \/var\/www\/html\/opencart<\/pre><h3 class=\"wp-block-heading\" id=\"h-5-set-up-an-apache-virtual-host\">5. Set up an Apache virtual host<\/h3><p>Setting up an Apache virtual host file is important if you want to host multiple websites on your VPS or have a <a href=\"\/ng\/tutorials\/dns\/how-to-point-domain-to-vps\/\">specific domain pointing<\/a> to your OpenCart installation. Here are the instructions:<\/p><ol class=\"wp-block-list\">\n<li>Create a configuration file for OpenCart in Apache&rsquo;s<strong> sites-available<\/strong> directory to route your domain correctly:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo nano \/etc\/apache2\/sites-available\/opencart.conf<\/pre><ol start=\"2\" class=\"wp-block-list\">\n<li>In the file, add the following configuration. Replace <strong>yourdomain.com<\/strong> with your VPS&rsquo; IP address or domain name:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;VirtualHost *:80&gt;\n    ServerAdmin admin@yourdomain.com\n    DocumentRoot \/var\/www\/html\/opencart\/upload\/\n    ServerName yourdomain.com\n    ServerAlias www.yourdomain.com\n\n    &lt;Directory \/var\/www\/html\/opencart\/upload\/&gt;\n        Options FollowSymLinks\n        AllowOverride All\n        Order allow,deny\n        Allow from all\n    &lt;\/Directory&gt;\n\n    ErrorLog \/var\/log\/apache2\/yourdomain.com-error_log\n    CustomLog \/var\/log\/apache2\/yourdomain.com-access_log common\n&lt;\/VirtualHost&gt;<\/pre><ol start=\"3\" class=\"wp-block-list\">\n<li>Save the file and exit the <a href=\"\/ng\/tutorials\/how-to-install-and-use-nano-text-editor\/\">nano text editor<\/a> by pressing <strong>Ctrl + X &rarr; Y &rarr; Enter<\/strong>.<\/li>\n\n\n\n<li>Disable the default Apache configuration and enable the new one:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo a2dissite 000-default.conf\nsudo a2ensite opencart.conf<\/pre><ol start=\"5\" class=\"wp-block-list\">\n<li>Activate the rewrite module for SEO-friendly URLs in OpenCart:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo a2enmod rewrite<\/pre><ol start=\"6\" class=\"wp-block-list\">\n<li>Restart Apache to apply the changes:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo systemctl restart apache2<\/pre><h3 class=\"wp-block-heading\" id=\"h-6-complete-the-opencart-installation\">6. Complete the OpenCart installation<\/h3><p>Now, finish setting up your store through OpenCart&rsquo;s installation wizard with these steps:<\/p><ol class=\"wp-block-list\">\n<li>Open a new browser tab and enter your VPS&rsquo; IP or domain. This will bring up the OpenCart installation wizard. Accept the license agreement by clicking <strong>Continue<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a588270005ce\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a588270005ce\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2880\" height=\"1620\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=1024,h=1024,fit=scale-down\" alt=\"The License Agreement page in the OpenCart installation wizard\" class=\"wp-image-118403\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=2880,fit=scale-down 2880w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-license-agreement.png\/w=2048,fit=scale-down 2048w\" sizes=\"auto, (max-width: 2880px) 100vw, 2880px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"2\" class=\"wp-block-list\">\n<li>The wizard will verify if your VPS meets OpenCart&rsquo;s technical requirements. Resolve any issues listed before proceeding. Otherwise, hit <strong>Continue<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58827002286\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58827002286\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2013\" height=\"1506\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=1024,h=1024,fit=scale-down\" alt=\"The pre-installation checklist in the OpenCart installation wizard\" class=\"wp-image-118404\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=2013,fit=scale-down 2013w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-pre-installation.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2013px) 100vw, 2013px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"3\" class=\"wp-block-list\">\n<li>Fill in your database information, including the hostname, database name, username, and password. On the same page, set up your administration details.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58827003d0b\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58827003d0b\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2372\" height=\"1382\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=1024,h=1024,fit=scale-down\" alt=\"The Configuration page in the OpenCart installation wizard\" class=\"wp-image-118405\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=2372,fit=scale-down 2372w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-configuration.png\/w=2048,fit=scale-down 2048w\" sizes=\"auto, (max-width: 2372px) 100vw, 2372px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"4\" class=\"wp-block-list\">\n<li>You should see the <strong>Installation complete<\/strong> message. Next, access your eCommerce store&rsquo;s admin panel using the credentials you set up.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure data-wp-context='{\"imageId\":\"6a58827007b25\"}' data-wp-interactive=\"core\/image\" data-wp-key=\"6a58827007b25\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"2628\" height=\"1413\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=1024,h=1024,fit=scale-down\" alt='The \"Installation complete\" message with Login to your Administration button in the OpenCart installation wizard' class=\"wp-image-118406\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=2628,fit=scale-down 2628w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=1536,fit=scale-down 1536w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2016\/09\/opencart-installation-complete-login-to-your-administration-highlighted.png\/w=2048,fit=scale-down 2048w\" sizes=\"auto, (max-width: 2628px) 100vw, 2628px\" \/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" aria-label=\"Enlarge\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.imageButtonRight\" data-wp-style--top=\"state.imageButtonTop\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"><\/path>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div><ol start=\"5\" class=\"wp-block-list\">\n<li>Last but not least, delete the installation directory for security purposes:<\/li>\n<\/ol><pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo rm -rf \/var\/www\/html\/install<\/pre><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>In this article, you&rsquo;ve learned how to install OpenCart on a Linux VPS using Hostinger&rsquo;s preconfigured template or manually. The template simplifies the process to just a few clicks, while manual setup offers greater flexibility, such as when using a different OS.<\/p><p>Regardless of the chosen method, you now have a flexible eCommerce platform capable of handling high traffic and numerous transactions. After completing the installation, explore OpenCart&rsquo;s features to add products, customize your store&rsquo;s design, and set up payment methods.<\/p><p>If you have further questions about OpenCart, feel free to use the comment box below.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-install-opencart-faq\">How to install OpenCart FAQ<\/h2><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1730886632458\"><h3 class=\"schema-faq-question\">What is OpenCart?<\/h3> <p class=\"schema-faq-answer\">OpenCart is a free, open-source eCommerce platform for creating and managing online stores without building everything from scratch. It&rsquo;s flexible, customizable, and suitable for businesses of all sizes.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1730886643911\"><h3 class=\"schema-faq-question\">Which installation method is best for beginners?<\/h3> <p class=\"schema-faq-answer\">For beginners, we recommend using Hostinger&rsquo;s OpenCart VPS template. This quick installation method lets you set up your store easily, avoiding command-line errors and requiring no technical expertise.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1730886657867\"><h3 class=\"schema-faq-question\">Do I need an SSL certificate for my OpenCart store?<\/h3> <p class=\"schema-faq-answer\">Yes, an SSL certificate is necessary to secure customer data, encrypt transactions, and build trust with shoppers. Check our guide to learn <a href=\"https:\/\/support.hostinger.com\/en\/articles\/6865487-how-to-install-ssl-on-vps-using-certbot\">how to install a free SSL certificate on your VPS<\/a>.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>The open-source eCommerce platform OpenCart provides pre-built tools and features to create an online store more easily. It&rsquo;s an excellent solution if you want to sell products online without building the store from scratch. Being open-source also means OpenCart is flexible. For example, you can install it on various hosting environments, including a Linux virtual [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/how-to-install-opencart\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":337,"featured_media":145440,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to install OpenCart: 2 quick methods","rank_math_description":"Learn how to install OpenCart: 1. Automatically using the Hostinger VPS template 2. Manually using Linux commands.","rank_math_focus_keyword":"how to install opencart","footnotes":""},"categories":[22644],"tags":[],"class_list":["post-634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vps"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/how-to-install-opencart","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/como-instalar-opencart","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/cara-install-opencart","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/how-to-install-opencart","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-install-opencart","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-install-opencart","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/como-instalar-opencart","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/como-instalar-opencart","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/como-instalar-opencart","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/how-to-install-opencart","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/how-to-install-opencart","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/how-to-install-opencart","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/how-to-install-opencart","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=634"}],"version-history":[{"count":34,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/634\/revisions"}],"predecessor-version":[{"id":145439,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/634\/revisions\/145439"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media\/145440"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}