PKP/OJS/Install Software/Before

Back to OJS Installation

Use a safe location for the article and issue files.
Create the folder mkdir /var/ojs

Give the above folder full read/write permissions by the web server. chown www-data.root /var/ojs

chmod 0777 /var/ojs

Login to phpmyadmin
Log in to phpmyadmin. This is normally hostname of journal/phpmyadmin.

Create the MySQL Database with the following credentials

 * dbname = ojs
 * dbuser = ojs
 * dbpass = XXXX

Create root MySQL file (/root/.my.cnf)
nano /root/.my.cnf Copy and paste the following. Change password to suit. [mysql] user = root password = XXXX

[mysqladmin] user = root password = XXXX

[mysqldump] user = root password = XXXX

chmod 0600 /root/.my.cnf Test database connection, by typing as follows: mysql

show databases;

\q