9/11/2023 0 Comments Centos install postgres![]() ![]() ![]() Or just execute the following command: sudo bash -c 'echo "include /etc/bloonix/webgui/nf " >/etc/nginx/conf.d/001_nf' Start Elasticsearch and Nginx sudo systemctl start rvice ![]() Sudo sed -i 's/\(host *all *all *::1\/128 *\)ident/\1md5/' /var/lib/pgsql/data/pg_hba.conf Restart PostgreSQL sudo systemctl restart rvice NginxĬreate the configuration file /etc/nginx/conf.d/001_nf with the following content: include /etc/bloonix/webgui/nf Or execute the following commands: sudo sed -i 's/\(host *all *all *127.0.0.1\/32 *\)ident/\1md5/' /var/lib/pgsql/data/pg_hba.conf Replace the following lines: host all all 127.0.0.1/32 ident host all all ::1/128 ident Or execute the following command: sudo sed -i 's/^#listen_addresses /listen_addresses/' /var/lib/pgsql/data/nfĮdit /var/lib/pgsql/data/pg_hba.conf and configure PostgreSQL to allow to connect with username and password: sudo vim /var/lib/pgsql/data/pg_hba.conf Set the following parameter: listen_addresses = 'localhost' Init PostgreSQL sudo postgresql-setup initdb Configure PostgreSQLĮdit /var/lib/pgsql/data/nf and configure PostgreSQL to listen on localhost: sudo vim /var/lib/pgsql/data/nf In addition please install a MTA like Postfix, Exim or Sendmail please. Example: network.bind_host: 127.0.0.1 Package installation sudo yum install \ Name=Elasticsearch repository for 2.x packagesįor security reasons the parameter network.bind_host should be changed in /etc/elasticsearch/elasticsearch.yml, so that Elasticsearch doesn't listen on all IP addresses. ![]() Quick installation guide on CentOS 7 with PostgreSQL Install at first the EPEL repository sudo yum install epel-release Install the Bloonix repository sudo rpm -ivh Install the Elasticsearch repository sudo rpm -import ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |