summaryrefslogtreecommitdiff
path: root/www/itop/files/pkg-message.in
blob: 50735511d8c470383c63950b8ccea0755c3b1c68 (plain) (blame)
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
[
{ type: install
  message: <<EOM
Installation:

1. Ensure that all the scripts have the appropriate owner (if PHP is running in
   safe mode, having some scripts with an owner different from the owner of
   other scripts will be a problem).
   Check the access rights on the files/folders: the setup needs to have write
   access either to the whole directory where iTop is installed or to the following
   subdirectories (create them if needed)
    - conf
    - data
    - env-production
    - log

2. You now need to create the DB where iTop is going to live

 PostgreSQL::
   createdb -U pgsql -W itop
   createuser -U pgsql -P -e itop
   createlang -U pgsql -W plpgsql itop

 MySQL::
   mysqladmin -u dba_user -p create itop
   mysql -u dba_user -p
   GRANT ALL PRIVILEGES ON itop.* TO itop@localhost IDENTIFIED BY 'passwd';

3. Open the main iTop directory in your web browser. iTop should then display
   the setup instructions on screen.
EOM
}
]