Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you have any problems during the install you can contact Noojee Support on +613 8320 8100 or support@noojee.com.au.

Install Ubuntu 10.04 Server 32 bit or 64 bit

Start by installing Ubuntu 10.04 Server 32 bit edition or 64 bit edition.

...

Code Block
languagebash
linenumberstrue
sudo apt-get update
sudo apt-get dist-upgrade

Uninstall ureadahead

ureadahead has been reported to cause problems on Ubuntu 10.04 on some hardware, so uninstall it:

Code Block
languagebash
linenumberstrue
sudo apt-get purge ureadahead

Install SSH

For install on a workstation...

...

It also generally easier to perform the following task from an ssh terminal session as you can cut and paste commands as needed.

Set the default shell

Run the following command and say 'no' to using dash as sh.

Code Block
languagebash
linenumberstrue
sudo dpkg-reconfigure dash

Add the Noojee Repository

Download and Save the following file to your home directory and then copy it to the ubuntu server:

...

Code Block
languagebash
linenumberstrue
sudo dpkg -i nit-repo_*_all.deb
sudo apt-get update

Pin the Noojee Repository for Synaptic (Desktop Systems Only)

If you are on a desktop machine, to stop Synaptic over-writing the Noojee packages you need to pin the Noojee in Synaptic (the package pins APT)

Code Block
languagebash
linenumberstrue
sudo sh -c "cat /etc/apt/preferences.d/00nit >> /var/lib/synaptic/preferences"
sudo apt-get update

Install and configure MySQL

Before installing the Noojee packages you need to first install MySQL. During the install you will be prompted to set the root password. The mysql root password MUST be retained for future maintenance.

...

Code Block
languagebash
linenumberstrue
sudo restart mysql

Install Tomcat

As of Ubuntu 10.04, the sun-java6-jre package has been moved into the partner repository, which is commented out by default. You will need to uncomment this in your sources list as below.

...

Code Block
languagebash
linenumberstrue
sudo apt-get install sun-java6-jre tomcat6

Install packages

Run the following command to install each of the required packages:

...

During installations above, you will be prompted for a number of MySQL details for various pieces of software. The important answers are:

QuestionResponse
Keep "administrative" database passwords?No
Will this server be used to access remote databases?Yes
Configure database for <packagename> with dbconfig-common?Yes
Connection method for MySQL database of <packagename>:tcp/ip
Host name of the  database server for <packagename>:localhost
Port number for the  service:3306
Name of the database's administrative user:root
Password of the database's administrative user:<your_MySQL_root_password>
username for <packagename>:Usually this is 'asterisk', but can be anything you like.
The default is pre-filled.
password for <packagename>:Auto-generated if left blank (but please enter)
database name for <packagename>:The default is pre-filled.

If you are prompted to overwrite any files, the correct answer is usually Install the package maintainer's version of the file, but you must always check (using the diff option) to make sure that you are not overwriting client-specific changes.  This will not occur during installation, but during updates it is critical to make these checks.

Errors

If you get an error during the install that relates to the database you can check for an error log in:

...

where $$ will be replace by a random integer.

DNS

The PBX uses DNS lookups to gather a lot of required information, such as routes, white pages entries, etc. Make sure these lines appear as the first two lines of /etc/resolv.conf:

Code Block
linenumberstrue
127.0.0.1
127.0.0.2

Test Noojee Admin

You should now be able to login to Noojee Admin using a web browser.

Simply type in the address of the server e.g.

http://10.10.0.1

Post Installation process

Contact Noojee on +613 8320 8100 or support@noojee.com.au