Rumahweb Journal
Banner - Cara Install EPrints di VPS Ubuntu 20.04

Cara Install EPrints di VPS Ubuntu

EPrints adalah software Open Source yang banyak digunakan untuk mengelola jurnal ilmiah. Install EPrints di VPS cukup mudah, namun perlu ketelitian agar tidak sampai gagal. Di artikel ini, kami akan membahas cara install EPrints di VPS Ubuntu tepatnya Ubuntu 20.04.

Apa Itu EPrints

EPrints adalah situs repository yang sering digunakan oleh instansi pendidikan khususnya Universitas, yang berisi jurnal ilmiah yang dapat Anda temukan dengan mudah di Internet. EPrints adalah aplikasi Open Source yang pertama kali diciptakan dan dikembangkan di University of Southampton, Inggris.

System Requirement

Bila Anda tertarik untuk build aplikasi EPrints di server sendiri, maka ada requirement minimum servernya. Antara lain:

  • RAM minimum 2 GB.
  • Disk Space 15 GB.
  • Network Speed 100 Mb/s

Pelajari kebutuhan server untuk instalasi EPrints selengkapnya di artikel kami tentang Apa Itu Eprints? Pengertian, Fungsi hingga kelebihannya.

Cara Install EPrints

Pada demo kali ini, kami akan menggunakan subdomain eprints.anggitpuguh.my.id sebagai alamat websitenya. Berikut ini cara instalasi EPrints 3.4 di Ubuntu 20.04.

Step 1. Siapkan Domain dan VPS

Pastikan Anda telah menyiapkan domain dan VPS Ubuntu 20.04 terlebih dahulu. Selain itu, silahkan arahkan domain atau subdomain untuk diarahkan ke VPS Anda.

Pindah Hosting ke Rumahweb Gratis

Bagi Anda yang memesan layanan domain dan VPS Ubuntu di Rumahweb, Anda bisa mempelajari panduan berikut untuk mengarahkan domain atau subdomain ke IP VPS terlebih dahulu. Anda bisa mengikuti panduan berikut, sesuai layanan yang dipesan.

Step 2. Install EPrints

Berikut langkah-langkah install EPrints di VPS Ubuntu 20.04.

  1. Menambahkan repository di Ubuntu. Silakan edit file dengan peritah berikut:
# nano /etc/apt/sources.list.d/eprints.list
  1. Tambahkan alamat repository eprints.
# deb http://deb.eprints-hosting.org/3.4/stable/ ./
  1. Download key repository kemudian update.
# wget -O - http://deb.eprints-hosting.org/keyFile | apt-key add -
# apt update; apt upgrade -y
  1. Menginstall XPDF
# wget http://security.ubuntu.com/ubuntu/pool/main/p/poppler/libpoppler73_0.62.0-2ubuntu2.14_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.14_amd64.deb; apt install --fix-broken -y
# dpkg -i xpdf_3.04-7_amd64.deb; apt install --fix-broken -y
  1. Install Paket Eprints.
# apt install eprints -y
  1. Download Flavoured Repository
# 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

Step 3. Setting Password MySQL

  1. Silakan login MySQL menggunakan user root.
# mysql -u root
  1. Buat password user root dan membuat user Eprints.
# USE mysql;
# ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password 
BY '1ndonesi4';
# FLUSH PRIVILEGES;
# exit

Step 4. Konfigurasi Eprints

  1. Silakan beralih ke user eprints dan buat repository
# su -l eprints	
# ./bin/epadmin create pub
  1. Buat archive ID. Pada langkah ini kami berikan nama eprints. Anda bisa menggantinya dengan yang lain.
# 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
  1. Lanjut melakukan setting. Tekan ENTER.
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
  1. Masukkan nama domain/ subdomain yang akan digunakan untuk mengakses EPrints. Kali ini kami menggunakan subdomain eprints.anggitpuguh.my.id sebagai alamat websitenya.
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.anggitpuguh.my.id
  1. Webserver Port, tekan ENTER.
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
  1. Alias. Silakan tekan ENTER
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.anggitpuguh.my.id
eprints.anggitpuguh
eprints
eprints.anggitpuguh
eprints
	
Enter a single hash (#) when you're done.

Alias (enter # when done) [#] ? ENTER
  1. Path, silakan tekan ENTER.
Please enter the path part of the repository's base URL. This should probably
be '/'.

Path [/] ? ENTER
  1. HTTPS Hostname, tekan ENTER.
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	
  1. Masukkan alamat email administrator. Misalnya, [email protected].
Administrator Email? [email protected]
  1. Masukkan nama repository, misalnya My Repository.
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
  1. Masukkan nama Organisasi. Misalnya Lab anggitpuguh.my.id.
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 AnggitPuguh.my.id
  1. Simpan Core Setting. Tekan ENTER.
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
  1. Konfigurasi database. Tekan ENTER.
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 [1rh642oJF41f] ENTER
Database Engine [InnoDB] ? ENTER

Write these database settings? [yes] ? ENTER
  1. Create database, tekan ENTER.
Create database "eprints" [yes] ? ENTER
Database Superuser Username [root] ? ENTER
Database Superuser Password? 1ndonesi4
Create database tables? [yes] ? ENTER
  1. Create an initial User, tekan ENTER.
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? [email protected]

Successfully created new user:
       ID: 1
 
  1. Do you want to build the static web pages? [yes] ?, tekan ENTER.
Do you want to build the static web pages? [yes] ? ENTER
  1. Do you want to import the LOC subjects and sample divisions? [yes] ? tekan ENTER.
Do you want to import the LOC subjects and sample divisions? [yes] ? ENTER
  1. Do you want to update the apache config files? (you still need to add the ‘Include’ line) [yes] ? tekan ENTER.
Do you want to update the apache config files? (you still need to add the 'Include' line) [yes] ? ENTER
  1. Keluar dari user eprints.
# exit
  1. Buka file konfigurasi virtual host 000-default.conf kemudian edit isinya.
# nano /etc/apache2/sites-available/000-default.conf
  1. Tambahkan ServerName di dalam konfigurasi VirtualHost. Pada bagian IP_Server, silakan diganti dengan IP server Anda.
# ServerName IP_SERVER
  1. Aktifkan virtualhost Eprints.
# a2ensite eprints
  1. Restart service Apache.
# systemctl restart apache2
# systemctl status apache2
  1. Buka browser Anda dan ketikkan nama subdomainnya. Tes akses http://eprints.anggitpuguh.my.id.
Cara Install EPrints di VPS Ubuntu

Kesimpulan

EPrints adalah aplikasi open-source berbasis website untuk membangun digital repository. EPrints banyak digunakan oleh universitas untuk membangun sistem informasi perpustakaan berbasis digital. Dengan sifatnya yang open-source, EPrints dapat dimodifikasi dan disesuaikan dengan kebutuhan.

Demikian artikel kami tentang cara install EPrints di VPS Ubuntu 20.04, semoga bermanfaat. 🙂

Bermanfaatkah Artikel Ini?

Klik bintang 5 untuk rating!

Rating rata-rata 4.3 / 5. Vote count: 6

Belum ada vote hingga saat ini!

Kami mohon maaf artikel ini kurang berguna untuk Anda!

Mari kita perbaiki artikel ini!

Beri tahu kami bagaimana kami dapat meningkatkan artikel ini?

VPS Alibaba

Anggit TS

Selamat membaca, Semoga tulisan saya bermanfaat.
Bila ada salah kata, mohon maaf.

"tak ada gading yang tak retak, maafkan kesalahan keluarga Gajah". :D

banner pop up - VPS Indonesia