Monday, November 13, 2017
New Joining: University of Ilorin Library
Saturday, September 9, 2017
How to Install SubjectPlus 4.6 on Ubuntu 22.04 LTS
SubjectPlus
is an open-source tool for creating subject guides and managing library
content. This guide walks you through the installation of SubjectPlus version
4.6 on Ubuntu 22.04 LTS.
Step 1: Upgrade Ubuntu Packages
sudo apt update
sudo apt upgrade
Step 2: Install PHP 7.4
sudo apt -y install
software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt -y install php7.4
Install
the required PHP extensions:
sudo apt-get install -y
php7.4-cli php7.4-json php7.4-common php7.4-mysql php7.4-zip php7.4-gd
php7.4-mbstring php7.4-curl php7.4-xml php7.4-bcmath
Check the
PHP version:
php -v
Step 3: Install Apache Web Server
sudo apt install apache2
sudo systemctl restart apache2
Step 4: Install Database Server (MariaDB)
sudo apt install mariadb-server
sudo mysqladmin -u root password
'your_password'
Log into
MySQL to create the SubjectPlus database:
sudo mysql
In the
MySQL shell:
CREATE DATABASE subjectsplus;
exit;
Restart
services:
sudo service apache2 restart
sudo service mysql restart
Step 5: Download and Configure SubjectPlus
Create
working directories:
sudo mkdir /sp
cd /sp/
sudo apt-get install unzip
mkdir -p /var/www/html/sp
Download
SubjectPlus 4.6:
wget
https://github.com/subjectsplus/SubjectsPlus/archive/refs/tags/v4.6.zip
ls # to verify the downloaded file name
Unzip the
archive:
unzip -q /sp/v4.6.zip -d
/var/www/html/
mv
/var/www/html/SubjectsPlus-4.6/ /var/www/html/sp/
Step 6: Set Permissions
sudo chown -R www-data:www-data
/var/www/html/sp/
sudo chmod -R 755
/var/www/html/sp/
Step 7: Proceed with Web Installation
Open a
web browser and go to:
http://your_server_ip/sp/control
Follow
the on-screen instructions to complete the installation.
Admin
interface page:
http://your_server_ip/sp/control/
Optional: Install phpMyAdmin (for DB Management)
sudo apt install phpmyadmin
You're All Set!
SubjectPlus 4.6 is now installed on your Ubuntu 22.04 server. You can start customizing and adding content through the web interface.
Tuesday, August 8, 2017
Setting Default Password for PostgreSQL in Ubuntu
# sudo -u postgres psql
could not change directory to "/root"
psql (9.1.11)
Type "help" for help.
postgres=# \password
Enter new password:
Enter it again:
postgres=# \q
There is no default password. on most unix and linux distributions, the
default authentication mode is set to 'ident' which means a given unix
user X can only connect as the postgres user X. initially, the only
postgres user is 'postgres', so...
(assuming you're on the typical unix/linux system, you didn't say)
$ sudo -u postgres psql
postgres=> alter user postgres password 'apassword';
postgres=> create user yerusername createdb createuser password 'somepass';
postgres=> create database yerusername owner yerusername;
postgres=> \q
Thursday, May 11, 2017
Inclusive Librarianship: from limited Identity to limitless possibilities
Abstract:
Inclusion mean or are at the very core of what libraries are all about and libraries and librarians have an essential, catalytic role to play in facilitating the full participation with people and Inclusive librarians ensure that their library’s facilities, services, programs, collections, and technology are designed in ways in which all people, regardless of their ability, have an opportunity to participate in and use them.
Wednesday, March 8, 2017
Installing DSpace 6.0 on Ubuntu 14.04 LTS
sudo apt-get update
Install Java on your Ubuntu:
sudo apt-get install openjdk-7-jdk
Install ant on your Ubuntu:
sudo apt-get install ant
Install maven on your Ubuntu:
sudo apt-get install maven
Install Apache Tomcat 7:
sudo apt-get install tasksel
sudo tasksel
Select the following packages tomcat java server only by putting (*)
Add DSpace User to system useradd -m dspace https://github.com/DSpace/DSpace/releases/download/dspace-6.0/dspace-6.0-src-release.tar.gz Install PostgreSQL 9.6
Add PostgreSQL Apt Repository
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | sudo apt-key add -
Install PostgreSQL
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
sudo su - postgre
createuser --username=postgres --no-superuser --pwprompt dspace
createdb --username=postgres --owner=dspace --encoding=UNICODE dspace
psql --username=postgres dspace -c "CREATE EXTENSION pgcrypto;"
sudo mkdir /build
sudo chmod -R 777 /build
cd /build
Install DSpace repository
wget https://github.com/DSpace/DSpace/releases/download/dspace-6.0/dspace-6.0-src-release.tar.gz
tar -zxf dspace-6.0-src-release.tar.gz
cd /dspace-6.0-src-release
mvn -U package
cd dspace/target/dspace-installer
(if target is not available in /dspace, then try try cd /dsapce/dspace-6.0-src-release/dspace/target/dspace-installer)
sudo ant fresh_install
Create ADMINISTRATOR for DSpace
/dspace/bin/dspace create-administrator
sudo service tomcat7 stop
udo cp -r /dspace/webapps/xmlui/ /var/lib/tomcat7/webapps
sudo cp -r /dspace/webapps/oai/ /var/lib/tomcat7/webapps
sudo cp -r /dspace/webapps/solr/ /var/lib/tomcat7/webapps
Fix Tomcat permissions, and restart the Tomcat server
sudo chown tomcat7:tomcat7 /dspace -R
sudo service tomcat7 start
Test DSpace xmlui in your browser
That is all that is required to install DSpace on Ubuntu.
There are two main webapps that provide a similar turn-key repository interface
http://localhost:8080/xmlui
|
Create Superuser in Mysql
Login MySQL using mysql -u root -p CREATE USER 'superuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGE...
-
SubjectPlus is an open-source tool for creating subject guides and managing library content. This guide walks you through the installation ...
-
[dspace] /bin/dspace user --add --email openbharat@gmail.com -g bharat -s User --password abcdefg [dspace] /bin/dspace user --add -...