Im trying to add a new superuser to x-pack.
But in /elasticsearch/bin there is no "x-pack" directory. Only x-pack-env, x-pack-security-env and x-pack-watcher-env.
If I try to install x-pack the following error is shown:
this distribution of Elasticsearch contains X-Pack by default
Im running elasticsearch in a docker-container
Follow this docment to enable password for elastic and kibana default user:
https://www.elastic.co/guide/en/elasticsearch/reference/7.13/security-minimal-setup.html#security-create-builtin-users
Then you can use kibana user management and add a superuser to elasticsearch or you can use security API :
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html
Related
I want to add phpmyadmin in lando as a plugin but facing this error
To add Phpmyadmin, you need to re-write .lando.yml file and append in the file end with the following lines.
But to have Phpmyadmin, you should have PHP backend or any LAMP setup, so that you can use PHPMyAdmin
services:
myservice:
type: phpmyadmin
For more details on how to configure you can refer to official documentation
For particular phpmyadmin version
services:
myservice:
type: phpmyadmin:4.8
Another Method : You can use portforwarding to connect with any external Database GUI tools like Dbeaver
By default, the default databases have portforward, check database port for connecting externally with lando info
Trying to connect to give use ldap for auth in xwiki
Main warnings in docker log of xwiki are solr and Xwiki Failed to get the configured AuthService
Tests where I try to insert user logins and passwords in in docker logs gives me WARN nyicationFailureLoggerListener and I can't find any info on what it is.
If u have any suggestions or what might be helpful docker logs of successful ldap connections please pill me in on that
Ive created my .cfg file on an example from https://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/#H8.3.x
Installed all related extensions
I am trying to install ERPNext on RHEL 8. I have no experience with ERPNext installation and RHEL 8 so this is a learning process for me.
Below is where I'm having trouble with the installation. Since this is just for me to learn how to install before I implement it on the production/development server, I decide to use "localhost" as I do not own any domain.
[erp#localhost frappe-bench]$ bench new-site localhost
MySQL root password:
For key character_set_server. Expected value utf8mb4, found value latin1
For key collation_server. Expected value utf8mb4_unicode_ci, found value latin1_swedish_ci
================================================================================
Creation of your site - localhost failed because MariaDB is not properly
configured. If using version 10.2.x or earlier, make sure you use the
the Barracuda storage engine.
Please verify the settings above in MariaDB's my.cnf. Restart MariaDB. And
then run `bench new-site localhost` again.
================================================================================
Database settings do not match expected values; stopping database setup.
The guide that I'm following is here
I am a beginner with server deployment, RHEL and related topics.
####################### -UPDATED- #######################
I managed to complete the installation. All I need to do was adding a few lines to the my.cnf file. Then, everything work just fine!
I have done guacamole-1.3.0 version native installation in my linux centOs machine.
I need to do LDAP guacamole integration but I am facing some difficulty in doing the configuration.
I have created /etc/guacamole/extension and added ldap-auth 1.3.0 jar inside /etc/guacamole/extensions. Used Tomcat and that is running in the server. Started guacd service. Installation is done but ldap integration facing difficulty.
Need help on how to check and login using ldap auth.
Kindly help me with the steps for ldap guacamole integration for version-1.3.0
Here the guacamole LDAP Properties vim /etc/guacamole/guacamole.properties
# Auth provider class auth-provider:net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider
#LDAP Properties
ldap-hostname: stackoverflow.local
ldap-port: 636 or 3268(LDAP Unsecure conncetion)
ldap-user-base-dn:CN=Users,DC=stackoverflow,DC=local
ldap-user-base-dn: dc=stackoverflow,dc=local
ldap-search-bind-dn:cn=ldap1,CN=Users,dc=stackoverflow,dc=local
ldap-search-bind-password: XXXXXXXXXXX (Password for ldap1 user)
ldap-username-attribute: sAMAccountName
ldap-user-search-filter:(objectClass=user)(!(objectCategory=computer))
ldap-max-search-results:4000
mysql-auto-create-accounts: true
ldap-follow-referrals:true
Then restart tomcat gucad and mysql service
systemctl restart tomcat mysqld guacd
login with domain user simply by giving domain name and password in guacamole dashboard.
If you need more help reply back here with logs i can helpout
I have a new installation of postgres in my mac using brew install.
I am trying to login to postgres user using sudo -su postgres
I get the error postgres does not know where to find the server configuration file. You must specify the --config-file or -D invocation option or set the PGDATA environment variable in mac
Can anyone please assist to point out where the error is originating from?
I want to log in as postgres and then create a new role,then create a database with owner 'newrole'.
Regards