Cara Install EPrints 3.4 di Ubuntu 20.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.

** Install EPrints **

Install EPrints dari paket .deb dengan menambahkan repository di Ubuntu.

[INPUT]

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

Masukkan alamat repository eprints.

[INPUT]

1 deb http://deb.eprints-hosting.org/3.4/stable/ ./

Download key repository dan update.

[INPUT]

1 2 wget -O – http://deb.eprints-hosting.org/keyFile | apt-key add – apt update; apt upgrade -y

Install xpdf terlebih dahulu.

[INPUT]

1 2 3 4 wget http://security.ubuntu.com/ubuntu/pool/main/p/poppler/libpoppler73_0.62.0-2ubuntu2.12_amd64.deb wget http://archive.ubuntu.com/ubuntu/pool/universe/x/xpdf/xpdf_3.04-7_amd64.deb dpkg -i libpoppler73_0.62.0-2ubuntu2.12_amd64.deb; apt install –fix-broken -y dpkg -i xpdf_3.04-7_amd64.deb; apt install –fix-broken -y

Install paket eprints.

[INPUT]

1 apt install eprints -y

Download flavoured repository.

[INPUT]

1 2 3 4 5 wget https://files.eprints.org/2500/8/eprints-3.4.2-flavours.tar.gz tar -xzvf eprints-3.4.2-flavours.tar.gz mv eprints-3.4.2/flavours/pub_lib /usr/share/eprints/flavours chmod -R g+w /usr/share/eprints/flavours/pub_lib chown -R eprints:eprints /usr/share/eprints/flavours/pub_lib

*Set Password MySQL*

Login ke mysql dengan user root.

[INPUT]

1 mysql -u root

Berikan password kepada user root dan membuat user eprints.

[INPUT]

1 2 3 4 USE mysql; ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘rahasia’; FLUSH PRIVILEGES; exit

*Konfigurasi EPrints*

Beralih menjadi user eprints dan membuat repository.

[INPUT]

1 2 su -l eprints ./bin/epadmin create pub

Masukkan Archive ID, misalnya /eprints/.

[INPUT]

1 2 3 4 5 6 7 Create a pub 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? eprints

Configure vital settings, tekan ENTER.

[INPUT]

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 /eprints.musaamin.my.id/.

[INPUT]

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: repository.footle.ac.uk   Hostname? eprints.musaamin.my.id

Webserver Port, tekan ENTER.

[INPUT]

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.

[INPUT]

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: eprints.musaamin.my.id eprints.musaamin eprints eprints.musaamin eprints Enter a single hash (#) when you’re done.   Alias (enter # when done) [#] ? ENTER

Path, tekan ENTER.

[INPUT]

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.

[INPUT]

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 /trial@musaamin.web.id/.

[INPUT]

1 Administrator Email? trial@musaamin.web.id

Masukkan nama untuk repository, misalnya /My Repository/.

[INPUT]

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] ? My Repository

Masukkan nama organisasi, misalnya /Lab MusaAmin.Web.ID/

[INPUT]

1 2 3 4 5 6 Enter the name of the organisation in the default language. Again, 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.   Organisation Name [Organisation of Test] ? Lab MusaAmin.Web.ID

Simpan core settings, tekan ENTER.

[INPUT]

1 2 3 4 5 Write these core settings? [yes] ? ENTER   Wrote /usr/share/eprints/archives/myeprints/cfg/cfg.d/adminemail.pl Wrote /usr/share/eprints/archives/myeprints/cfg/cfg.d/10_core.pl Wrote /usr/share/eprints/archives/myeprints/cfg/lang/en/phrases/archive_name.xml

Konfigurasi database, tekan ENTER.

[INPUT]

1 2 3 4 5 6 7 8 9 10 11 12 13 14 Configure database? [yes] ? ENTER   Configuring Database for: eprints Database Name [eprints] ? ENTER 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 [eprints] ? ENTER Database Password [h6oJF41f] ENTER Database Engine [InnoDB] ? ENTER   Write these database settings? [yes] ? ENTER

Create database, tekan ENTER.

[INPUT]

1 2 3 4 Create database “eprints” [yes] ? ENTER Database Superuser Username [root] ? ENTER Database Superuser Password? rahasia Create database tables? [yes] ? ENTER

Create an intial user, tekan ENTER.

[INPUT]

1 2 3 4 5 6 7 8 9 10 11 Create an initial user? [yes] ? ENTER   Creating a new user in eprints   Enter a username [admin] ? ENTER Select a user type (user|editor|admin) [admin] ? ENTER Enter Password? rahasia Email? trial@musaamin.web.id   Successfully created new user:        ID: 1

Do you want to build the static web pages? [yes] ?, tekan ENTER.

[INPUT]

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

Do you want to import the LOC subjects and sample divisions? [yes] ? tekan ENTER

[INPUT]

1 Do you want to import the LOC subjects and sample divisions? [yes] ? ENTER

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

[INPUT]

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

Keluar dari user eprints.

[INPUT]

1 exit

Buka file konfigurasi virtual host 000-default.conf.

[INPUT]

1 nano /etc/apache2/sites-available/000-default.conf

Tambahkan ServerName di dalam konfigurasi VirtualHost.

[INPUT]

1 ServerName localhost

Aktifkan virtualhost eprints.

[INPUT]

1 a2ensite eprints

Restart Apache.

[INPUT]

1 2 systemctl restart apache2 systemctl status apache2

Tes akses /http://eprints.musaamin.my.id/.

EPrints site

Selamat mencoba 🙂

/*Gratis saldo $100 untuk pendaftaran akun baru di Vultr. Daftar di sini*/

Leave a Reply

Your email address will not be published.