Download it from https://pkp.sfu.ca/ojs/download/ojs-3.3.0-6.tar.gz
Then extract it on your web root directory.
LOCAL SETUP APACHE2 VIRTUAL HOST
CREATE A CONF
|
1 |
sudo cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/ojs-3.3.0-6.test.conf |
EDIT
|
1 |
sudo gedit /etc/apache2/sites-available/ojs-3.3.0-6.test.conf |
CONTENT
|
1 2 3 4 5 6 7 8 9 10 11 12 |
<VirtualHost ojs-3.3.0-6.test:80> ServerName www.ojs-3.3.0-6.test DocumentRoot "/home/satria/Documents/projects/ojs-3.3.0-6" DirectoryIndex index.php <Directory "/home/satria/Documents/projects/ojs-3.3.0-6"> AllowOverride All Allow from All Require all granted </Directory> ErrorLog /var/log/apache2/ojs-3.3.0-6.error.log CustomLog /var/log/apache2/ojs-3.3.0-6.access.log combined </VirtualHost> |
ENABLE THE VIRTUALHOST
|
1 |
sudo a2ensite ojs-3.3.0-6.test.conf |
RELOAD APACHE2
|
1 |
sudo systemctl reload apache2 |
CREATE THE HOST
|
1 2 3 |
sudo gedit /etc/hosts 127.0.0.1 ojs-3.3.0-6.test |
Provide write permission to the following directories and file
|
1 2 |
satria@teddy:~$ cd Documents/projects/ojs-3.3.0-6/ satria@teddy:~/Documents/projects/ojs-3.3.0-6$ sudo chown -R www-data config.inc.php public/ cache/ |
OPEN: http://ojs-3.3.0-6.test/
FIRST, IT’D GO TO http://ojs-3.3.0-6.test/index.php/index/install
BEFORE INSTALLING, PLS CHECK ALL REQUIREMENTS THERE (THE SYSTEM/SERVER, DATABASE, FILE/DIRECTORY PERMISSION, DIRECTORY TO STORE THE UPLOAD FILE, ETC)
Create a new Administrator Account
username: admin
password: Admin@123
email: (your email)
CHECK THE PART ‘Directory for uploads’
CHANGE IT FROM: /home/satria/Documents/projects/files
TO: /home/satria/Documents/projects/ojs-3.3.0-6_files
CREATE THE NEW DIRECTORY ‘ojs-3.3.0-6_files’ AND SET THE PERMISSION
|
1 2 3 |
satria@teddy:~/Documents/projects/ojs-3.3.0-6$ cd .. satria@teddy:~/Documents/projects$ sudo mkdir ojs-3.3.0-6_files satria@teddy:~/Documents/projects$ sudo chmod -R 777 ojs-3.3.0-6_files/ |
MATCH THE DATABASE SETTING WITH YOUR LOCAL DB SETTING.
CREATE A NEW DATABASE ‘ojs_3_3_0_6’ (utf8mb4_general_ci)
THEN CLICK ‘Install Open Journal Systems’ BUTTON AT THE RIGHT BOTTOM
IF SUCCESS, HERE IS THE LOGIN LINK: http://ojs-3.3.0-6.test/index.php/index/login
FILL IT WITH YOUR PREVIOUS SETTING (admin)

