Difference between revisions of "PKP/OJS/Install Ubuntu"
Jump to navigation
Jump to search
m (→Ubuntu Server) |
m (→Ubuntu Server) |
||
| Line 4: | Line 4: | ||
==Ubuntu Server== | ==Ubuntu Server== | ||
| − | === | + | ===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. | ||
*[http://ubuntu.sun.ac.za/wiki/index.php/Enterprise_Server_Management Create a server, using Ubuntu 14.04 LTS 64 bit]. | *[http://ubuntu.sun.ac.za/wiki/index.php/Enterprise_Server_Management Create a server, using Ubuntu 14.04 LTS 64 bit]. | ||
*Use 250GB disk storage and 4GB memory. | *Use 250GB disk storage and 4GB memory. | ||
Revision as of 16:46, 26 July 2016
Back to OJS Installation
Contents
Ubuntu Server
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
- Run the following and install the LAMP Stack
tasksel
- For OJS and OCS
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
- For System Admin
apt-get install phpmyadmin mc ntp git-core mailutils
- Edit ntp conf file.
nano /etc/ntp.conf
- For IBM Tivoli backups
http://ubuntu.sun.ac.za/wiki/index.php/IBM_Tivoli
- For VMWARE guest (If applicable)
http://ubuntu.sun.ac.za/wiki/index.php/VMWare-Tools
Setup Postfix Email
- Setup mail gateway through the local campus email server mail.sun.ac.za.
dpkg-reconfigure postfix
- Deliver root email to scholar@sun.ac.za.
nano /etc/aliases
newaliases
Apache
- Enable mod_rewrite
a2enmod rewrite
- Setup Apache permissions. AllowOverride All in config file.
nano /etc/apache2/sites-enabled/000-default.conf
- Setup PHP file limits
nano /etc/php5/apache2/php.ini
Change the following
- upload_max_filesize to 1000M.
- post_max_size to 1000M.
- max_execution_time to 300
Remove the mcrypt error.
nano /etc/php5/apache2/conf.d/mcrypt.ini
Remove the commented line.
- Restart Apache web server
/etc/init.d/apache2 restart
Campus Firewall
- Take note of the IP address and create a change control request on RTAD to open ports 80 and 443 on the campus firewall for the virtual server.
- Check status of open hosts on: https://maties2.sun.ac.za/rtad4/useradm