Login | Register
My pages Projects Community openCollabNet
Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

Installing Current

There are two methods for installing the Current package; the method you choose will depend on how you downloaded Current and how comfortable you are with third-party RPM packages. The developers, of course, highly recommend downloading and installing with RPMs, as it's much easier than dealing with the tarball.

The recommended method, again, is installing with the provided RPM packages. To install Current with this method, simply download the RPM to your hard drive, and issue an rpm -ihv <filename> and watch the package get installed for you. Make sure you get all of Current's requirements installed. Next, you also need to use RPM, Up2date, or Yum to install a database Current can use. Red Hat products come with PostgreSQL and MySQL. SQLite and the SQLite python bindings can be found as RPMS from the Current web site. See the documentation for each database to get it installed and configured. You can now skip down to the section entitled “Configuring Current”.

To install using the tarball, download the tarball and unpack it. This will (should) create a directory called current-${version}/ (e.g. current-1.5.3/) in the directory you unrolled the tarball from. Inside this directory are several .py files, an example configuration file, and the control executables cadmin and cinstall. First, copy all the .py files to /usr/share/current. The cadmin and cinstall files should be copied to somewhere in root's path, probably /usr/sbin or /sbin. Finally, you'll need to create an /etc/current directory, and copy the example configuration file (current.conf) there.

At this point, you need to install other requirements for Current. If you can handle installing Current from a tarball then installing these should be fairly simple. Current requires the Apache web server, the mod_ssl module, the mod_python module, Red Hat's rpm-python package, and a database. Supported databases are PostgreSQL, SQLite, and MySQL.

Current is now installed in your system, but is not configured or otherwise usable. On to configuration!