I was trying to create a demo platform for publishing scholarly journals of institutions under the University of Calicut using the Open Journal System (OJS). It is a demo proposal of my M.Phil thesis entitled ‘Design and Development of an Open-Access Portal for the Scholarly Journals of Institutions under Calicut University’. unfortunately, the installation was not successful, as the latest version of OJS met with several dependencies. after frequent tries, I approached my Tech-guru Dr. Vimal Kumar sir. He too tried but the result was the same as what I received. As he is a man with a wide range network of both library and non-library professionals all over the world, he brought me into contact with Mr. Jeremiah Kellogg Library Faculty, Systems, Eastern Oregon University Library. who helped me creating a VirtualBox image of OJS on Debian OS. and troubleshot the issues that I faced while installing on my PC. I am so grateful to both Dr. Vimal Kumar sir and Mr. Jeremiah Kellogg.
Step by step of Installing OJS
Install LAMP Stack
LAMP Stack on Debian
LAMP Stack on Ubuntu
After installing LAMP Stack, do the following
sudo systemctl reload apache2 && sudo systemctl restart apache2
Create a directory under webroot of apache, I name the directory as ojs
sudo mkdir /var/www/html/ojs
Navigate to ojs directory
cd /var/www/html/ojs/
Download the latest archive of OJS from the official website
sudo wget https://pkp.sfu.ca/ojs/download/ojs-3.3.0-3.tar.gz
Extract the archive
sudo tar -xvzf ojs-3.3.0-3.tar.gz
Navigate to one folder back
cd ..
Move entire directories and hidden files to the ojs directory
sudo mv /var/www/html/ojs/ojs-3.3.0-3/* /var/www/html/ojs/
Provide write permission to the following directories and file
cd /ojs
sudo chown -R www-data config.inc.php public/ cache/
Navigate to /var/www directory and create a directory for uploading files and give appropriate permission
cd /var/www sudo mkdir files sudo chmod -R 777 files/
Create a virtual host, if you are mapping with the domain then create a database, user, and password
sudo mysql -uroot -p (provide mysql root password) create database ojs; grant all privileges on ojs.* to 'ojs'@'localhost' identified by 'ojs123'; flush privileges; quit;
Restart apache
sudo systemctl reload apache2 && sudo systemctl restart apache2
It is ready now, visit
127.0.1.1/ojs or yourdomain.com
Visit my demo OJS: OAJP CALICUT UNIVERSITY
Reference: