Cara install EPrints 3 pada Linux Ubuntu
Langsung saja sekarang kita lakukan
Alat yang diperlukan:
1. VPS/VM/Dedicated Server
2. Linux Ubuntu 16.04 atau Ubuntu 18.04
3. Laptop terinstall Terminal / Putty
Langkah pertama masuk sebagai root:
sudo su
Kemudian masukkan passwordKemudian update repo pada linux yang digunakan, link repo bisa dilihat disini
mv /etc/apt/source.list /etc/apt/source.list.bc
Kemudiannano /etc/apt/source.list
isikan sesuai dengan repo pada link ini, pada kasus ini saya menggunakan ubuntu 16.04deb http://kambing.ui.ac.id/ubuntu/ xenial main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-updates main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-security main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-backports main restricted universe multiverse
deb http://kambing.ui.ac.id/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://deb.eprints.org/stable ./
Kemudian tekan "ctrl+o"Setelah itu jalankan script berikut
wget -O - http://deb.eprints.org/keyFile | apt-key add
apt-get update
apt-get install eprints
Tunggu proses sampai selesai. jika meminta password, masukkan pasowrd dan dingingat baik-baik. Tampilan selesai kurang lebih seperti dibawah ini dan tanpa ada tulisan errorLangkah selanjutnya adalah membuat user khusus eprints pada database mysql. Pada operating system Ubuntu versi 16.04 password pada saat installasi eprint. Pada Versi Ubuntu 18.04 password root harus didefinisikan terlebih dahulu.
$ mysql –u root -p
$ use mysql;
$ ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new_password';
$ flush privileges;
$ CREATE USER 'eprints'@'localhost' IDENTIFIED by 'passwordku';
$ GRANT ALL PRIVILEGES ON *.* TO 'eprints'@'localhost' WITH GRANT OPTION;
Untuk memulai eprints, maka perlu terlebih dahulu melakukan konfigurasi instalasi eprints. Langkah-langkah mengkonfigurasi dengan masuk sebagai user untuk mengoperaasikan eprints.$ su eprints
$ ./bin/epadmin create
Membuat EPrint RepositorySilakan pilih ID untuk repositori, yang akan digunakan untuk membuat direktori dan mengidentifikasi repositori. Huruf dan huruf kecil, mungkin tidak dimulai dengan angka. contoh: "unpkediri" atau "test3"
Archive ID? testrepo
Creating initial files:
Installing: /usr/share/eprints/archives/testrepo/cfg
Installing: /usr/share/eprints/archives/testrepo/cfg/lang
[...]
Installing: /usr/share/eprints/archives/testrepo/cfg/workflows/eprint
Configure vital settings? [yes] ?
Hostname? repository.unpkdr.ac.id
Webserver Port [80] ?
Enter a single hash (#) when you're done.
Alias (enter # when done) [#] ?
Redirect testprint.local to testprint [yes] ?
Alias (enter # when done) [#] ?
Path [/] ?
HTTPS Hostname [] ? repository.unpkdr.ac.id
Administrator Email? repository@unpkdr.ac.id
Archive Name [Test Repository] ? Repository Universitas Nusantara PGRI Kediri
Write these core settings? [yes] ?
Configure database? [yes] ?
Configuring Database for: testrepo
Database Name [testrepo] ?
MySQL Host [localhost] ?
MySQL Port (# for no setting) [#] ?
MySQL Socket (# for no setting) [#] ?
Database User [testrepo] ?
Database Password [nxxxxuAw] ?
Database Engine [MyISAM] ?
Write these database settings? [yes] ?
Create database "testrepo" [yes] ?
Database Superuser Username [root] ?
Database Superuser Password?
Create database tables? [yes] ?
Create an initial user? [yes] ?
Enter a username [admin] ?
Select a user type (user|editor|admin) [admin] ?
Enter Password?
Email? first.last@example.org
Do you want to build the static web pages? [yes] ?
Do you want to import the LOC subjects? [yes] ?
'Include' line) [yes] ?
Ketika semua pertanyaa sudah selesai akan muncul tampilan seperti dibawah ini:You must restart apache for any changes to take effect!
--------------------------------------------------------------------------
That seemed to more or less work...
--------------------------------------------------------------------------
Now make any required changes to the cfg files.
Note that changing the metadata configuration may require the database
tables to be regenerated. epadmin erase_data will regenerate the
eprints and documents tables only. erase_data will regenerate everything.
(nb. these also do erase the contents of the tables, and any uploaded
files).
Make sure that your main apache config file contains the line:
Include /usr/share/eprints/cfg/apache.conf
Then stop and start your webserver:
Often:
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd start
(or maybe /usr/local/apache/bin/apachectl stop & start)
And then try connecting to your repository.
--------------------------------------------------------------------------
Don't forget to register your repository at http://roar.eprints.org/
-bash-4.1$
Installasi EPrints telah selesai tampilan seperti berikut:
Jika ada pertanyaan atau butuh jasa bidang EPrints bisa kontak melalui email: cipto@kuliahkomputer.com
No comments for "Cara install EPrints 3 pada Linux Ubuntu"
Post a Comment