Project

General

Profile

Actions

Installation instructions » History » Revision 7

« Previous | Revision 7/17 (diff) | Next »
Jochen Schalanda, 03/20/2011 12:04 PM
Added install instructions for Debian/Ubuntu Linux


Installation instructions

Source code

You can get the latest stable code from GitHub (via git).

git clone git://github.com/ohadlevy/smart-proxy.git

RPM

You can get a the stable rpm Here

Debian/Ubuntu packages

We provide packages for Smart-Proxy for the following Debian-based Linux distributions:

  • Debian Linux 5.0 (Lenny), see notes below
  • Debian Linux 6.0 (Squeeze)
  • Ubuntu Linux 10.04 (Lucid Lynx)
  • Ubuntu Linux 10.10 (Maverick Meerkat)

Add one of the following package sources to your /etc/apt/sources.list:

# For stable packages
deb http://deb.theforeman.org/ stable main

# For testing packages
deb http://deb.theforeman.org/ testing main

The public key for secure APT can be downloaded here

You can add this key with

sudo apt-key add foreman.asc

or combine downloading and registering:

# Debian Linux (as root)
wget -q http://deb.theforeman.org/foreman.asc -O- | apt-key add -

# Ubuntu Linux (as normal user)
wget -q http://deb.theforeman.org/foreman.asc -O- | sudo apt-key add -

The key fingerprint is

1DCB 15D1 2CA1 40EE F494  7E57 66CF 053F E775 FF07
Foreman Archive Signing Key <packages@theforeman.org>

To install Smart-Proxy, run

sudo apt-get update

# Depending on the database you want to use with Foreman,
# install one of these:
sudo apt-get install foreman-mysql
sudo apt-get install foreman-pgsql
sudo apt-get install foreman-sqlite3

Debian Linux 5.0 (Lenny)

Users of Debian Lenny will have to use rake, rack, and Sinatra from lenny-backports.

See http://backports.debian.org/Instructions/ for instructions on how to add lenny-backports to your list of repositories and install a package from it.

Please note that you'll have to install rack from lenny-backports using apt-get -t lenny-backports install librack-ruby. libsinatra-ruby will not be installable otherwise.

Configuration file

Usually can be found at /etc/foreman-proxy/settings.yml or on the config/settings.yml subdirectory.
You can use the settings.yml.example file inside the config directory as a template for your own settings.yml.

If you don't plan to use one of the subsystems, please disable them in this configuration file.

Start the daemon

until a service file will be created simply execute

bin/smart-proxy.rb

Updated by Jochen Schalanda almost 14 years ago · 17 revisions