IT-Server

Back to System Admin

Virtual Server

 * Create a virtual server on stbch11.stb.sun.ac.za, using Ubuntu 12.04 LTS 64 bit.
 * Use 15GB disk storage, 512MB memory and the 20 segment network.
 * During installation, when "tasksel" pops-up, select to install the OpenSSH server.
 * Use 5GB for the root and 10GB for var. Swap is about 1GB.

MAC Address Network Registration

 * Register the MAC address on RTAD, then setup server network.



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
tasksel apt-get install php5-cli php5-curl php5-xmlrpc 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 apticron mc cron-apt ntp git-core nano /etc/ntp.conf http://ubuntu.sun.ac.za/wiki/index.php/VMWare-Tools
 * For System Admin
 * Edit ntp conf file.
 * 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 nano /etc/php5/apache2/php.ini Change the following Remove the mcrypt error. nano /etc/php5/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 change control request on RTAD to open ports 80 and 443 on the campus firewall for the virtual server.
 * 2) Check status of open hosts on: https://maties2.sun.ac.za/rtad4/useradm