A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_Router::$uri is deprecated
Filename: core/Router.php
Line Number: 127
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$benchmark is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$hooks is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$config is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$log is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$utf8 is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$uri is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$exceptions is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$router is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$output is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$security is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$input is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$lang is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$load is deprecated
Filename: core/Controller.php
Line Number: 78
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$db is deprecated
Filename: core/Loader.php
Line Number: 396
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property CI_DB_mysqli_driver::$failover is deprecated
Filename: database/DB_driver.php
Line Number: 371
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 129
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 280
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 151
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 208
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 297
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Return type of CI_Session_database_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Filename: drivers/Session_database_driver.php
Line Number: 335
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 289
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 304
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 314
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 315
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 316
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 317
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 375
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$session is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$mylibrary is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$pagination is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$table is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$form_validation is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$template is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$agent is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
A PHP Error was encountered
Severity: 8192
Message: Creation of dynamic property News::$email is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/application/controllers/News.php
Line: 18
Function: __construct
File: /www/wwwroot/sim.uniska-kediri.ac.id/blog/index.php
Line: 294
Function: require_once
Cara Install EPrints 3.4.4 di Ubuntu 20.04
Cara Install EPrints 3.4.4 di Ubuntu 20.04
Installasi EPrints
Gunakan user root .
sudo su
Install EPrints dari paket .deb dengan menambahkan repository di Ubuntu. Buat file eprint.list pada direktori /etc/apt/sources.list.d/ dengan perintah berikut.
vi /etc/apt/sources.list.d/eprints.list
Akan muncul tampilan yang masih kosong, tekan i pada keyboard kemudian copy paste kan script di bawah ini.
deb http://deb.eprints.org/3.4/stable/ ./
Tekan ctrl+c kemudian ketik :wq lalu Enter .
Download key repository hingga keterangan OK dan update .
wget -O - http://deb.eprints-hosting.org/keyFile | sudo apt-key add - apt update; apt upgrade -y
Install xpdf terlebih dahulu.
wget http://archive.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
Install paket EPrints 3.4.4.
apt install eprints -y
Setelah selesai install paket EPrints 3.4.4. cek versi EPrints dengan kode berikut dan catat .
apt-cache show eprints
Download Flavours Repository sesuaikan dengan versi EPrints yang dicek tadi, disini versi yang saya gunakan EPrints 3.4.4.
wget https://files.eprints.org/2715/2/eprints-3.4.4-flavours.tar.gz tar -xzvf eprints-3.4.4-flavours.tar.gz mv eprints-3.4.4/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
Set Password MySQL
Login ke mysql dengan user root .
mysql -u root USE mysql; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'tulis_password_disini'; FLUSH PRIVILEGES; exit
Konfigurasi EPrints
Beralih menjadi user EPrints dan membuat repository.
su -l eprints ./bin/epadmin create pub
Masukkan Archive ID , misalnya repository , tekan ENTER .
Configure vital settings , tekan ENTER .
Masukkan hostname/domain/subdomain yang digunakan untuk mengakses EPrints di sini saya pakai nama repository.local
Webserver Port , tekan ENTER .
Alias , tekan ENTER .
Path , tekan ENTER .
HTTPS Hostname , tekan ENTER .
Masukkan alamat email untuk administrator, misalnya saya pakai email saya sendiri anitacitria31@gmail.com.
Masukkan nama untuk repository, misalnya Repository Local .
Masukkan nama organisasi, misalnya Repository Local .
Simpan Core Settings , tekan ENTER .
Configure database? [yes] ? tekan ENTER . Configuring Database for: repository. Database Name [repository] ? tekan ENTER . MySQL Host [localhost] ? tekan ENTER . You probably don't need to set socket and port (unless you do!?). MySQL Port (# for no setting) [#] ? tekan ENTER . MySQL Socket (# for no setting) [#] ? tekan ENTER . Database User [repository] ? tekan ENTER. Database Password [**********] atur password anda atau bisa langsung tekan ENTER . Database Engine [InnoDB] ? tekan ENTER . Write these database settings? [yes] ? tekan ENTER .
Write these database settings? [yes] ? tekan ENTER. Create database "repository" [yes] ? tekan ENTER . Database Superuser Username [root] ? tekan ENTER . Database Superuser Password? password yang di setting di mysql sebelumnya setelah itu tekan ENTER . Create database tables? [yes] ? tekan ENTER .
Create an intial user , tekan ENTER .
Creating a new user in repository Enter a username [admin] ? tekan ENTER . Select a user type (user|editor|admin) [admin] ? tekan ENTER . Enter Password? tuliskan password anda yang nanti digunakan untuk masuk di aplikasi repository . Email? anitacitria31@gmail.com
Do you want to build the static web pages? [yes] ?, tekan ENTER . Do you want to import the LOC subjects and sample divisions? [yes] ? tekan ENTER . Do you want to update the apache config files? (you still need to add the 'Include' line) [yes] ? tekan ENTER .
Keluar dari user EPrints dengan perintah exit .
Buka file konfigurasi VirtualHost 000-default.conf dengan perintah berikut dan tambahkan ServerName di dalam konfigurasi VirtualHost .
vi /etc/apache2/sites-available/000-default.conf
Aktifkan VirtualHost EPrints dan restart apache .
a2dissite 000-default.conf a2ensite eprints systemctl restart apache2 systemctl status apache2
Proses install dan konfigurasi selesai, sekarang lakukan pengecekan dengan url http://repository.local sesuai setting hostname sebelumnya pada web browser .
Sekian artikel dari saya tentang Cara Install EPrints 3.4.4 di Ubuntu 20.04 semoga bermanfaat untuk para pembaca yang ingin mengimplementasikan repository EPrints. Sampai jumpa di artikel selanjutnya.
01 Des 2022
SIM Team Follow
Team Sistem Informasi Manajemen (SIM) Universitas Islam Kadiri (UNISKA) Kediri.