Dear Tim, On this page : https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-RelationalDatabase:(PostgreSQLorOracle) it says :-
Once installed, you need to enable TCP/IP connections (DSpace uses JDBC): - In postgresql.conf: uncomment the line starting: listen_addresses = 'localhost'. This is the default, in recent PostgreSQL releases, but you should at least check it. - Then tighten up security a bit by editing pg_hba.conf and adding this line: host dspace dspace 127.0.0.1 255.255.255.255 md5. This should appear *before* any lines matching all databases, because the first matching rule governs. My query is : should I make the above mentioned line the second entry in the following file ? The file says that the first entry should not be changed. This is my pg_hba.conf :- # DO NOT DISABLE! # If you change this first entry you will need to make sure that the # database superuser can access the database using some other method. # Noninteractive access to all databases is required during automatic # maintenance (custom daily cronjobs, replication, and similar tasks). # # Database administrative login by Unix domain socket local all postgres peer # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only local all all peer # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5 # Allow replication connections from localhost, by a user with the # replication privilege. #local replication postgres peer #host replication postgres 127.0.0.1/32 md5 #host replication postgres ::1/128 md5 (END) I have a general query : ( I don't have mastery over using databases.). The web request is handled by Tomcat. And tomcat interacts with the database. So won't the request originate on the same host as Tomcat is on the same host. Accordingly the new entry should start with local and not with host ? Where do I misunderstand ? Many thanks, Ashim On Tue, 12 Mar 2019 at 20:18, Tim Donohue <[email protected]> wrote: > Hi Ashim, > > Just a minor note... all these various DSpace webapps are *not required* > to run DSpace. Many are optional, and you can choose which of them you > want to install. The *only* required web applications in DSpace 6.x (or > below) are the Solr webapp and a User interface (either JSPUI or XMLUI, or > you can use both if you wish). REST API, OAI-PMH, SWORD (v1 and v2) and > RDF are *all optional*. You can choose whether you want the features they > provide, or you can choose not to install them. > > For example, many sites choose to install OAI-PMH (if they want to be > harvested by OAI-PMH harvesters). But, they may not choose to have RDF > installed, unless there's a local need to harvest/expose their DSpace data > in RDF. Similarly, the REST API interfaces is only useful if you want a > web API to create scripts/programs against. And, the SWORD interfaces > provide a web API that allows other systems to submit content into your > repository (if they are given access rights) via the SWORD protocol ( > http://swordapp.org/). > > Good luck, and let us know (on this list) if you have other questions. > > Tim > > On Tue, Mar 12, 2019 at 5:13 AM Ashim Kapoor <[email protected]> > wrote: > >> Dear Tim, >> >> Appreciate all your time and effort that went into answering my query. I >> HAVE installed ALL the webapps. From the command line when I do a curl >> request pointed at the REST API I do get some reply. Seems like it's >> working. >> >> I am reading up on RDF. The installation process seems non trivial. >> >> Please allow me some time to experiment and come back to you. >> >> Many thanks, >> Ashim >> > > > -- > > Tim Donohue > Technical Lead for DSpace & DSpaceDirect > DuraSpace.org | DSpace.org | DSpaceDirect.org > > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
