Difference between revisions of "(depreciated) empty page - TJP"

From MircWiki
Jump to: navigation, search
(Manual Startup and Shutdown (rarely needed))
Line 38: Line 38:
 
* password = password
 
* password = password
  
====Manual Startup and Shutdown (rarely needed)====
+
====Manual startup and shutdown (rarely needed)====
  
 
From the command line:
 
From the command line:
Line 46: Line 46:
 
   service mirc stop
 
   service mirc stop
 
To restart the mirc server
 
To restart the mirc server
   service mirc restart  
+
   service mirc restart
  
 
====What happens behind the scenes====
 
====What happens behind the scenes====

Revision as of 12:50, 17 April 2011

The easiest MIRC install ever. Updated to Z1

1 Included features

  1. Automates the (usually annoying) Installation of Java ImageIO libraries.
  2. Port 80 access (default web port)
  3. Automatically starts at boot up and closes at shutdown.

2 Installation

2.1 Important points

2.2 First step:

Install Ubuntu 10.04 Lucid 32-bit on a virtual machine or a real computer.

2.3 Commands

The following commands should be executed as root (or using sudo)

  apt-get update 
  apt-get -y install python-software-properties 
  apt-add-repository 'deb http://archive.canonical.com/ lucid partner'
  apt-add-repository ppa:timothy-john-phillips/mirc
  apt-get update
  apt-get -y install mirc

You will be asked to agree to the terms and conditions of Sun Java and then to ImageIO. Agree to it all.

3 Usage

3.1 Web access to the MIRC site

Point a web browswer at the IP address of your Ubuntu machine and you should see your new MIRC site.

Administrator access:

  • username = admin
  • password = password

3.2 Manual startup and shutdown (rarely needed)

From the command line: To start the mirc server

 service mirc start

To shutdown the mirc server

 service mirc stop

To restart the mirc server

 service mirc restart

3.3 What happens behind the scenes

  1. Installing the mirc package automatically installs
    1. The latest MIRC (currently Z1) into /usr/share/mirc/
    2. The sun-java6-jre package- this is the official Sun (Oracle) Java 1.6 JRE package, which lives in the partner repository.
    3. The jai-imageio-1.1 package - this is a package I created to automate the installation of the Sun (Oracle) ImageIO libraries.
    4. An Ubuntu Upstart script (mirc.conf) is installed - this automates the startup and shutdown of the MIRC server.

4 Why did I bother?

I've made these repositories to simplify the installation of MIRC on Linux (faster than Windows, and free). At the very least it eliminates the fiddling with Java Image IO tools. I plan to update it with each release of MIRC Zx.

Hope this helps someone. Appreciate any feedback. - timothy.john.phillips@gmail.com