#1. Create a new PostgreSQL database for your test instance with a
different name from your production instance, e.g. call it dspace2... or
anything else different from your production instance database name
#2. Change database settings in *[dspace]\config\dspace.cfg* to reflect
test instance database details.... in particular, change the URL and
credentials for connecting to the database (shown in red below).
43 ##### Database settings #####
:
49
* 50 # URL for connecting to database
51 db.url = jdbc:postgresql://localhost:5433/dspace2
52 #db.url = jdbc:postgresql://localhost:5433/dspace**2*
53
:
57
58 # Database username and password
* 59 db.username = dspace
60 db.password = dspace*
:
#3. Change the base URL and port in *[dspace]\config\dspace.cfg* to
reflect details for your test instance.... e.g. if test instance will be
running on port 8081, then change code section below
* 31 # DSpace base host URL. Include port number etc.
32 dspace.baseUrl = http://localhost:8081*
#4. Build, install and then deploy your DSpace test instance
#5. Post installation tasks
if you'll be using statistics in test instance, change solr server
details in *[dspace]\config\modules\solr-statistics.cfg*
:
*11 # tomcat still running on port 8081
12 server = http://localhost:8081/dspace/solr/statistics
*:
Lighton Phiri
http://lightonphiri.org
On 07/07/2012 08:43, AMJAD USMAN [via DSpace] wrote:
> Thanks to all of you.
> Let me tell you detail first. I am using:
> Dspace 1.6 JSP, PostgresSQL9, Apache Tomcat 6, on windows server 2008
> (live running server)
> i want to create another dspace instance for testing purposes. its
> details are:
> Dspace 1.8 JSP, PostgresSQL9, Apache Tomcat 6 test, on windows server
> 2008 (live test server)
>
> Note: i have kept separate the files and folders of both dspace 1.6
> and 1.8
> i have created two instances of apache tomcat: tomcat6 & tomcat6test
> both tomcat instances are running on different ports
>
> now guide me pliz whether i m doing right or wrong ?
>
> regards
> amjad
>
>
> ------------------------------------------------------------------------
> Date: Fri, 6 Jul 2012 11:10:54 -0400
> From: [hidden email] </user/SendEmail.jtp?type=node&node=4656108&i=0>
> To: [hidden email] </user/SendEmail.jtp?type=node&node=4656108&i=1>
> Subject: Re: [Dspace-tech] Multiple instances of dspace on a single server
>
> Hi Amjad:
>
> We have 4 DSpace instances running on the same server, using Tomcat
> and Apache2 with mod_jk.
> You just need 4 different databases and 4 different DSpace
> directories. And tell tomcat server.xml where they are.
>
> Regards,
> Álvaro
>
> El 06/07/12 07:45, AMJAD USMAN escribió:
>
> Hello everybody,
> i have deployed dspace on a server. i want to create another
> instance of dspace on the same server for testing and development
> purposes.
> can anybody help me in this regard?
>
> Regards
> amjad
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4656108&i=2>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
>
> --
> Álvaro Sandoval Pizarro
>
> BCN, Biblioteca del Congreso Nacional de Chile
> Ingeniería y Desarrollo
> Fono (5632) 226 3981
>
> http://www.bcn.cl/
>
> ------------------------------------------------------------------------------
>
> Live Security Virtual Conference Exclusive live event will cover all
> the ways today's security and threat landscape has changed and how IT
> managers can respond. Discussions will include endpoint security,
> mobile security and the latest in malware threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________ DSpace-tech mailing
> list [hidden email] </user/SendEmail.jtp?type=node&node=4656108&i=3>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
> ------------------------------------------------------------------------------
>
>
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> DSpace-tech mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=4656108&i=4>
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the
> discussion below:
> http://dspace.2283337.n4.nabble.com/Multiple-instances-of-dspace-on-a-single-server-tp4656098p4656108.html
>
>
> To start a new topic under DSpace, email
> [email protected]
> To unsubscribe from DSpace, click here
> <http://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3276944&code=bGlnaHRvbi5waGlyaUBnbWFpbC5jb218MzI3Njk0NHwxNTkzODU2MzQ4>.
> NAML
> <http://dspace.2283337.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
-----
Phiri
http://lightonphiri.org
--
View this message in context:
http://dspace.2283337.n4.nabble.com/Multiple-instances-of-dspace-on-a-single-server-tp4656098p4656110.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech