{"id":31179,"date":"2019-07-26T13:26:04","date_gmt":"2019-07-26T18:26:04","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=31179"},"modified":"2022-06-03T03:33:38","modified_gmt":"2022-06-03T08:33:38","slug":"how-to-install-apache-couchdb-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/","title":{"rendered":"How to Install Apache CouchDB on Debian 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-31266\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg\" alt=\"\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>In this article, we will show you how to install Apache CouchDB on a <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 9 VPS.<\/a><\/p>\n<p>Apache CouchDB is a free and open-source NoSQL document-oriented database solution that uses JSON to store data. CouchDB <img decoding=\"async\" class=\"alignright size-full wp-image-31267\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/couchdb-managed-debian9-vps.jpg\" alt=\"\" width=\"200\" height=\"100\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/couchdb-managed-debian9-vps.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/couchdb-managed-debian9-vps-150x75.jpg 150w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/>is commonly used in mobile replication and synchronization devices as it does not lock the database files at the time of writing. CouchDB also comes with an easy-to-manage web-based administration console, and it supports trivial hot back-ups, a fault-tolerant engine, safeguarding user data, and much more. Let&#8217;s begin with the installation.<!--more--><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f1bc5280973\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f1bc5280973\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#Step-1-Log-in-via-SSH-and-Update-the-System\" >Step 1: Log in via SSH and Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#Step-2-Install-a-Web-Server\" >Step 2: Install a Web Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#Step-3-DownloadEnable-the-CouchDB-Repository\" >Step 3: Download\/Enable the CouchDB Repository<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#Step-4-Install-CouchDB\" >Step 4: Install CouchDB<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#Step-5-Setting-up-Nginx\" >Step 5: Setting up Nginx<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#Step-6-Access-the-CouchDB-Web-Interface\" >Step 6: Access the CouchDB Web Interface<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Step-1-Log-in-via-SSH-and-Update-the-System\"><\/span>Step 1: Log in via SSH and Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 9 VPS<\/a> via SSH as the root user (or as a user with sudo privileges):<\/p>\n<pre>ssh root@<span style=\"color: #ff0000;\">Server_IP_Address<\/span> -p <span style=\"color: #ff0000;\">Port_Number<\/span><\/pre>\n<p>of course, you will need to replace <code> Server_IP_Address <\/code> and <code>Port_Number<\/code> with your actual server IP address and SSH port number.<\/p>\n<p>By running the following command, all currently installed packages on your system will be updated and upgraded to their latest available versions:<\/p>\n<pre>apt update &amp;&amp; apt upgrade -y<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-2-Install-a-Web-Server\"><\/span>Step 2: Install a Web Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>First, you need to install a web server to run CouchDB. You can choose any web server that is available for Debian 9 and then install it on your server &#8211; however, in this tutorial we will use and install Nginx as our web server. By executing the following command, you can install the Nginx Web server on your VPS.<\/p>\n<pre>apt install nginx<\/pre>\n<p>When the installation is finished, you can start Nginx and also enable it to start on server boot with these commands.<\/p>\n<pre>systemctl start nginx\r\nsystemctl enable nginx\r\n<\/pre>\n<p>We will now also install several dependencies that are needed in order to install CouchDB correctly and successfully.<\/p>\n<pre>apt-get install apt-transport-https curl -y<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-3-DownloadEnable-the-CouchDB-Repository\"><\/span>Step 3: Download\/Enable the CouchDB Repository<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Unfortunately, CouchDB is not available in the pre-installed repositories found in Debian 9. We will add the official Apache CouchDB repository instead with the following command:<\/p>\n<pre>echo \"deb https:\/\/apache.bintray.com\/couchdb-deb stretch main\" \\\r\n| sudo tee -a \/etc\/apt\/sources.list<\/pre>\n<p>Once that is done, we can then add the repository&#8217;s key with the following command:<\/p>\n<pre>curl -L https:\/\/couchdb.apache.org\/repo\/bintray-pubkey.asc \\\r\n| sudo apt-key add -<\/pre>\n<p>Now we can install CouchDB using our newly-installed repository.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Step-4-Install-CouchDB\"><\/span>Step 4: Install CouchDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Since we enabled the CouchDB repository in the previous step, we now need to update the repository cache and install the Apache CouchDB package:<\/p>\n<pre>apt-get update &amp;&amp; apt-get install couchdb<\/pre>\n<p>During the installation, it will prompt you about which type of installation you prefer &#8211; standalone, or clustered:<\/p>\n<pre> \r\n \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Configuring couchdb \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n \u2502                                                                           \u2502 \r\n \u2502 Please select the CouchDB server configuration type that best meets your  \u2502  \r\n \u2502 needs.                                                                    \u2502  \r\n \u2502                                                                           \u2502  \r\n \u2502 For single-server configurations, select standalone mode. This will set   \u2502  \r\n \u2502 up CouchDB to run as a single server.                                     \u2502  \r\n \u2502                                                                           \u2502  \r\n \u2502 For clustered configuration, select clustered mode. This will prompt for  \u2502  \r\n \u2502 additional parameters required to configure CouchDB in a clustered        \u2502  \r\n \u2502 configuration.                                                            \u2502  \r\n \u2502                                                                           \u2502  \r\n \u2502 If you prefer to configure CouchDB yourself, select none. You will then   \u2502  \r\n \u2502 need to edit \/opt\/couchdb\/etc\/vm.args and \/opt\/couchdb\/etc\/local.d\/*.ini  \u2502  \r\n \u2502 yourself. Be aware that this will bypass *all* configuration steps,       \u2502  \r\n \u2502 including setup of a CouchDB admin user - leaving CouchDB in \"admin       \u2502  \r\n \u2502                                                                           \u2502  \r\n \u2502                  General type of CouchDB configuration:                   \u2502 \r\n \u2502                                                                           \u2502 \r\n \u2502                                standalone                                 \u2502 \r\n \u2502                                clustered                                  \u2502 \r\n \u2502                                none                                       \u2502 \r\n \u2502                                                                           \u2502 \r\n \u2502                                 &lt;Ok&gt;                                      \u2502\r\n |                                                                           |\r\n \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \r\n<\/pre>\n<p>We will choose the standalone type for this tutorial. Keep in mind that you may need to choose &#8216;clustered&#8217;, depending on your specific use case. For most cases, only a &#8216;standalone&#8217; version of CouchDB is needed. Select it and press the [Enter] key to continue. Next, you will be asked to choose an interface bind address. We will select the default installation option.<\/p>\n<pre>  \r\n  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Configuring couchdb \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n  \u2502 A CouchDB node must bind to a specific network interface. This is done   \u2502 \r\n  \u2502 via IP address. Only a single address is supported at this time.         \u2502 \r\n  \u2502                                                                          \u2502 \r\n  \u2502 The special value '0.0.0.0' binds CouchDB to all network interfaces.     \u2502 \r\n  \u2502                                                                          \u2502 \r\n  \u2502 The default is 127.0.0.1 (loopback) for standalone nodes, and 0.0.0.0    \u2502 \r\n  \u2502 (all interfaces) for clustered nodes. In clustered mode, it is not       \u2502 \r\n  \u2502 allowed to bind to 127.0.0.1.                                            \u2502 \r\n  \u2502                                                                          \u2502 \r\n  \u2502 CouchDB interface bind address:                                          \u2502 \r\n  \u2502                                                                          \u2502 \r\n  \u2502 127.0.0.1_______________________________________________________________ \u2502 \r\n  \u2502                                                                          \u2502 \r\n  \u2502                                 &lt;Ok&gt;                                     \u2502 \r\n  \u2502                                                                          \u2502 \r\n  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518 \r\n<\/pre>\n<p>Now we&#8217;ll need to choose a new password for the CouchDB admin user:<\/p>\n<pre>   \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Configuring couchdb \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n   \u2502 It is highly recommended that you create a CouchDB admin user,     \u2502\r\n   \u2502\t\t\t\t\t\t\t\t\t\u2502\r\n   \u2502 which takes CouchDB out of the insecure \"admin party\" mode. \t\u2502\r\n   \u2502\t\t\t\t\t\t\t\t\t\u2502\r\n   \u2502 Entering a password here will take care of this step for you.      \u2502\r\n   \u2502                                                                    \u2502                     \r\n   \u2502 If this field is left blank, an admin user will not be created.    \u2502                   \r\n   \u2502                                                                    \u2502                      \r\n   \u2502 A pre-existing admin user will not be overwritten by this package. \u2502                     \r\n   \u2502                                                                    \u2502                  \r\n   \u2502 Password for the CouchDB \"admin\" user:                             \u2502                \r\n   \u2502                                                                    \u2502                \r\n   \u2502 *************_____________________________________________________ \u2502\r\n   \u2502                                                                    \u2502                \r\n   \u2502                              &lt;Ok&gt;                                  \u2502            \r\n   \u2502                                                                    \u2502                \r\n   \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\r\n<\/pre>\n<p>Re-enter the password one more time:<\/p>\n<pre>    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524 Configuring couchdb \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\r\n    \u2502                                                \u2502\r\n    \u2502                                                \u2502\r\n    \u2502 Repeat password for the CouchDB \"admin\" user:  \u2502\r\n    \u2502                                                \u2502\r\n    \u2502 ************__________________________________ \u2502\r\n    \u2502                                                \u2502\r\n    \u2502                     &lt;Ok&gt;                       \u2502\r\n    \u2502                                                \u2502\r\n    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\r\n<\/pre>\n<p>Once the installation is finished, we will start our new CouchDB instance and enable it to start on boot:<\/p>\n<pre>systemctl start couchdb\r\nsystemctl enable couchdb<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-5-Setting-up-Nginx\"><\/span>Step 5: Setting up Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In order to access Apache CouchDB on your browser with a domain or subdomain, you will need to create an Nginx configuration file with a reverse proxy. We will use nano as our text editor and create the CouchDB configuration file:<\/p>\n<pre>nano \/etc\/nginx\/sites-available\/couchdb.conf<\/pre>\n<p>Insert the following configuration in the new couchdb.conf file. Remember to change <span style=\"color: #ff0000;\">domain-name.com<\/span> with your actual domain.<\/p>\n<pre>server {\r\n    listen 80;\r\n        server_name  <span style=\"color: #ff0000;\">domain-name.com<\/span>;\r\n\r\n        server_name_in_redirect off;\r\n        proxy_set_header Host $host:$server_port;\r\n\r\nlocation \/ {\r\n        proxy_pass  http:\/\/127.0.0.1:5984;\r\n        proxy_redirect off;\r\n        proxy_buffering off;\r\n        proxy_set_header Host $host;\r\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n    }\r\n\r\n}\r\n<\/pre>\n<p>Once you&#8217;re done editing, save and close the file. To enable this configuration, run the following command:<\/p>\n<pre>ln -s \/etc\/nginx\/sites-available\/couchdb.conf \/etc\/nginx\/sites-enabled\/<\/pre>\n<p>You can test the Nginx configuration file for correct syntax with the command:<\/p>\n<pre>nginx -t<\/pre>\n<p>or<\/p>\n<pre>service nginx configtest<\/pre>\n<p>If the test passes, restart the web server to include the changes we made.<\/p>\n<pre>systemctl restart nginx<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Step-6-Access-the-CouchDB-Web-Interface\"><\/span>Step 6: Access the CouchDB Web Interface<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If you carefully followed the previous steps, you should be able to access the <code> http:\/\/domain-name.com\/_utils\/<\/code> CouchDB web-based interface called &#8216;Fauxton&#8217; in your preferred web browser.<\/p>\n<p><img decoding=\"async\" class=\"wp-image-31180 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB.png\" alt=\"Apache CouchDB\" width=\"1920\" height=\"956\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB.png 1920w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB-150x75.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB-300x149.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB-768x382.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB-1024x510.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/Apache-CouchDB-1080x538.png 1080w\" sizes=\"(max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>To log in to your CouchDB instance you can use the credentials that you defined during the installation. That&#8217;s it! You now have a fully-functioning CouchDB server set up.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-31268\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/configure-couchdb-debian9-vps.jpg\" alt=\"\" width=\"200\" height=\"100\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/configure-couchdb-debian9-vps.jpg 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/configure-couchdb-debian9-vps-150x75.jpg 150w\" sizes=\"(max-width: 200px) 100vw, 200px\" \/>Of course, you don\u2019t have to install CouchDB on Debian 9 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> plans, in which case you can simply ask our expert Linux admins to set everything up for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\">PS.<\/span> If you liked this post on how to install CouchDB on Debian 9, please share it with your friends through the social networks by using the buttons below, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will show you how to install Apache CouchDB on a Debian 9 VPS. Apache CouchDB is &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Apache CouchDB on Debian 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#more-31179\" aria-label=\"Read more about How to Install Apache CouchDB on Debian 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":31266,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1702,1700],"tags":[],"class_list":["post-31179","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases","category-debian","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Apache CouchDB on Debian 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install Apache CouchDB on Debian 9 | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Apache CouchDB on Debian 9\" \/>\n<meta property=\"og:description\" content=\"How to Install Apache CouchDB on Debian 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-26T18:26:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:33:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Apache CouchDB on Debian 9\",\"datePublished\":\"2019-07-26T18:26:04+00:00\",\"dateModified\":\"2022-06-03T08:33:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/\"},\"wordCount\":724,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-apache-couchdb-on-debian9.jpg\",\"articleSection\":[\"Databases\",\"Debian\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/\",\"name\":\"How to Install Apache CouchDB on Debian 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-apache-couchdb-on-debian9.jpg\",\"datePublished\":\"2019-07-26T18:26:04+00:00\",\"dateModified\":\"2022-06-03T08:33:38+00:00\",\"description\":\"How to Install Apache CouchDB on Debian 9 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-apache-couchdb-on-debian9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/how-to-install-apache-couchdb-on-debian9.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-apache-couchdb-on-debian-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Apache CouchDB on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Apache CouchDB on Debian 9 | RoseHosting","description":"How to Install Apache CouchDB on Debian 9 | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Apache CouchDB on Debian 9","og_description":"How to Install Apache CouchDB on Debian 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-07-26T18:26:04+00:00","article_modified_time":"2022-06-03T08:33:38+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Apache CouchDB on Debian 9","datePublished":"2019-07-26T18:26:04+00:00","dateModified":"2022-06-03T08:33:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/"},"wordCount":724,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg","articleSection":["Databases","Debian"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/","name":"How to Install Apache CouchDB on Debian 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg","datePublished":"2019-07-26T18:26:04+00:00","dateModified":"2022-06-03T08:33:38+00:00","description":"How to Install Apache CouchDB on Debian 9 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/06\/how-to-install-apache-couchdb-on-debian9.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-apache-couchdb-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Apache CouchDB on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/31179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=31179"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/31179\/revisions"}],"predecessor-version":[{"id":41712,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/31179\/revisions\/41712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/31266"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=31179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=31179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=31179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}