Bash script for installing a user-defined amount of OJS3 installations on Debian 10. Great for setting up a workshop where multiple people will require their own installation of OJS3.
⚡ This branch (master) installs a stable release version of OJS3 from prebuilt tar.gz. packages. If you want to install the latest development version from PKP's git repo, check out the dev branch of this repo.
Run bash roadWarrior.sh
as root from a fresh Debian 10 installation and provide:
- the desired MySQL root password
- the desired amount of OJS3 installations
- the desired specific OJS3 version (or use the default)
The script will automatically:
- Install prerequisite packages for OJS3
- Configure MySQL with an
ojs
user - Download and install OJS3 for a user-set amount of times under
/var/www/html/journal1
,/var/www/html/journal2
,/var/www/html/journal3
, etc. - The installations are available on
http://your.ip/journal1
,http://your.ip/journal2
, etc.
- Each OJS3 installation has its own database
- All installations use the same MySQL user:
ojs
with a passwordojsPass1234
- Username for each installation is the journal number, e.g.
journal1
,journal2
, etc. - Password for each installation is
ojsPass1234
- The script sets the
base_url
parameter inconfig.inc.php
by the result ofhostname -I
command. If you have a domain, it's safer to change the first line ofroadWarrior.sh
toip="your.domain.name"