Cara Install EPrints di Ubuntu 18.04

EPrints adalah perangkat lunak free dan open source untuk document management system, di mana lebih umum diimplementasikan sebagai repository perguruan tinggi yang menyimpan dokumen karya ilmiah seperti skripsi, tesis, desertasi, dan jurnal penelitian.

*0.Install EPrints*

Membuat file repository EPrints untuk instalasi.


1 nano /etc/apt/sources.list.d/eprints.list

Masukkan alamat repository eprints.


1 deb ./

Download key repository dan update.


1 2 wget -O – | apt-key add – apt update

Instalasi eprints


1 apt install eprints -y

Install EPrints

*1.Membuat User MySQL*

Login ke mysql dengan user root.


1 mysql -u root

Berikan password kepada user root dan membuat user eprints.


1 2 3 4 5 6 USE mysql; ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘password’; CREATE USER ‘eprints’@’localhost’ IDENTIFIED by ‘password’; GRANT ALL PRIVILEGES ON *.* TO ‘eprints’@’localhost’ WITH GRANT OPTION; flush privileges; exit

*2.Konfigurasi Repository EPrints*

Beralih menjadi user eprints dan membuat repository.


1 2 3 su eprints cd ./bin/epadmin create zero

Masukkan Archive ID, misalnya repository.


1 2 3 4 5 6 7 Create a zero Repository   Please select an ID for the repository, which will be used to create a directory and identify the repository. Lower case letters and numbers, may not start with a number. examples: “lemurprints” or “test3”   Archive ID? repository

Configure vital settings, tekan ENTER


1 2 3 4 5 6 7 8 9 Ok. I’ve created the initial config files and directory structure. I’ve also created a “disk0” directory under documents/ if you want your full texts to be stored on a different partition then remove the disk0, and create a symbolic link to the directory you wish to store the full texts in. Additional links may be placed here to be used when the first is full.     Configure vital settings? [yes] ? ENTER

Masukkan hostname/domain/subdomain yang digunakan untuk mengakses EPrints, misalnya


1 2 3 4 5 6 7 8 9 10 11 Core configuration for repository     Please enter the fully qualified hostname of the repository.   For a production system we recommend against using the real hostname of the machine.   Example:   Hostname?

Webserver Port, tekan ENTER.


1 2 3 4 Please enter the port of the webserver. This is probably 80, but you may wish to run apache on a different port if you are experimenting.   Webserver Port [80] ? ENTER

Alias, tekan ENTER.


1 2 3 4 5 6 7 8 9 10 11 12 13 Please enter all the aliases which could reach the repository, and indicate if you would like EPrints to write a Redirect Rule to redirect requests to this alias to the correct URL. Some suggestions: ubuntu.mydomain ubuntu eprints.defnex eprints   Enter a single hash (#) when you’re done.   Alias (enter # when done) [#] ? ENTER

Path, tekan ENTER.


1 2 3 4 Please enter the path part of the repository’s base URL. This should probably be ‘/’.   Path [/] ? ENTER

HTTPS Hostname, tekan ENTER.


1 2 3 4 If you will use https for your user pages (including login) enter the https hostname here, or leave blank when using http only.   HTTPS Hostname [] ? ENTER

Masukkan alamat email untuk administrator, misalnya


1 Administrator Email?

Masukkan nama untuk repository, misalnya Repository Defnex.


1 2 3 4 5 6 Enter the name of the repository in the default language. If you wish to enter other titles for other languages or enter non ascii characters then you may enter something as a placeholder and edit the XML config file which this script generates.   Archive Name [Test Repository] ? Repository Defnex

Simpan core settings, tekan ENTER.


1 Write these core settings? [yes] ? ENTER


1 2 3 Wrote /usr/share/eprints/archives/repository/cfg/cfg.d/ Wrote /usr/share/eprints/archives/repository/cfg/cfg.d/ Wrote /usr/share/eprints/archives/repository/cfg/lang/en/phrases/archive_name.xml

Konfigurasi database, tekan ENTER.


1 Configure database? [yes] ? ENTER

Misalnya nama database = eprintsdb, user dan password = sesuai user dan password yang telah dibuat sebelumnya.


1 2 3 4 5 6 7 8 9 10 11 Configuring Database for: repository Database Name [repository] ? eprintsdb MySQL Host [localhost] ? ENTER You probably don’t need to set socket and port (unless you do!?). MySQL Port (# for no setting) [#] ? ENTER MySQL Socket (# for no setting) [#] ? ENTER Database User [repository] ? eprints Database Password [M5nJ547p] ? password Database Engine [InnoDB] ? ENTER   Write these database settings? [yes] ? ENTER

Create database, tekan ENTER.


1 2 3 EPrints can create the database, and grant the correct permissions.   Create database “eprintsdb” [yes] ? ENTER

Masukkan username dan password yang telah dibuat sebelumnya.


1 2 3 Database Superuser Username [root] ? eprints Database Superuser Password? password Create database tables? [yes] ? ENTER

Create an intial user, tekan ENTER.


1 2 Create an initial user? [yes] ? ENTER Creating a new user in repository

username = admin, type = admin, password = password, email =


1 2 3 4 5 6 7 Enter a username [admin] ? ENTER Select a user type (user|editor|admin) [admin] ? ENTER Enter Password? password Email?   Successfully created new user:        ID: 1

Do you want to build the static web pages, tekan ENTER.


1 Do you want to build the static web pages? [yes] ? ENTER

Do you want to update the apache config files, tekan ENTER.


1 Do you want to update the apache config files? (you still need to add the ‘Include’ line) [yes] ? ENTER

Configure EPrints

Keluar dari user eprints.


1 exit

Mengaktifkan virtual host eprints dan restart apache.


1 2 a2ensite eprints systemctl restart apache2


EPrints front page

Selamat mencoba 🙂

Leave a Reply

Your email address will not be published.