Langsung saja kini 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 suKemudian masukkan password
Kemudian update repo pada linux yang digunakan, link repo dapat dilihat disini
mv /etc/apt/source.list /etc/apt/source.list.bcKemudian
nano /etc/apt/source.listisikan sesuai dengan repo pada link ini, pada kasus ini saya memakai ubuntu 16.04
deb http://kambing.ui.ac.id/ubuntu/ xenial main restricted universe multiverseKemudian tekan "ctrl+o"
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 ./
Setelah itu jalankan script berikut
wget -O - http://deb.eprints.org/keyFile | apt-key add
apt-get update
apt-get install eprintsTunggu proses hingga selesai. bila meminta password, masukkan pasowrd dan dingingat baik-baik. Tampilan akibat kurang lebih menyerupai dibawah ini dan tanpa ada goresan pena error
$ mysql –u root -pUntuk memulai eprints, maka perlu terlebih dahulu melaksanakan konfigurasi instalasi eprints. Langkah-langkah mengkonfigurasi dengan masuk sebagai user untuk mengoperaasikan eprints.
$ 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;
$ su eprints-bash-4.1$ ./bin/epadmin create
Membuat EPrint Repository
Silakan pilih ID untuk repositori, yang akan dipakai untuk menciptakan direktori dan mengidentifikasi repositori. Huruf dan karakter 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 akibat akan muncul tampilan menyerupai 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 akibat tampilan menyerupai berikut:
Jika ada pertanyaan atau butuh jasa bidang EPrints dapat kontak melalui email: cipto@kuliahkomputer.com
Tidak ada komentar:
Posting Komentar