{"id":542,"date":"2018-05-09T02:52:11","date_gmt":"2018-05-09T07:52:11","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=542"},"modified":"2020-08-02T11:52:30","modified_gmt":"2020-08-02T16:52:30","slug":"how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/","title":{"rendered":"How to Install, Configure and Run AskBot with Let&#8217;s Encrypt SSL on Ubuntu 16.04"},"content":{"rendered":"<div id=\"linux-1909425477\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same features like karma points, up votes and down votes. AskBot launched in 2009 and its used by LibreOffice, Fedora, Ros.org, Sage and other, for their Q&amp;A sections. It written in Python on top of the Django platform, and in this tutorial we\u2019ll show you how to install, configure and run AskBot and deploy with NGINX as a web server, PostgreSQL as a database server, and LetsEncrypt as a free SSL certificates provider on your Ubuntu 16.04 server. Let&#8217;s get started with the tutorial, and if you carefully follow the steps bellow you should have AskBot installed on Ubuntu 16.04 in less than 10 minutes.<\/p>\n<p><!--more--><\/p>\n<h2 id=\"install-dependencies-and-create-a-database\">1. Install Dependencies<\/h2>\n<p>The first step is the installation of the required packages. Run the following command to install them:<\/p>\n<pre>apt-get install python-pip python-dev python-setuptools python-flup libpng12-dev zlib1g-dev libpng-dev libjpeg-dev build-essential<\/pre>\n<h2 id=\"step-install-and-configure-postgresql-database\">2. Install and configure PostgreSQL database<\/h2>\n<p>Install PostgreSQL from the Ubuntu package repository . You can do that using this command:<\/p>\n<pre>sudo apt-get install -y postgresql postgresql-contrib<\/pre>\n<p>At this point, in order to configure local user authentication, you need to edit the <em>pg_hba.conf<\/em>\u00a0 using some text editor, e.g. nano:<\/p>\n<pre>nano \/etc\/postgresql\/9.5\/main\/pg_hba.conf<\/pre>\n<p>If you want to activate password authentication using an MD5 hash then you should replace <code>peer<\/code> with <code>md5<\/code> on this line:<\/p>\n<pre class=\"system\">local   all          all                  md5<\/pre>\n<p>Save and exit. You should restart the PostgreSQL service in order to enable automatic start at system boot and at the same time to enable these changes.<\/p>\n<pre>systemctl restart postgresql<\/pre>\n<pre>systemctl enable postgresql<\/pre>\n<p>Create a new PostgreSQL database and user for Askbot installation. In this tutorial, a new database &#8216;askbot_db&#8217; with username &#8216;askbot_user&#8217; and password &#8216;YOUR_PASSWORD&#8217; was created.<\/p>\n<p>You need to login as the postgres user and access the PostgreSQL shell &#8216;psql&#8217;.<\/p>\n<pre>su - postgres\r\npsql<\/pre>\n<p>Using the next queries you should create a new database named &#8216;askbot_db&#8217; and a new user &#8216;askbot_user&#8217; with password &#8216;YOUR_PASSWORD&#8217;.<\/p>\n<pre>create database askbot_db;\r\ncreate user askbot_user with password 'YOUR_PASSWORD';\r\ngrant all privileges on database askbot_db to askbot_user;\r\n\\q<\/pre>\n<p>Now, you have created a new PostgreSQL database for Askbot installation.<\/p>\n<h2 id=\"step-install-and-configure-askbot-django-app\">3. Install and Configure Askbot Django App<\/h2>\n<p>You have installed all packages which are needed for the installation of Askbot and also you have created the PostgreSQL database. The next thing on your list is to install and configure Askbot.<\/p>\n<p>Now, for the installation of Askbot a new user should be created, because the root user won`t be uses for it. You need to create a new user &#8216;<strong>askbot<\/strong>&#8216; and to give a new password to that user.<\/p>\n<pre>useradd -m -s \/bin\/bash askbot\r\npasswd askbot<\/pre>\n<p>Then, you should add the <em>askbot<\/em> user to the sudo group by the usermod command.<\/p>\n<pre>usermod -a -G sudo askbot<\/pre>\n<p>You need to create a Symbolic link to \/user\/bin<\/p>\n<pre>sudo ln -s \/usr\/local\/bin\/pip \/usr\/bin\/<\/pre>\n<p>You have created a new user has been created. The next step is to update python-pip and install virtualenv package. Using the following pip commands you can install these packages.<\/p>\n<pre>pip install --upgrade pip\r\npip install virtualenv<\/pre>\n<p>At this point you should log in as the &#8216;askbot&#8217; user with the su command, and install Askbot.<\/p>\n<pre>su - askbot<\/pre>\n<p>Next we would need a new virtual environment for the installation of askbot and we can create it with virtualenv command.<\/p>\n<pre>virtualenv example_user<\/pre>\n<p>To activate the new virtual environment, use the following command:<\/p>\n<pre>source example_user\/bin\/activate<\/pre>\n<p>Next you should install Askbot Django app with pip, including psycopg2 for PostgreSQL database connection.<\/p>\n<pre>pip install askbot psycopg2<\/pre>\n<p>Now, you need to create a new directory for Askbot Django app &#8211; we choose to use the name &#8216;my_app&#8217;. You should install Askbot in the created directory.<\/p>\n<pre>mkdir my_app\/\r\ncd my_app<\/pre>\n<p>You can now install Askbot using the following command:<\/p>\n<pre>askbot-setup<\/pre>\n<p>You should only give the single &#8216;<strong>.<\/strong>&#8216; and press &#8216;Enter&#8217; when asked about the Askbot installation directory. In a similar way, by choosing number &#8216;<strong>1<\/strong>&#8216; you can choose PostgreSQL for database config. Input the database name &#8216;<strong>askbot_db<\/strong>&#8216;, username &#8216;<strong>askbot_user<\/strong>&#8216; with password &#8216;<strong>YOUR_PASSWORD<\/strong>&#8216;.<\/p>\n<pre>pip install six==1.10<\/pre>\n<p>Using this command you will generate Django static files directory.<\/p>\n<pre>python manage.py collectstatic<\/pre>\n<p>In order to continue type &#8216;yes&#8217; and press Enter.<\/p>\n<p>With the use of the syncdb option you can generate the PostgreSQL database.<\/p>\n<pre>python manage.py syncdb<\/pre>\n<p>You should type &#8216;yes&#8217; and then type your admin user, email, and password when asked to create the admin user.<\/p>\n<p>Now you have installed Askbot on the system under the &#8216;askbot&#8217; user virtual environment. If you want to test the installation of Askbot you can run the runserver command below.<\/p>\n<pre>python manage.py runserver 0.0.0.0:8080<\/pre>\n<p>If you desire to check the Askbot&#8217; page you need to open your web browser and type the server IP with port 8080.<\/p>\n<h2 id=\"deploy-askbot-with-let-s-encrypt-ssl\">4. AskBot with Let\u2019s Encrypt SSL<\/h2>\n<p>uWSGI supports applications based on Python, Perl, and Ruby. Here, we are going to use uWSGI with the Nginx web server for our Askbot installation. You can install uWSGI using the pip command below.<\/p>\n<pre>sudo pip install uwsgi<\/pre>\n<p>The next step is the creation of a new directory for the uWSGI site configuration &#8216;\/etc\/uwsgi\/sites&#8217;.<\/p>\n<pre>mkdir -p \/etc\/uwsgi\/sites\r\ncd \/etc\/uwsgi\/sites<\/pre>\n<p>You need to add new uWSGI configuration file &#8216;askbot.ini&#8217; to the &#8216;sites&#8217; directory and then to edit it with nano.<\/p>\n<pre>nano  askbot.ini<\/pre>\n<p>There, paste the following uWSGI configuration.<\/p>\n<pre>[uwsgi]\r\n\r\n# Project directory, Python directory\r\nchdir = \/home\/askbot\/example_user\/my_app\r\nhome = \/home\/askbot\/example_user\/\r\nstatic-map = \/m=\/home\/askbot\/example_user\/my_app\/static\r\nwsgi-file = \/home\/askbot\/example_user\/my_app\/django.wsgi\r\n\r\nmaster = true\r\nprocesses = 5\r\n\r\n# Askbot will running under the sock file\r\nsocket = \/home\/askbot\/example_user\/my_app\/askbot.sock\r\nchmod-socket = 664\r\nuid = askbot\r\ngid = www-data\r\nvacuum = true\r\n\r\n# uWSGI Log file\r\nlogto = \/var\/log\/uwsgi.log\r\n<\/pre>\n<h2 class=\"js-editable\" data-get-text-url=\"\/en\/s\/get-question-title\/?question_id=14981\" data-save-text-url=\"\/en\/s\/set-question-title\/?question_id=14981\" data-save-text-param-name=\"title\" data-validated-text-param-name=\"title\" data-min-lines=\"1\" data-editor-type=\"plain\" data-validator=\"askbot.validators.titleValidator\">5. Install and configure Nginx to use SSL Certificates with AskBot<\/h2>\n<p>You have now installed Askbot and it&#8217;s running under the uWSGI sock file &#8216;askbot.sock&#8217;. At this point, we are going to use Nginx web server as a reverse proxy for uWSGI application Askbot.<\/p>\n<p>Using the apt command below you can install Nginx from the repository.<\/p>\n<p class=\"command\">apt-get install nginx<\/p>\n<p>Now, using the pip command below, you can install LetsEncrypt.<\/p>\n<pre>pip install letsencrypt-nginx==0.7.0\r\n\r\ncertbot --nginx -d your_domain.com -d www.your_domain.com<\/pre>\n<p>Once you have completed the installation, don`t forget to add new nginx virtual host file &#8216;askbot.conf&#8217;.<\/p>\n<pre>nano \/etc\/nginx\/sites-available\/askbot.conf<\/pre>\n<p>You need to paste the following askbot nginx virtual host configuration.<\/p>\n<pre class=\"system\">server {\r\n        listen 80;\r\n        server_name your_domain.com www.your_domain.com;\r\n        location \/ {\r\n        include         uwsgi_params;\r\n        uwsgi_pass      unix:\/home\/askbot\/example_user\/my_app\/askbot.sock;\r\n   }\r\n listen 443 ssl;\r\n    ssl_certificate \/etc\/letsencrypt\/live\/your_domain.com\/fullchain.pem;\r\n    ssl_certificate_key \/etc\/letsencrypt\/live\/your_domain.com\/privkey.pem;\r\n    include \/etc\/letsencrypt\/options-ssl-nginx.conf;\r\n    ssl_dhparam \/etc\/letsencrypt\/ssl-dhparams.pem;\r\n\r\n}\r\nserver {\r\n    if ($host = your_domain.com) {\r\n        return 301 https:\/\/$host$request_uri;\r\n    }\r\n\r\n\r\n        listen 80;\r\n        server_name your_domain.com www.your_domain.com;\r\n    return 404;\r\n\r\n}\r\n\r\n}<\/pre>\n<p>Save and exit.<\/p>\n<p>Next, with the creation of a symlink for &#8216;askbot&#8217; file to &#8216;sites-enabled&#8217; directory you will enable the Askbot virtual host file.<\/p>\n<pre>ln -s \/etc\/nginx\/sites-available\/askbot.conf \/etc\/nginx\/sites-enabled\/askbot.conf<\/pre>\n<p>Run the following command if you want to test the nginx configuration:<\/p>\n<pre>nginx -t\r\n<\/pre>\n<p>That&#8217;s it, you have successfully installed Nginx web server and configured for the Askbot Python Django app.<\/p>\n<h2><img decoding=\"async\" class=\"aligncenter size-full wp-image-544\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg\" alt=\"install, configure and run askbot with lets encrypt ssl on ubuntu 16.04\" width=\"700\" height=\"351\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg 700w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04-300x150.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/h2>\n<p>&nbsp;<\/p>\n<p>Of course, you don\u2019t have to install, configure and run Askbot on Ubuntu 16.04, if you use one of our <a href=\"https:\/\/linuxhostsupport.com\">outsourced Linux server support services<\/a>\u00a0in which case you can simply ask our expert Linux admins to install and configure Askbot on Ubuntu 16.04 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post on how to install, configure and run AskBot with Let&#8217;s Encrypt SSL on Ubuntu 16.04, please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p><div id=\"linux-510491259\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same features like karma points, up votes and down votes. AskBot launched in 2009 and its used by LibreOffice, Fedora, Ros.org, Sage and other, for their Q&amp;A sections. It written in Python on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":545,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[95,68,97,96],"class_list":["post-542","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-askbot","tag-lets-encrypt","tag-ssl","tag-ubuntu-16-04"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install, Configure and Run AskBot with Let&#039;s Encrypt SSL on Ubuntu 16.04 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install, Configure and Run AskBot with Let&#039;s Encrypt SSL on Ubuntu 16.04 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2018-05-09T07:52:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-02T16:52:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install, Configure and Run AskBot with Let&#8217;s Encrypt SSL on Ubuntu 16.04\",\"datePublished\":\"2018-05-09T07:52:11+00:00\",\"dateModified\":\"2020-08-02T16:52:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/\"},\"wordCount\":1048,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg\",\"keywords\":[\"askbot\",\"Let's Encrypt\",\"ssl\",\"ubuntu 16.04\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/\",\"name\":\"How to Install, Configure and Run AskBot with Let's Encrypt SSL on Ubuntu 16.04 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg\",\"datePublished\":\"2018-05-09T07:52:11+00:00\",\"dateModified\":\"2020-08-02T16:52:30+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg\",\"width\":750,\"height\":410,\"caption\":\"How to Install, Configure and Run AskBot with Let\u2019s Encrypt SSL on Ubuntu 16.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install, Configure and Run AskBot with Let&#8217;s Encrypt SSL on Ubuntu 16.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install, Configure and Run AskBot with Let's Encrypt SSL on Ubuntu 16.04 | LinuxHostSupport","description":"Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same","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:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install, Configure and Run AskBot with Let's Encrypt SSL on Ubuntu 16.04 | LinuxHostSupport","og_description":"Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2018-05-09T07:52:11+00:00","article_modified_time":"2020-08-02T16:52:30+00:00","og_image":[{"width":750,"height":410,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install, Configure and Run AskBot with Let&#8217;s Encrypt SSL on Ubuntu 16.04","datePublished":"2018-05-09T07:52:11+00:00","dateModified":"2020-08-02T16:52:30+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/"},"wordCount":1048,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg","keywords":["askbot","Let's Encrypt","ssl","ubuntu 16.04"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/","name":"How to Install, Configure and Run AskBot with Let's Encrypt SSL on Ubuntu 16.04 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg","datePublished":"2018-05-09T07:52:11+00:00","dateModified":"2020-08-02T16:52:30+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"Askbot is an commercial open source question and answer platform. StackOverflow and YahooAnswer were the inspiration for Askbot, and it has the same","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2018\/05\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04.jpg","width":750,"height":410,"caption":"How to Install, Configure and Run AskBot with Let\u2019s Encrypt SSL on Ubuntu 16.04"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-configure-and-run-askbot-with-lets-encrypt-ssl-on-ubuntu-16-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install, Configure and Run AskBot with Let&#8217;s Encrypt SSL on Ubuntu 16.04"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=542"}],"version-history":[{"count":3,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/542\/revisions"}],"predecessor-version":[{"id":1235,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/542\/revisions\/1235"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/545"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}