PKP/OJS/Install Ubuntu

Back to OJS Installation

Installation

 * Select an appropriate hostname/URL for this service. At Stellenbosch University we selected http://www.journals.ac.za for production and http://journals.sun.ac.za for training/development.
 * Create a server, using Ubuntu 14.04 LTS 64 bit.
 * Use 250GB disk storage and 4GB memory.
 * Use 20GB for the root partition and the rest for var partition. Swap is about 4GB.
 * During installation, when "tasksel" pops-up, select to install the OpenSSH server.
 * Also during installation, select to have software security updates done automatically.

After Installation and Network Setup

 * After installation, login remotely using SSH and setup local repositories and perform a software upgrade.

sudo -i

cd /etc/apt

wget http://web.lib.sun.ac.za/files/sources.list-14.04

cp sources.list-14.04 sources.list

apt-get update

apt-get dist-upgrade

reboot

Extra Software
tasksel apt-get install php5-cli php5-curl php5-xmlrpc php5-pear php-pear ttf-freefont catdoc antiword pstotext libxalan2-java libsaxon-java postfix lynx-cur poppler-utils
 * Run the following and install the LAMP Stack
 * For OJS and OCS

apt-get install phpmyadmin mc ntp git-core mailutils nano /etc/ntp.conf http://ubuntu.sun.ac.za/wiki/index.php/IBM_Tivoli http://ubuntu.sun.ac.za/wiki/index.php/VMWare-Tools
 * For System Admin
 * Edit ntp conf file.
 * For IBM Tivoli backups
 * For VMWARE guest (If applicable)

Setup Postfix Email
dpkg-reconfigure postfix nano /etc/aliases
 * Setup mail gateway through the local campus email server mail.sun.ac.za.
 * Deliver root email to scholar@sun.ac.za.

newaliases

Apache
a2enmod rewrite nano /etc/apache2/sites-enabled/000-default.conf nano /etc/php5/apache2/php.ini Change the following Remove the mcrypt error. nano /etc/php5/apache2/conf.d/mcrypt.ini Remove the commented line.
 * Enable mod_rewrite
 * Setup Apache permissions. AllowOverride All in config file.
 * Setup PHP file limits
 * upload_max_filesize to 1000M.
 * post_max_size to 1000M.
 * max_execution_time to 300

/etc/init.d/apache2 restart
 * Restart Apache web server

Campus Firewall

 * 1) Take note of the IP address and create a request to open ports 80 and 443 on the campus firewall for the journal server.
 * 2) Check status of open hosts on: https://maties2.sun.ac.za/rtad4/useradm