Cara Install SLiMS 9 Bulian di Ubuntu 18.04

SLiMS adalah perangkat lunak berbasis web untuk Sistem Manajemen Perpustakaan (Senayan Library Management System – SLiMS), yang memiliki banyak fitur dengan tujuan untuk memudahkan perpustakaan dan pustakawan dalam melaksanakan pekerjaan mereka dengan cepat dan mudah.

Beberapa fiturnya antara lain:

· Online Public Access Catalog (OPAC) with thumbnail document image support (for images of book covers), Simple Search and Advanced Search mode · Digital contents/files (PDF, DOC, RTF, XLS, PPT, Video, Audio, etc.): attachment in each bibliographic record is supported · Documents record detail in MODS (Metadata Object Description Schema) XML format · Documents record detail in JSON-LD format with schema.org · RSS (Really Simple Syndication) XML format for OPAC · OAI-PMH (Open Archives Initiative Protocol for Metadata Harvesting) in Dublin Core format for metadata harvesting purposes · dan masih banyak lagi

SLiMS 9 Bulian baru saja dirilis, tepatnya pada tanggal 1 Feburari 2020 dengan penambahan bahasa Urdu, Turki, dan Rusia untuk antarmuka, peningkatan keamanan, dan penambahan fitur lain.

Bulian atau ulin (Eusideroxylon zwageri Teijsm & Binn) atau kayu besi adalah pohon berkayu dan merupakan tanaman khas dari pulau Kalimantan. Sejak rilis Senayan3-stable14, pengembang SLiMS memakai nama flora khas Indonesia untuk kode nama rilis SLiMS sebagai bentuk penghargaan dan kebangaan terhadap Indonesia.

*0.Perangkat yang digunakan*

Perangkat yang digunakan di dalam tutorial ini adalah:

· VPS Ubuntu 18.04 64bit · Subdomain slims.getbox.xyz · Apache 2.4 · PHP 7.3 · MariaDB 10.4

*1.Install Apache*

Tutorial ini menggunakan Ubuntu 18.04 dan virtual host/subdomain slims.getbox.xyz untuk SLiMS.

Install Apache di Ubuntu

[INPUT]

1 2 sudo apt install apache2 sudo systemctl status apache2

Membuat virtual host

[INPUT]

1 2 cd /etc/apache2/sites-available sudo nano slims.getbox.xyz.conf

Isi dari file konfigurasi virtual host

[INPUT]

1 2 3 4 5 6 7 8 9 10 11     ServerName slims.getbox.xyz     DocumentRoot /var/www/slims.getbox.xyz              Options Indexes FollowSymLinks MultiViews         AllowOverride All         Require all granted          ErrorLog /var/log/apache2/slims.getbox.xyz_error.log     CustomLog /var/log/apache2/slims.getbox.xyz_requests.log combined   

Membuat direktori untuk virtual host

[INPUT]

1 sudo mkdir /var/www/slims.getbox.xyz

Aktifkan virtual host

[INPUT]

1 2 3 sudo a2ensite slims.getbox.xyz.conf sudo systemctl restart apache2 sudo systemctl status apache2

*2.Install PHP*

Pasang PPA repository untuk PHP 7.3

[INPUT]

1 2 3 4 sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt upgrade    

Install PHP beserta extension yang dibutuhkan.

[INPUT]

1 sudo apt install php7.3 php7.3-cli php7.3-common php7.3-mbstring php7.3-gd php7.3-intl php7.3-xml php7.3-mysql php7.3-zip php7.3-dev php-pear yaz libyaz5 libyaz5-dev libnet-z3950-zoom-perl

Install library yaz

[INPUT]

1 sudo pecl install yaz

Tambahkan extension=yaz.so di konfigurasi php.ini

[INPUT]

1 sudo nano /etc/php/7.3/apache2/php.ini

Konfigurasi extension di php.ini

[INPUT]

1 2 3 4 5 6 … ; extension=yaz.so ;extension=bz2 ;extension=curl …

Restart apache2 service

[INPUT]

1 2 sudo systemctl restart apache2 sudo systemctl status apache2

*3.Install MariaDB*

Pasang repository MariaDB

[INPUT]

1 2 sudo apt-key adv –fetch-keys ‘https://mariadb.org/mariadb_release_signing_key.asc’ sudo add-apt-repository ‘deb [arch=amd64,arm64,ppc64el] http://mirror.biznetgio.com/mariadb/repo/10.4/ubuntu bionic main’

Install MariaDB server.

[INPUT]

1 2 sudo apt install mariadb-server sudo systemctl status mariadb  

Amankan instalasi MariaDB

[INPUT]

1 2 3 4 5 6 7 8 9 sudo mysql_secure_installation   Enter current password for root (enter for none): ENTER Switch to unix_socket authentication [Y/n] n Change the root password? [Y/n] y Remove anonymous users? [Y/n] y Disallow root login remotely? [Y/n] y Remove test database and access to it? [Y/n] y   Reload privilege tables now? [Y/n] y    

Login ke mysql shell

[INPUT]

1 mysql -u root -p

Buat database slims dan usernya

[INPUT]

1 2 3 4 5 SET GLOBAL log_bin_trust_function_creators = 1; CREATE DATABASE slims; CREATE USER ‘slims’@’localhost’ IDENTIFIED BY ‘rahasia’; GRANT ALL PRIVILEGES ON slims.* TO ‘slims’@’localhost’; FLUSH PRIVILEGES;  

*4.Install SLiMS*

Download dan extract SLiMS 9 Bulian

[INPUT]

1 2 3 4 cd wget -c https://github.com/slims/slims9_bulian/releases/download/v9.0.0/slims9_bulian-9.0.0.tar.gz tar xzvf slims9_bulian-9.0.0.tar.gz sudo rsync -av slims9_bulian-9.0.0/ /var/www/slims.getbox.xyz/  

Ubah owner dan permission direktori

[INPUT]

1 2 sudo chown -R $USER:www-data /var/www/slims.getbox.xyz   sudo chmod -R 775 /var/www/slims.getbox.xyz

Browse domain/sub-domain yang digunakan untuk SLiMS. Klik Get Started untuk memulai install SLiMS.

Install SLiMS 9 Bulian – Getting Started

Pemeriksaan system requirements, apakah sudah terpenuhi. Jika belum terpenuhi konfigurasi kembali. Jika semuanya sudah terpenuhi klik Next untuk melanjutkan.

Install SLiMS 9 Bulian – System Requirements

Klik Install SLiMS untuk instalasi.

Install SLiMS 9 Bulian – What do you want?

Masukkan database, username, dan password yang telah dibuat sebelumnya. Klik Test Connection untuk menguji database.

Install SLiMS 9 Bulian – Database information

Jika berhasil, klik Connection OK. Next.

Install SLiMS 9 Bulian – Connection database OK

Pilih apakah ingin install Sample Data atau data contoh untuk mempelajari SLiMS. Lalu masukkan username dan password untuk administrator SLiMS. Lalu klik Run the installation.

Install SLiMS 9 Bulian – Sample data & Super user profile

Jika install SLiMS sukses ditampilkan pesan New SLiMS successful installed.

Install SLiMS 9 Bulian – SLiMS successful installed

Hapus direktori install.

[INPUT]

1 2 cd /var/www/slims.getbox.xyz sudo rm -rf install

Browse domain/subdomain SLiMS untuk menampilkan halaman depan

SLiMS 9 Bulian

*5.Install SSL Let’s Encrypt (Opsional)*

Install SSL dari Let’s Encrypt untuk HTTPS.

Install certbot

[INPUT]

1 2 3 4 sudo apt install curl sudo curl -O https://dl.eff.org/certbot-auto sudo mv certbot-auto /usr/local/bin/certbot-auto sudo chmod 0755 /usr/local/bin/certbot-auto

Request SSL untuk subdomain slims.getbox.xyz

[INPUT]

1 sudo certbot-auto –apache -d slims.getbox.xyz

Jika ada pertanyaan untuk install paket dependensi, jawab y.

Masukkan alamat email untuk notifikasi jika SSL mendekati masa habis berlakunya

[INPUT]

1 Enter email address (used for urgent renewal and security notices) (Enter ‘c’ to cancel): hai@musaamin.web.id

Persetujuan Terms of Service, jawab A

[INPUT]

1 2 3 4 Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must agree in order to register with the ACME server at https://acme-v02.api.letsencrypt.org/directory – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – (A)gree/(C)ancel: A

Share email ke EFF, bisa y atau n

[INPUT]

1 2 3 Would you be willing to share your email address with the Electronic Frontier Foundation, a founding partner of the Let’s Encrypt project and the non-profit organization that develops Certbot? We’d like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – (Y)es/(N)o: N  

Pilih metode redirect ke HTTPS, jawab 2

[INPUT]

1 2 3 4 5 6 Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – 1: No redirect – Make no further changes to the webserver configuration. 2: Redirect – Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you’re confident your site works on HTTPS. You can undo this change by editing your web server’s configuration. – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2  

SSL/HTTPS berhasil dikonfigurasi

[INPUT]

1 2 3 4 Congratulations! You have successfully enabled https://slims.getbox.xyz   You should test your configuration at: https://www.ssllabs.com/ssltest/analyze.html?d=slims.getbox.xyz

Browse kembali domain SLiMS untuk menguji apakah HTTPS sudah aktif

SLiMS 9 Bulian with HTTPS

Selamat mencoba 🙂

Leave a Reply

Your email address will not be published.