Install EPrints sebagai Aplikasi Shared Repository
0 people liked this article
A. Pendahuluan
EPrints adalah aplikasi opensource yang digunakan untuk mengelola repository file secara terbuka yang nantinya bisa diakses secara shared atau bersama - sama.
Berikut cara untuk melakukan instalasi aplikasi EPrints pada VM.
B. konfigurasi
1. Pertama membuat LAMP Stack
sudo apt-get install apache2
sudo systemctl enable apache2
sudo systemctl start apache2
Pastikan status apache running, dengan menggunakan printah berikut :
sudo systemctl status apache2
sudo apt-get install mysql-server
2. Installasi EPrints
Menambahkan package EPrints repository dengan menggunakan perintah berikut
echo "deb http://deb.eprints.org/3.4/stable/ ./" > /etc/apt/sources.list.d/eprints.list
Tambahkan GPG key :
wget -O - http://deb.eprints.org/keyFile | apt-key add -
Lalu update :
apt update
Setelah itu membuat user database, dengan cara seperti berikut :
mysql -u root
Contoh konfigurasi usernya seperti berikut :
CREATE USER 'eprints'@'localhost' IDENTIFIED by 'masukanpassword';
GRANT ALL PRIVILEGES ON *.* TO 'eprints'@'localhost' WITH GRANT OPTION;
flush privileges;
exit
Setelah itu untuk memulai instalasi, masukan perintah berikut :
-bash-4.1$ ./bin/epadmin create
Create an EPrint 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? testrepo
Configure vital settings? [yes] ? ENTER
Core configuration for testrepo
Hostname? testprint
Webserver Port [80] ? ENTER
Enter a single hash (#) when you're done.
Alias (enter # when done) [#] ? testprint.local
Redirect testprint.local to testprint [yes] ?
Alias (enter # when done) [#] ? ENTER
Path [/] ? ENTER
HTTPS Hostname [] ? ENTER
Administrator Email? someone@example.com
Archive Name [Test Repository] ? ENTER
Organisation Name [Organisation of Test] ? ENTER
Write these core settings? [yes] ? ENTER
Configure database? [yes] ?
Configuring Database for: testrepo
Database Name [testrepo] ? 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 [testrepo] ? ENTER
Database Password [password database] ? ENTER
Database Engine [InnoDB] ? ENTER
Write these database settings? [yes] ? ENTER
Create database "testrepo" [yes] ? ENTER
Database Superuser Username [root] ? eprints
Database Superuser Password? password database #password yang sama pada database sebelumnya
Create database tables? [yes] ? ENTER
Create an initial user? [yes] ? ENTER
Enter a username [admin] ? ENTER
Select a user type (user|editor|admin) [admin] ? ENTER
Enter Password? 'Choose_your_user_password'
Email? first.last@example.org
Successfully created new user:
ID: 1
Do you want to build the static web pages? [yes] ? ENTER
Do you want to import the LOC subjects? [yes] ? ENTER
You must restart apache for any changes to take effect!
Setelah itu konfigurasi virtual host nya dengan menggunakan perintah berikut :
nano /etc/apache2/sites-available/000-default.conf
Lalu tambahkan line berikut :
ServerName ip_publik
Selanjutnya gunakan perintah berikut untuk restart apache untuk menyimpan konfigurasi sebelumnya :
a2dissite 000-default.conf
a2ensite eprints.conf
systemctl reload apache2
systemctl restart apache2
3. Mengakses eprint :
Setelah itu dapat mengakses dashboard eprint melalui browser menggunakan ipserver seperti berikut :
C. Penutup
Sekian cara installasi eprint salah satu repository open source yang dapat anda gunakan. Apabila anda tedapat pertanyaan lain dapat menghubungi kami melalui email support@biznetgio.com dan juga melalui live chat di laman biznetgio.com.
Popular Articles
-
Cara Install & Konfigurasi Monitoring Cacti Serta Mengetahui Fungsi Fitur Pada Cacti
10 people say this guide was helpful
-
Cara Mengaktifkan Telnet pada Windows 7, 8 dan 10
3 people say this guide was helpful
-
Instalasi DNS Server Menggunakan Service Bind di CentOS 7
4 people say this guide was helpful
-
Install dan Konfigurasi Samba Server pada Ubuntu
2 people say this guide was helpful