There are a number of components to a successful OJS install: downloading and unpacking the OJS application files in a web accessible directory on your server; creating a separate files/ directory that is not web accessible; and most likely, manually creating a database user and database.
Important:
All servers are different, and the installation process in your case may be different than what follows. If any of this confuses you or for some reason does not work, please see our OJS Hosting Plans for OJS hosting and support services or contact us for more information.
The Install Process
- Extract the OJS archive to the desired location in your web documents directory.
- Make the following files and directories (and their contents) writeable (i.e., by changing the owner or permissions with chown or
chmod):- config.inc.php (optional — if not writable you will be prompted to manually overwrite this file during installation)
- public
- cache
- cache/t_cache
- cache/t_config
- cache/t_compile
- cache/_db
- Create a directory to store uploaded files (submission files, etc.) and make this directory writeable. It is strongly recommended that this directory be placed in a non-web-accessible location to ensure a secure environment (or otherwise protected from direct access, such as via .htaccess rules).
- Open a web browser to http://yourdomain.com/path/to/ojs/ and follow the on-screen installation instructions.
- Alternatively, the command-line installer can be used instead by running the command “php tools/install.php” from your OJS directory (Note: with the CLI installer you may need to chown/chmod the public and uploaded files directories after installation, if the Apache user is different from the user running the tool.).
- Recommended additional steps post-installation:
- Review config.inc.php for additional configuration settings.
- Review the FAQ document for frequently asked technical and server configuration questions.
Important:
Regarding web accessible directories: each server is different. If you do not know where your web-accessible directory is (that is, the directory where you put everything that you want people to see on your website; sometimes called a web root directory), you should contact your service provider.