# git clone https://git.rnp.br/rdp/dadosabertos-dev.git
IP Address net 127.0.0.1/8 scope host lo
inet 10.158.0.41/32 brd 10.158.0.41 scope global noprefixroute dynamic eth0 Hostname dataverse-eval
Glassfish service account username:This user will be running Glassfish service on your system.
- If this is a dev. environment, this should be your own username;
- In production, we suggest "glassfish" or another unprivileged user :[root] glassfish
Glassfish Directory: [/usr/local/glassfish4]
Postgres Server Address: [127.0.0.1] Postgres Server Port: [5432] Name of the Postgres Database: [dvndb] Name of the Postgres User:
- This is the Postgres user that the Dataverse app will be using to talk to the database:[dvnapp] Postgres user password: [secret]
Postgres ADMIN password:
- We will need this to create the user and database that the Dataverse application will be using.
(Hit RETURN if access control is set to "trust" for this connection in pg_hba.conf) :[secret]
Rserve Server: [localhost] Rserve Server Port: [6311] Rserve User Name: [rserve] Rserve User Password: [rserve]
Administrator email address for this Dataverse: (please enter a valid email address!)[[email protected]]
[email protected]
SMTP (mail) server (and port) to relay notification messages: [localhost]
Remote SOLR indexing service?
- Leave this set to "LOCAL" if the SOLR will be running on the same (this) server.
Otherwise, please enter the host AND THE PORT NUMBER of the remote SOLR service, colon-separated
(for example: foo.edu:8983)
:[LOCAL]
Datacite usernameDataCite or EZID username. Only necessary for publishing / minting DOIs.[dataciteuser]
Datacite passwordDataCite or EZID account password.[datacitepassword]
Datacite URLDataCite or EZID URL. Probably https://mds.datacite.org[https://mds.test.datacite.org]
Datacite MakeDataCount URLDataCite Make Data Count API base URL. Probably https://api.datacite.org[https://api.test.datacite.org
Glassfish admin credentials written to /root/.gfclient/pass.
Enter admin user name [Enter to accept default]>
You should now have a running Dataverse instance at
http://dataverse:8080
Your Dataverse has been configured to use DataCite, to register DOI global identifiers in the test name space "10.5072" with the "shoulder" "FK2"
However, you have to contact DataCite (support\@datacite.org) and request a test account, before you can publish datasets. Once you receive the account name and password, add them to your domain.xml, as the following two JVM options:
-Ddoi.username=...-Ddoi.password=...
and restart glassfish
If this is a production Dataverse and you are planning to register datasets as "real", non-test DOIs or Handles, consult the "Persistent Identifiers and Publishing Datasets" section of the Installataion guide, on how to configure your Dataverse with the proper registration credentials.
Etapa (7/7) concluida!
curl -X PUT -d '/var/www/dataverse/branding/custom-homepage.html' http://localhost:8080/api/admin/settings/:HomePageCustomizationFile
curl -X PUT -d '/logos/navbar/logo.png' http://localhost:8080/api/admin/settings/:LogoCustomizationFile
/etc/httpd/conf.modules.d/00-base.conf
proxy_module (shared) proxy_ajp_module (shared)
/etc/httpd/conf/httpd.conf
ServerAdmin [email protected]
ServerName dadosabertos-gama.rnp.br:443
ErrorLog /etc/httpd/logs/error.log
CustomLog /etc/httpd/logs/access.log combined
# don't pass paths used by rApache and TwoRavens to Glassfish
ProxyPassMatch ^/RApacheInfo$ !
ProxyPassMatch ^/custom !
ProxyPassMatch ^/dataexplore !
# don't pass paths used by Shibboleth to Glassfish
ProxyPassMatch ^/Shibboleth.sso !
ProxyPassMatch ^/shibboleth-ds !
# pass everything else to Glassfish
ProxyPass / ajp://localhost:8009/
ServerAdmin [email protected]
ServerName dadosabertos.rnp.br
ServerAlias www.dadosabertos.rnp.br
ErrorLog /etc/httpd/logs/error.log
CustomLog /etc/httpd/logs/access.log combined
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/dadosabertos-gama.rnp.br.crt
SSLCertificateKeyFile /etc/apache2/ssl/dadosabertos-gama.rnp.br.key
# don't pass paths used by rApache and TwoRavens to Glassfish
ProxyPassMatch ^/RApacheInfo$ !
ProxyPassMatch ^/custom !
ProxyPassMatch ^/dataexplore !
# don't pass paths used by Shibboleth to Glassfish
ProxyPassMatch ^/Shibboleth.sso !
ProxyPassMatch ^/shibboleth-ds !
# pass everything else to Glassfish
ProxyPass / ajp://localhost:8009/
ln -s ../sites-available/default.conf ln -s ../sites-available/ssl.conf