Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-16-2019 07:22 AM
Hello Team ,
I have installed the neo4j using rpm packages. ( dbms.jvm.additional=-Dunsupported.dbms.udc.source=rpm )
I want to change the below installation directories path under neo4j.conf file according to my user defined path like /app/neo4j/app/.
Please let us know the possibility of doing this and if it is possible then what changes I need to do in conf file to get the user-defined paths ?
Below are the by-default paths for RPM installation:
dbms.directories.data=/datasan01/neo4japp/
dbms.directories.plugins=/var/lib/neo4j/plugins
dbms.directories.certificates=/var/lib/neo4j/certificates
dbms.directories.logs=/var/log/neo4j
dbms.directories.lib=/usr/share/neo4j/lib
dbms.directories.run=/var/run/neo4j
dbms.directories.metrics=/var/lib/neo4j/metrics
Best Regards
Akshat
09-16-2019 07:55 AM
This might be possible -- but it isn't such a great idea. If you customize the package locations, you may end up causing problems when it comes time to upgrade, since RPM won't be able to find things where it expects them to be. I expect changing these directories might also be a bit more complicated than necessary.
If you want to install Neo4j in your own custom directory anywhere, I'd recommend installing from tarball and not RPM. It will still work on RedHat distros.
https://neo4j.com/docs/operations-manual/current/installation/linux/tarball/
09-16-2019 08:53 PM
Hello David,
Greetings!!
Thanks a lot for explaining the scenarios.
We dont have tarball package for enterprise edition so we are using RPM package.
As of now we need to change the paths created with rpm installation as it uses OS directory which is not a good idea in our organization. Adding more to it , We are also planning for causal clustering on the neo4j servers. Hence OS related by-default paths will not work in our case.
Please let me know what is the procedure to change the path's in RPM installation.
Thanks a lot !
Regards
Akshat
09-18-2019 09:21 AM
If you're an enterprise customer, please file a ticket through support.neo4j.com and they may be able to help you out with that. Still please consider that we can easily get you access to the tarball files for install this way. I understand your reasons for needing to change this, but still would like to underscore that things are likely to be easier for you going the tarball route.
09-21-2019 03:40 AM
Thanks David !! I will check on support neo4j site.
All the sessions of the conference are now available online