DIFOSS > Education > Solusi Ketika Salah Instal EPrints
  • setiadi_foss
  • Education
  • No Comments

Solusi Ketika Salah Instal EPrints

Pernah pas instal eprints 3.4.2 lalu isian depositnya “aneh”?

Jangan khawatir, itu pada dasarnya hanya salah versi dari eprints 3.4.2 yang mana sudah dilakukan perencanaan oleh developer eprints. Karna saat ini untuk versi 3.4 memang ada beberapa tipe.

Seperti gambar berikut :

Sumber : https://www.eprints.org/uk/index.php/eprints-3-4/

Hal itu terjadi diakibatkan ketika proses instal kalian masukan alamat repository ini

eprints : deb http://deb.eprints-hosting.org/3.4/stable/ ./       
wget -O - http://deb.eprints-hosting.org/keyFile | apt-key add -       

Lalu bagaimana solusinya?

1. Download eprints 3.4.2 tipe flavours

root@repository:~# wget https://files.eprints.org/2500/8/eprints-3.4.2-flavours.tar.gz

2. Ekstrak tar.gz

root@repository:/usr/share/eprints/flavours# tar -xzvf eprints-3.4.2-flavours.tar.gz

3. Lakukan mv ke direktori folder flavours di eprints kalian

root@repository:/usr/share/eprints/flavours# mv /usr/share/eprints/flavours/eprints-3.4.2/flavours/pub_lib /usr/share/eprints/flavours/

4. Chmod ke direktori tsb

root@repository:/usr/share/eprints/flavours# chmod -R g+w /usr/share/eprints/flavours/pub_lib
root@repository:/usr/share/eprints/flavours# chown -R eprints:eprints /usr/share/eprints/flavours/pub_lib
root@repository:/usr/share/eprints/flavours# cd

5. Restart apache

root@repository:~# sudo service apache2 restart

6. Instal kembali di direktori archives pada eprints kalian

root@repository:/usr/share/eprints/flavours# su eprints
eprints@repository:~/flavours$ cd
eprints@repository:~$ bin/epadmin create pub

7. Konfigurasikan seperti biasa

8. Hapus folder archives yang sebelumnya digunakan

root@repository:/usr/share/eprints/archives# ls
repositori  repository
root@repository:/usr/share/eprints/archives# rm -rf repository

Dan selamat, anda sudah berhasil melakukan perubahan ke tipe flavours.

Author: setiadi_foss

Leave a Reply

Need Help? Chat with us