(depreciated) empty page - TJP

From MircWiki
Revision as of 08:30, 10 September 2011 by Tim phillips (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

1 How to install MIRC-Zn on Ubuntu Linux

  • Download the script
wget http://timphillips.net/mirc/install-MIRC-Zn
  • Make it executable
chmod 777 ./install-MIRC-Zn
  • Run the script
./install-MIRC-Zn
  • Point your browser to the machine you just installed it on and MIRC should be up and running.
  • This script will also upgrade a previous "Tim Phillips" installation of MIRC-Zn so it can be used again when the RSNA code is updated.

2 Commands to control or upgrde the MIRC web service

To start MIRC (it will start automatically when the machine boots)

start MIRC-Zn

To stop MIRC:

stop MIRC-Zn

To check if MIRC is running:

status MIRC-Zn

To restart MIRC:

restart MIRC-Zn

To upgrade MIRC with the latest MIRC-Zn code from RSNA (and preserve all your data):

upgrade-mirc

3 What the script does (feel free to look at it before you run it)

  • Checks you're running it as root or using sudo.
  • Stops the MIRC-Zn service if its running.
  • Updates the Ubuntu repos if need be.
  • Checks which chipset you're running.
  • (If Oracle / Sun Java 6 isn't already installed)
    • Answers the Java installation questions in advance.
    • Installs Oracle / Sun Java.
  • Downloads the appropriate JAI ImageIO files installs JAI ImageIO.
  • Installs a few other necessary applications if they're not already installed.
  • Downloads the latest version of MIRC-Zn.
  • Writes an upstart script (so that CTP/MIRC will be run as a service automatically).
  • Installs RSNA MIRC.

4 Choosing between Ubuntu Desktop and Ubuntu Server for a MIRC install

  • Ubuntu Desktop
    • Easier (very easy) if you're new to Linux.
    • May be very slightly slower but on modern hardware you are unlikely to notice the difference.
  • Ubuntu Server
    • Makes more sense - MIRC is a web service after all.
    • Will be leaner and faster.
    • Can run on a headless server or virtual machine.
    • TurnkeyLinux is a very good Ubuntu install for this purpose.
Any questions or comments please email me at timothy.john.phillips@gmail.com - Tim Phillips.