Run solr 8 on localhost only

Last updated on: Published by: Systems Librarian 0

It is a bad practice to expose your solr instance to the public, your data could be manipulated or worse, deleted. Apart from blocking solr’s port 8983 using the firewall, it is also good practice to run solr on localhost only if the service that consumes solr services is running on the same host, eg dspace. This guide is a record of how you can run solr 8.x on localhost:8983

Read More

Deploying a Django Application with MySQL, Gunicorn, and Nginx on Ubuntu 22.04 Server: A Comprehensive Guide

Last updated on: Published by: Systems Librarian 0

In this comprehensive guide, we will walk you through the process of deploying a Django application using MySQL as the database backend, Gunicorn as the application server, and Nginx as the web server on an Ubuntu server. Whether you’re a seasoned developer or just starting with Django, this step-by-step tutorial will equip you with the knowledge and code samples needed to successfully deploy your Django application. So, let’s dive in and unleash the power of Django in a production-ready setup!

Before we begin, make sure that you have an Ubuntu 22.04 server instance up and running.

Read More

Install OJS 3.1.1.2 on Ubuntu 18.04

Last updated on: Published by: Systems Librarian 1

Open Journal Systems (OJS) is a free open source software for managing and publishing scholarly journals. A single OJS installation can host multiple journals. It is written in PHP programming language and works with MySQL or PostgreSQL database and Apache2 or nginx web server.

This post is a record of the process I went through when setting up OJS on Ubuntu 18.04. It is assumed you have a vanilla Ubuntu 18.04 with sudo rights.

Read More

DSpace 6: Configure apache2 as reverse proxy in front of tomcat

Last updated on: Published by: Systems Librarian 2

This post guides you on how to configure apache2 to run as a reverse proxy in front of tomcat. The reason I personally use apache2 instead of directly exposing tomcat is because it becomes easy to install SSL certicates and automate their renewal. This is also best practice as it is not recommended to expose your tomcat servlet to the world.

This guide assumes that you have installed DSpace 6, or any other application that you wish to run behind a proxy. It also assumes that it is configured to run on port 8080 which is the default port number for a tomcat installation.

Read More