Debian Install 2 0

Version 4 (Mary Laser, 04/12/2012 09:43 pm)

1 1 Mary Laser
h1. Installing FOSSology on Debain
2 1 Mary Laser
3 1 Mary Laser
Packages for deb based distributions are available from different sources, depending on release. Consult the appropriate instructions below for the line to add to your /etc/apt/sources.list file.
4 1 Mary Laser
5 1 Mary Laser
6 2 Mary Laser
7 1 Mary Laser
h2. Debian squeeze (currently stable) 
8 1 Mary Laser
9 1 Mary Laser
FOSSology 2.0 debs, produced by the FOSSology team.  These debs have not yet been submitted to debian upstream.  Older versions of FOSSology are available from the debian and ubuntu repositories.  To use the FOSSology produced debs add the line below to your /etc/apt/source.list file.
10 1 Mary Laser
  
11 1 Mary Laser
  deb http://fossology.org/debian/2.0/squeeze ./
12 1 Mary Laser
13 1 Mary Laser
h2. Debian sid (currently testing) 
14 1 Mary Laser
15 1 Mary Laser
FOSSology 2.0 debs, produced by the FOSSology team.  These debs have not yet been submitted to debian upstream.  Older versions of FOSSology are available from the debian and ubuntu repositories.  To use the FOSSology produced debs add the line below to your /etc/apt/source.list file.
16 1 Mary Laser
17 1 Mary Laser
  deb http://fossology.org/debian/2.0/sid ./
18 1 Mary Laser
19 1 Mary Laser
h2. Debian wheezy (unstable) 
20 1 Mary Laser
21 1 Mary Laser
The latest version of fossology is not available in wheezy.  Use the fossology debs.
22 2 Mary Laser
23 2 Mary Laser
h2. Single vs. Multi-system installs:
24 2 Mary Laser
25 2 Mary Laser
The FOSSology software has been split into separate packages by function and analysis agent in order to make it easy to add, update and install individual agents.  
26 2 Mary Laser
27 2 Mary Laser
*For a single system package install*, (as root) type @apt-get install fossology@  This will install all packages needed to run FOSSology on a single system.
28 2 Mary Laser
29 4 Mary Laser
*For a cluster install*, follow these steps (as root):
30 4 Mary Laser
# Install the FOSSology server... db, web server, agents, etc...
31 4 Mary Laser
@apt-get install fossology@
32 1 Mary Laser
# Install the "agent" systems where the analysis agents will run.
33 1 Mary Laser
@apt-get install fossology-common fossology-buckets fossology-copyright fossology-delagent fossology-mimetype fossology-nomos fossology-pkgagent fossology-ununpack fossology-wgetagent@
34 4 Mary Laser
# edit fossology.conf & Db.conf on the server and copy to the agents
35 4 Mary Laser
36 4 Mary Laser
+Db.conf+
37 4 Mary Laser
dbname=fossology;
38 4 Mary Laser
host=<server_hostname>;
39 4 Mary Laser
user=fossy;
40 4 Mary Laser
password=fossy;
41 4 Mary Laser
42 4 Mary Laser
+fossology.conf+
43 4 Mary Laser
[HOSTS]
44 4 Mary Laser
localhost = localhost /usr/local/etc/fossology  10
45 4 Mary Laser
<agent1_hostname>= <agent1_hostname> /usr/local/etc/fossology  10
46 4 Mary Laser
<agent2_hostname>= <agent2_hostname> /usr/local/etc/fossology  10
47 4 Mary Laser
48 4 Mary Laser
[REPOSITORY]
49 4 Mary Laser
<server_hostname>[] = * 00 55
50 4 Mary Laser
<agent1_hostname>[] = * 56 aa
51 4 Mary Laser
<agent2_hostname>[] = * ab ff