The configurations should look like this: PostgreSQL Configuration To do this, use your favorite text editor and edit /var/lib/pgsql/data/pg_hba.conf file: # vim /var/lib/pgsql/data/pg_hba.conf Next we will need to edit the PostgreSQL configuration to change our authentication method to md5. Grant the user privileges on the askbot_db: postgres=# grant all privileges on database askbot_db to askbot_user Replace “password_here” with a strong password: postgres=# create user askbot_user with password 'password_here' Create the database by using the command below, feel free to change the database name per your preferences: postgres=# create database askbot_db Now you are the PostgreSQL prompt, ready to create our database, database user and grant the user privileges on the new database. Now that our database server is up and running, we will login as postgres user to create a database for our AskBot installation. Our next step is to start PostgreSQL and enable it to start on boot: # systemctl start postgresql If everything goes normally, you should see the following: Initializing database. When the installation is complete, initialize PostgreSQL with. # yum -y install postgresql-server postgresql-devel postgresql-contrib You can use the following command to complete the installation. It uses PostgreSQL, so we will need to install it and configure it on our system. # curl "" -o "get-pip.py" & python get-pip.pyĪskBot requires a database where it will store its data. In case python-pip is not installed with the above command, you can install it with by using the following command. # yum install python-pip python-devel python-six Lastly, we will install some of the python dependencies required to later run AskBot. # yum group install 'Development Tools'Īfter that we will install Epel repository, if it hasn’t already been installed on your system. We will start by installing the required dependencies such as development tools by using the following command in a terminal. In order to complete the tutorial, you will need to have a CentOS 7 server minimal installation with root access. In this tutorial you will learn how to install AskBot on CentOS 7. Askbot can work as a standalone application or can be integrated with your existing Django apps or other web platforms. It allows for efficient question and answer knowledge management, thus organizations such as Fedora’s Q&A forums and LibreOffice’s Q&A Forums are making good use of it. It is inspired by StackOverflow and YahooAnswers, and written in Python on top of the Django web framework. I have Node v12.22.1 and NPM 7.14.0 OutputĪgentkeepalive sock create, timeout 300001ms +0msĪgentkeepalive sock(requests: 1, finished: 1) free +1sĪgentkeepalive sock reset timeout to 300001ms +57ms1.0.0 want: ^1.12Īgentkeepalive sock(requests: 2, finished: 1) reuse on addRequest, timeout 300001ms +0msĪgentkeepalive sock create, timeout 300001ms +1msĪgentkeepalive sock create, timeout 300001ms +2msĪgentkeepalive sock(requests: 2, finished: 2) free +114mswant: ^1.12Īgentkeepalive sock(requests: 1, finished: 1) free +228mswant: ^1.12Īgentkeepalive sock(requests: 1, finished: 1) free +13msĪgentkeepalive sock(requests: 1, finished: 1) free +4msĪgentkeepalive sock(requests: 1, finished: 1) free +3msĪgentkeepalive sock(requests: 1, finished: 1) free +7msĪgentkeepalive sock reset timeout to 300001ms +11msĪgentkeepalive sock(requests: 3, finished: 2) reuse on addRequest, timeout 300001ms +0msĪgentkeepalive sock reset timeout to 300001ms +1msĪgentkeepalive sock(requests: 2, finished: 2) free +192msĪgentkeepalive sock(requests: 2, finished: 2) free +11msĪgentkeepalive sock(requests: 3, finished: 3) free +4msĪgentkeepalive sock reset timeout to 300001ms +9msĪgentkeepalive sock(requests: 2, finished: 2) free +187ms10.0Īgentkeepalive sock reset timeout to 300001ms +9mswant: ~1.1.0Īgentkeepalive sock(requests: 2, finished: 2) free +142ms1.1.Askbot is an open source, simple yet powerful, fast and highly-customizable software for creating a question and answer (Q&A) forum. The only thing that I did before running the command was adding "playwright": "^1.12" in the dev dependencies of package.json. Here's the output that I have, after that NPM seems to hang forever.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |