The install package (RPM) for Fedora / RedHat

The rpm package for POPFile (v1.1.1) is now stable for Fedora 10/11.

How to get RPM/SRPM

RPMs for Fedora 10/11 is now stable

You can get rpm package for POPFile using yum:

$ su -
Password: (enter root password)
# yum -y install popfile
# exit

You can install the package using 'Add/Remove Software'. Search 'popfile' and install.

For more information about the package, please see:

Source RPM (SRPM) (tested on Fedora 10/11, Mandriva 2009.1)

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

You can remove POPFile using yum:

$ su -
Password: (enter root password)
# yum erase popfile
# exit

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.txt · Last modified: 2009/10/24 06:02 by 127.0.0.1

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