File: INSTALL

package info (click to toggle)
irm 1.0.3-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 816 kB
  • ctags: 753
  • sloc: php: 3,440; sh: 346; makefile: 40
file content (93 lines) | stat: -rw-r--r-- 3,189 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#
#    $Id: INSTALL,v 1.13.2.1 2000/05/16 05:35:50 atrus Exp $
#

IRM 1.0 RELEASE INSTALL INSTRCUTIONS
---------------------------------------------

If Things Go Wrong
------------------

Before we start, its important that you know what to do if things
go wrong.  First, check the FAQ (in this directory), if that doesn't
help, go to the webpage, subscribe to irm-discuss, and ask there.
Thats about it.

Requirements
------------

To run IRM, you will need the following.

- Webserver:  Apache is recomended, but others can work.  www.apache.org

- PHP3: You will need PHP3 with the following functions enabled.
	+ MySQL
	+ --enable-track-vars
	+ If you are interested in SNMP support, SNMP
	
- MySQL: You will need the client libraries and a server to connect to.
	Both can be run on the same machine, but can be seperated.  You will need
	the client libraries on the machine running IRM. www.mysql.com
	
If you are interested in SNMP support, you will also need UCD SNMP installed
ucd-snmp.ucdavis.edu

If you have any problems installing any of these packages, or you 
have installed them, and IRM is just not working, I suggest trying this link:

http://www.linuxguruz.org/index.html?state=PHPTips&topic=PHP402

Many systems have packages for the above, but many of them are not
configured correctly (PHP in Apache has no MySQL support although
MySQL is installed - common on RedHat systems).  I recomend
building everything from source for a server anyway.  

Installing
----------
By now you probaly have already extracted IRM by gzip and tar.  Make sure 
that everything in the IRM directory gets placed where the webserver can find 
it.  Next edit the file /config.inc.php3 with your favorite text editor (nedit, ee, ed, 
etc...).  The file is documented if you need it.  So IRM can always find 
config.inc.php3, you will have to edit irm.inc.  Look for a line called '$root_path'
Documentation is once again in file.


(Note, this step has changed from pre 1.0)



Next Setup the Database:

New Install: Create a database named 'irm' and quote the
 database.txt file into your mySQL server (phpmyadmin is a great way of 
doing this, as well as the mysql program, see NOTE1).

Upgrades: Find the appropiate (or most recent) database.irm0.x-0.x.txt file.
If you are upgrading from a REALLY
old version, you will have to update in steps.

You are all set!  Open your web browser to the irm directory, log in with 
Admin as the user and 'admin' as the password.

Check for updates: http://www.redshift.com/~yramin/atp/irm/

Yann Ramin
atrus@atrustrivalie.eu.org

NOTE1:  If you use the 'mysql' program, which is standard with mySQL,
follow these instructions:

1.  Create the IRM database.  Use 'mysqladmin -u root create irm'.  If you
get pestered about a password, use the -p switch ('mysqladmin -u root -p
create irm').  You will be asked for the password before the database is
created.

2.  Open database.txt with a text editor (or
database.<version>-<version>.txt for upgrades) and add at the very top
'use irm;' on a line by its self.

3.  Run the command 'mysql -u root < database.txt' (again, use the -p
switch if you need it). 

4.  That should be it, log in and enjoy!