Start all over and go through the process carefully.Īnd ant is next: cd dspace/target/dspace-installer If the result does not look like the above code, then something went wrong somewhere. We are now ready to download the DSpace source from GitHub: (You can replace the 6.2 version with any 6.x version) mkdir dspace_buildĭecompress the source file: tar -zxf cd dspace-6.2-src-release
Restart PostgreSQL to adopt the changes sudo /etc/init.d/postgresql restart Open the pg_hba.conf file with your favorite editor (nano, vi, etc.) sudo nano /etc/postgresql/9.6/main/pg_hba.confĪnd add the following line local all dspace md5 Now we should add a line to the PostgreSQL for client authentication: Psql -username=postgres dspace -c "CREATE EXTENSION pgcrypto " Let’s login to PostgreSQL and create the DSpace database (using template0) and database user: sudo su - postgresĬreateuser -username=postgres -no-superuser -pwprompt dspaceĬreatedb -username=postgres -owner=dspace -encoding=UNICODE -T template0 dspace
Install openjdk 7 ubuntu 14.04 install#
Sudo apt-get install postgresql postgresql-contrib Install PostgreSQL 9.6: (earlier versions of PostgreSQL > /etc/apt//pgdg.list' wget -q -O - | sudo apt-key add. You can also run all the installations with a line of code sudo apt-get install openjdk-7-jdk ant maven tomcat7įor Ubuntu 16.04 or 18.04, you can use: sudo apt-get install openjdk-8-jdk ant maven tomcat8Ĭreate the DSpace user in Ubuntu: sudo useradd -m dspace Install Git (not actually used with this method, but it resolves an error produced by maven): sudo apt-get install git Install Apache Tomcat: sudo apt-get install tomcat8 Install maven: sudo apt-get install maven
Install OpenJDK 7 (or later version – 8): sudo apt-get install openjdk-7-jdkįor Ubuntu 16.04 or 18.04, you can use OpenJDK 8 sudo apt-get install openjdk-8-jdk
Install openjdk 7 ubuntu 14.04 update#
On the command line type: sudo apt-get update & sudo apt-get upgrade -y ( Proxmox container template)Īs usual, let’s begin with an update and upgrade. The development server was built on a basic Ubuntu Server installation with only OpenSSH installed beyond the basic conf. This is tested to work on a Ubuntu Server 14.04, 16.04 and 18.04 LTS versions on a physical machine and on a Proxmox container.