Differences
This shows you the differences between two versions of the page.
| installing [2013-05-14 23:16] – created wikiadmin | installing [2013-12-06 14:43] (current) – Fix formatting and factual error rspencer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Installing | + | ====== Installing |
| - | Requirements: | + | Setup MySQL (or which ever database you plan to use). |
| - | + | ||
| - | * MySQL or PostgreSQL or SQLite | + | |
| - | * Net::Server >= 0.96 | + | |
| - | * Config:: | + | |
| - | * Cache:: | + | |
| - | * DateTime (requires: perl-Class-Singleton) | + | |
| - | * TimeDate | + | |
| - | * Crypt:: | + | |
| - | * Crytpt:: | + | |
| - | * Digest:: | + | |
| - | * Digest:: | + | |
| - | * PHP v5+ (WebUI) | + | |
| - | Steps: | + | In database/ run the following: |
| - | * Setup MySQL (or which ever database you plan to use) | + | < |
| - | * < | + | for i in core.tsql wisp.tsql users-accounting-summary.tsql |
| - | $ for i in core.tsql wisp.tsql users-accounting-summary.tsql | + | do |
| - | $ do | + | ./ |
| - | $ | + | done > smradius.mysql |
| - | $ done > smradius.mysql | + | </ |
| - | # Load smradius.mysql into your database | + | Load smradius.mysql into your database: |
| - | $ mysql -u root -p smradius < smradius.mysql</ | + | |
| - | | + | < |
| - | | + | mysql -u root -p smradius < smradius.mysql |
| - | | + | </ |
| - | | + | |
| - | cp -r cbp / | + | Adjust smradiusd.conf to reflect your database details. |
| - | cp -r awitpt/ | + | |
| - | | + | Copy the webgui/ & webui/ directories to your http directory and alter webgui/ |
| - | | + | |
| - | cp smradiusd / | + | Copy the smradius/ & awitpt/ directories into / |
| - | | + | |
| - | | + | < |
| - | mkdir / | + | mkdir / |
| - | | + | cp -r smradius |
| - | | + | cp -r awitpt/ |
| - | | + | </ |
| + | |||
| + | Copy smradiusd and smadmin into / | ||
| + | |||
| + | < | ||
| + | cp smadmin / | ||
| + | cp smradiusd / | ||
| + | </ | ||
| + | |||
| + | Setup system dirs: | ||
| + | |||
| + | < | ||
| + | mkdir / | ||
| + | mkdir / | ||
| + | </ | ||
| + | |||
| + | If you are running smradius as an unprivileged user: | ||
| + | |||
| + | < | ||
| + | chown smradius.smradius / | ||
| + | </ | ||
| + | |||
| + | You can now browse to the web interface and configure. | ||