This is an old revision of the document!


The install package (RPM) for Fedora / RedHat

We've started testing the first public version of rpm package for POPFile (v1.1.1). Note: This package is NOT fully tested. So you may see some problems with it. If you find any problems, please report at our forum.

How to get RPM/SRPM

RPMs testing on Fedora Project (tested on Fedora 10/11)

The first public version of rpm package (tested on Fedora 10/11, Mandriva 2009.1

The rpm file is signed using GnuPG. You can get my public key from here and here.

After installing package

Start POPFile

After the installation, POPFile DOES NOT automatically start by default (since the first public version starts automatically, I've changed this behavior to follow the Package Guideline for Fedora).

If you want to start POPFile, execute

$ su -
Password: (enter root password)
# /sbin/service popfile start
Starting popfile as background process:                    [  OK  ]
# exit

Start POPFile automatically you turn on your computer

$ su -
Password: (enter root password)
# /sbin/chkconfig popfile on
# exit

You can see whether POPFile will automatically start or not.

$ /sbin/chkconfig --list popfile
popfile        	0:off	1:off	2:on	3:on	4:on	5:on	6:off

Configure POPFile

You can configure POPFile by accessing its UI at http://127.0.0.1:8080/

Directory structure

This install package installs some files in several directories:

  • /usr/share/popfile - used to store POPFile program files (Perl scripts, image files, HTML template files, etc.)
  • /var/lib/popfile - used to store POPFile data files (the corpus file(popfile.db), configuration file(popfile.cfg), history cache(messages), etc.)
  • /var/log/popfile - used to store POPFile log files (POPFile log(popfile*.log) and console log(console.log))
  • /var/run - used to store the pid file (popfile.pid)
  • /etc/init.d - used to store POPFile startup script (popfile)

Other required packages

To install the POPFile package, you'll need these packages:

  • perl
  • perl-DBI
  • perl-DBD-SQLite
  • perl-TimeDate
  • perl-HTML-Template
  • perl-HTML-Tagset
  • perl-IO-Socket-SSL
  • perl-SOAP-Lite
  • kakasi
  • kakasi-dict
  • perl-Text-Kakasi

Uninstall POPFile

The POPFile data files (in /var/lib/popfile) and the POPFile log files (in var/log/popfile) are not deleted after uninstalling.

If you really want to remove those files, please manually remove these folders:

  • /var/lib/popfile
  • /var/log/popfile

Tested distributions

  • Fedora 10, 11
  • Mandriva Linux 2009 Spring

Known issues

  • In some installation of Mandriva Linux 2009.1, POPFile does not work properly when POPFile starts up automatically. A user has reported that turning off the 'speedboot' option solved the problem: Forum post

Linux Instructions

 
howtos/fedora.1255134640.txt.gz · Last modified: 2009/10/10 02:30 (external edit)

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License