Difference between revisions of "PKP/OJS/Install Ubuntu"
Jump to navigation
Jump to search
m |
m (→Virtual Server) |
||
| Line 6: | Line 6: | ||
===Virtual Server=== | ===Virtual Server=== | ||
*Create a virtual server on stbch11.stb.sun.ac.za, using Ubuntu 12.04 LTS 64 bit. | *Create a virtual server on stbch11.stb.sun.ac.za, using Ubuntu 12.04 LTS 64 bit. | ||
| − | *Use | + | *Use 250GB disk storage, 4GB memory and use the 20 segment network. |
*During installation, when "tasksel" pops-up, select to install the OpenSSH server. | *During installation, when "tasksel" pops-up, select to install the OpenSSH server. | ||
| − | *Use | + | *Use 20GB for the '''root''' and the rest for '''var'''. Swap is about 4GB. |
| + | |||
===MAC Address Network Registration=== | ===MAC Address Network Registration=== | ||
*Register the MAC address on [https://maties2.sun.ac.za/rtad4/adm RTAD], then setup server network. | *Register the MAC address on [https://maties2.sun.ac.za/rtad4/adm RTAD], then setup server network. | ||
Revision as of 11:18, 23 July 2014
Back to OJS Installation
Contents
Ubuntu Server
Virtual Server
- Create a virtual server on stbch11.stb.sun.ac.za, using Ubuntu 12.04 LTS 64 bit.
- Use 250GB disk storage, 4GB memory and use the 20 segment network.
- During installation, when "tasksel" pops-up, select to install the OpenSSH server.
- Use 20GB for the root and the rest for var. Swap is about 4GB.
MAC Address Network Registration
- Register the MAC address on RTAD, then setup server network.
- Wait at least 10 mins, then restart the server and continue with installation.
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-12.04
cp sources.list-12.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 ttf-freefont catdoc antiword pstotext libxalan2-java libsaxon-java postfix lynx-cur poppler-utils
- For System Admin
apt-get install phpmyadmin apticron mc cron-apt ntp git-core
- Edit ntp conf file.
nano /etc/ntp.conf
- 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
- 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/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