Hi Salony,

DSpace does require the internet to build.  However, it should be possible 
to build it on a separate machine and copy the results over to the machine 
where you wish to install DSpace.

To do this, you'd need to copy over **more than** just the /dspace/webapps 
folder.   Instead, you'd need to copy over the **entire DSpace installation 
directory** to the new machine.

So, at a basic level, you'd follow the Backend Installation Instructions 
<https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace#InstallingDSpace-BackendRequirements>,
 
but with a few modifications:

On the machine that has internet, you will need to unpack the software and 
run the build

   1. Download DSpace code.  Make sure Java, Maven & Ant are installed
   2. Build via "mvn package"
   3. Perform a temporary installation using "ant fresh_install".  Make 
   sure you know which folder this install is writing into. By default, it 
   will probably write to a folder named "/dspace"


On the machine which does NOT have internet:

   1. Make sure Java, Tomcat, Postgres and Solr are installed (or available 
   on another local machine).  Make sure this machine has the same version of 
   Java as the other machine.
   2. Copy the *entire* installation folder from the other machine to this 
   one.  This means copy the entire "/dspace" folder and all directories.
   3. Continue the rest of the installation process by initializing your 
   DSpace configuration, the Database, Solr, and deploying to Tomcat.  
   Basically follow the Installation Instructions as normal, but skip the 
   steps related to "mvn" and "ant" (as you already did those on the other 
   machine).

I believe those instructions will work.  But, it is always possible I've 
forgotten a step.  So, if you run into issues, let us know on this list.

Tim




On Monday, May 27, 2024 at 3:14:33 AM UTC-5 salony.p...@gmail.com wrote:

> Hello All,
>
> I need a help for building backend of Dspace without internet
>
> I am using DSpace-7.6 and due to security reasons mvn and ant fresh is not 
> allowed in my system
>
> I tried to build the dspace in another system and tried to copy 
> /dspace/webapps folder from that location to my system and restart all 
> services but it not worked
>
> Can anyone help regarding that
>
> Any help is highly appreciated
>
> Thanks and Regards
>
> Salony Permanand
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/585c9d76-158d-4cdb-967b-006440028c85n%40googlegroups.com.

Reply via email to