sudo apt-get update
sudo apt-get upgrade sudo apt-get install openjdk-7-jdk sudo apt-get install ant maven sudo apt-get install postgresql - sudo vim /etc/postgresql/9.3/main/pg_hba.conf modificar: - all dspace dspace md5 sudo service postgresql restart sudo apt-get install tomcat7 java -version mvn -version ant -v sudo useradd -m dspace sudo passwd dspace sudo mkdir /build cd /build sudo wget https://github.com/DSpace/DSpace/releases/download/dspace-5.4/dspace-5.4-src-release.tar.gz sudo tar -xzvf dspace-5.4-src-release.tar.gz sudo su postgres createuser --username=postgres --no-superuser --pwprompt dspace createuser --username=postgres --no-superuser --pwprompt dspace createdb --username=postgres --owner=dspace --encoding=UNICODE dspace createdb --username=postgres --owner=dspace --encoding=UNICODE dspace exit entramos a la carpeta: cd /build/dspace-5.4-src-release ubuntu@ubuntu:/build/dspace-5.4-src-release$ sudo vim build.properties cd /sudo mkdir /dspace sudo chown ubuntu /dspace sudo su dspace exit sudo chmod -R 777 /build/dspace-5.4-src-release cd /build/dspace-5.4-src-release mvn -U package cd /build/dspace-5.4-src-release/dspace/target/dspace-installer sudo ant fresh_install salir a la raiz con: cd / modifico: sudo vi /etc/tomcat7/server.xml antes de cerrar la etiquta host. <!-- Define a new context path for all DSpace web apps --> <Context path="/xmlui" docBase="/dspace/webapps/xmlui" allowLinking=”true”/> <Context path="/sword" docBase="/dspace/webapps/sword" allowLinking=”true”/> <Context path="/oai" docBase="/dspace/webapps/oai" allowLinking=”true”/> <Context path="/jspui" docBase="/dspace/webapps/jspui" allowLinking=”true”/> <Context path="/solr" docBase="/dspace/webapps/solr" allowLinking=true”/> salir :x sudo service tomcat7 restart (nota: tiene q salir ok en los reinicios) sudo chown -R tomcat7:tomcat7 /dspace sudo chown -R tomcat7:ubuntu /dspace sudo service tomcat7 restart sudo /dspace/bin/dspace create-administrator correo de admin: ejemplo:ad...@admin.com El miércoles, 27 de septiembre de 2017, 8:59:38 (UTC-5), Ηλιας Χρηστου escribió: > > > 1. > > *DSpace Directory:* Create the directory for the DSpace installation > (i.e. [dspace]). As *root* (or a user with appropriate permissions), > run: > mkdir [dspace] > chown dspace [dspace] > > (Assuming the *dspace* UNIX username.) > 2. > > *Build the Installation Package:* As the *dspace *UNIX user, generate > the DSpace installation package. > cd [dspace-source] > mvn package > should have make 2 directories? one [space] and one [dspace-source]? > > -- 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 post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.