update INSTALL and README.rst for v3
authorMatthew Newton <mcn4@leicester.ac.uk>
Fri, 12 Jul 2013 12:43:28 +0000 (13:43 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 12 Jul 2013 13:29:37 +0000 (14:29 +0100)
INSTALL
README.rst

diff --git a/INSTALL b/INSTALL
index 76d22a7..06134a4 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,6 +1,13 @@
-1. INSTALLATION
+1. INTRODUCTION
 
-  Ignore this file if you have a pre-installed binary package.
+  Ignore the installation instructions in this file if you have a
+pre-installed binary package.  When upgrading from older versions of
+FreeRADIUS, you should read ALL of this file, especially the section
+on "UPGRADING" below which gives information on how to update your
+configuration.
+
+  Whether you are installing from source or a pre-built binary
+package, you should read the section below "RUNNING THE SERVER".
 
 
 2. SIMPLE INSTALLATION
@@ -23,48 +30,7 @@ needs for EAP.
 account.
 
 
-3. UPGRADING
-
-  The installation process will not over-write your existing
-configuration files.  It will, however, warn you about the files it
-did not install.
-
-  For users upgrading from 1.x to 2.0, we STRONGLY recommend that 2.0
-be installed in a different location than the existing 1.x
-installation.  Any local policies can then be migrated gradually to
-the new 2.0 configuration.  While we have put a lot of time into
-ensuring that 2.0 is mostly backwards compatible with 1.x, it is not
-COMPLETELY backwards compatible.  There are differences that mean it
-is simpler and safer to migrate your configurations.
-
-  If you are upgrading an existing installation, please be aware that
-at least one default virtual server SHOULD be used.  If you don't need
-virtual servers, your configuration can remain mostly unchanged.
-
-  If you do need virtual servers, we recommend creating a default one
-by editing radiusd.conf, and wrapping all of the authorize,
-authenticate, etc. sections in one server block, as follows:
-
-...
-  server {     # line to add
-       authorize {
-               ...
-       }
-       authenticate {
-               ...
-       }
-       accounting {
-               ...
-       }
-       ...
-       post-proxy {
-               ...
-       }
-  }            # matching line to add
-...
-
-
-4. CUSTOM INSTALLATION
+3. CUSTOM INSTALLATION
 
   FreeRADIUS has autoconf support. This means you have to run
 ./configure, and then run make.  To see which configuration options
@@ -73,16 +39,17 @@ following list is a selection from the available flags:
 
   --enable-shared[=PKGS]  build shared libraries [default=yes]
   --enable-static[=PKGS]  build static libraries [default=yes]
-  --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]
   --with-logdir=DIR       Directory for logfiles [LOCALSTATEDIR/log] 
   --with-radacctdir=PATH  Directory for detail files [LOGDIR/radacct] 
   --with-raddbdir=DIR     Directory for config files [SYSCONFDIR/raddb] 
   --with-threads          Use threads, if available.  (default=yes) 
   --with-snmp             Compile in SNMP support. (default=yes)
-  --disable-ltdl-install  Do not install libltdl
-  --with-experimental-modules      Use experimental and unstable modules. (default=no) 
+  --with-dhcp             Compile in DHCP support. (default=yes)
+  --with-experimental-modules      Use experimental and unstable
+                              modules. (default=no) 
   --enable-developer      Turns on super-duper-extra-compile-warnings
-                              when using gcc.
+                              when using gcc, as well as
+                              experimental modules.
   --with-edir             Compile with support for Novell eDirectory
                               integration.
 
@@ -96,27 +63,49 @@ be installed.  If you already have a RADIUS server installed, then
   The "make install" process will warn you about the files it could
 not install.
 
-  If you DO see a warning message about files that could not be
-installed, the it is YOUR RESPONSIBILITY to ensure that the new server
-is using the new configuration files, and not the old configuration
-files.  You may need to manually 'diff' the files.  There MAY be
-changes in the dictionary files which are REQUIRED for a new version
-of the software.  These files will NOT be installed over your current
+  If you see a warning message about files that could not be
+installed, then you MUST ensure that the new server is using the new
+configuration files, and not the old configuration files.  The initial
+output from running in debugging mode (radiusd -X) will tell you which
+configuration files are being used.  See UPGRADING above for
+information about upgrading from older versions.  There MAY be changes
+in the dictionary files which are REQUIRED for a new version of the
+software.  These files will NOT be installed over your current
 configuration, so you MUST verify and install any problem files by
-hand.
+hand, for example using diff(1) to check for changes.
 
   It is EXTREMELY helpful to read the output of both 'configure',
 'make', and 'make install'.  If a particular module you expected to be
 installed was not installed, then the output of the
 'configure;make;make install' sequence will tell you why that module
 was not installed.  Please do NOT post questions to the FreeRADIUS
-users list without carefully reading the output of this process.
+users list without first carefully reading the output of this process.
+
+
+4. UPGRADING
 
+  The installation process will not over-write your existing
+configuration files.  It will, however, warn you about the files it
+did not install.
+
+  For users upgrading from any older version to 3.0, it is *NOT*
+possible to use the older configuration as-is. However, the version
+2.x configuration is largely compatible, so upgrading the
+configuration should not be too difficult.  For details on what has
+changed, see raddb/README.rst
 
-2. RUNNING THE SERVER
+  We STRONGLY recommend that 3.0 be installed in a different location
+than any existing 1.x or 2.x installation.  Any local policies can
+then be migrated gradually to the new 3.0 configuration.  The number
+of differences in the new configuration mean that is is both simpler
+and safer to migrate your configurations rather than to try and just
+get the old configuration to work.
+
+
+5. RUNNING THE SERVER
 
   If the server builds and installs, but doesn't run correctly, then
-you may use debugging mode (radiusd -X) to figure out the problem. 
+you should use debugging mode (radiusd -X) to figure out the problem. 
 
   This is your BEST HOPE for understanding the problem.  Read ALL of
 the messages which are printed to the screen, the answer to your
@@ -132,8 +121,8 @@ configuration files as appropriate.
   If you don't use debugging mode, and ask questions on the mailing
 list, then the responses will all tell you to use debugging mode.  The
 server prints out a lot of information in this mode, including
-suggestions for fixes to common problems.  Look for "WARNING" in the
-output, and read the related messages.
+suggestions for fixes to common problems.  Look especially for
+"WARNING" in the output, and read the related messages.
 
    Since the main developers of FreeRADIUS use debugging mode to track
 down their configuration problems with the server, it's a good idea
@@ -160,9 +149,18 @@ response within a few seconds.  It doesn't matter if the
 authentication request is accepted or rejected, what matters is that
 the server received the request, and responded to it.
 
-  You can now edit the 'radiusd.conf' file for your local system.
-Please read the ENTIRE file carefully, as many configuration options
-are only documented in comments in the file.
+  You can now edit the configuration files for your local system. You
+will usually want to start with sites-enabled/default. To set which
+NASes (clients) can communicate with this server, edit clients.conf.
+Please read the configuration files carefully, as many configuration
+options are only documented in comments in the file.
+
+  Note that is is HIGHLY recommended that you use some sort of version
+control system to manage your configuration, such as git or
+Subversion. You should then make small changes to the configuration,
+checking in and testing as you go. When a config change causes the
+server to stop working, you will be able to easily step back and find
+out what update broke the configuraiton.
 
   Configuring and running the server MAY be complicated.  Many modules
 have "man" pages.  See "man rlm_pap", or "man rlm_*" for information.
@@ -171,3 +169,4 @@ the configuration files also contain a lot of documentation.
 
   If you have any additional issues, the FAQ is also a good place to
 check.
+
index ae276b5..c37d3b7 100644 (file)
@@ -24,21 +24,14 @@ Directory, OpenLDAP, and many more.  It is used daily to authenticate
 the Internet access for hundreds of millions of people, in sites
 ranging from 10 users, to 10 million and more users.
 
-Version 2.0 of the server is intended to be backwards compatible
-with previous versions, but also to have many new features, such as:
-
-* simple policy language (see ``man unlang``)
-* virtual servers (raddb/sites-available/README)
-* IPv6 support
-* better proxy support (raddb/proxy.conf)
-* More EAP types
-* Debugging output should be MUCH easier to understand
-* VMPS support
-* More modules are marked "stable" (python, etc.)
-* SQL configuration has been cleaned up (see raddb/sql/*)
-* limited support for HUP
-* check configuration and exit (``radiusd -C``)
-* Server core is now event based (simpler, more powerful)
+Version 3.0 of the server is largely compatible with version 2.x, but
+we highly recommend that you recreate your configuration, rather than
+trying to get the older configuration to work.
+
+For a list of changes in version 3.0, please see doc/ChangeLog.
+
+See raddb/README.rst for information on what to do to update your
+configuration.
 
 Administrators upgrading from a previous version should install this
 version in a different location from their existing systems.  Any
@@ -46,31 +39,6 @@ existing configuration should be carefully migrated to the new
 version, in order to take advantage of the new features which can
 greatly simply configuration.
 
-While every attempt has been made to ensure that this version is
-backwards compatible with previous versions, there may be cases where
-it is not backwards compatible.  In most cases, incompatibilities are
-a side-effect of fixing bugs, or of adding new features.  Some
-configuration differences are noted below:
-
-* The recommended format for clients has changed.  See "clients.conf".
-  The old format should still work, but should be changed to use the
-  new format.
-
-* The recommended formant for realms has changed.  See "proxy.conf"
-  The old format should still work, but should be changed to use the
-  new format.  In addition, the new format has much more flexibility.
-
-* Any configuration using TTLS or PEAP should be updated to use
-  virtual servers. See "virtual_server" in "eap.conf", and
-  "raddb/sites-available/inner-tunnel".  In most cases, using an
-  "inner-tunnel" virtual server will make the configuration MUCH
-  simpler.
-
-* A number of deprecated command-line options have been removed.
-  (``-y -z -A -l -g``) See "man radiusd".  These configurations can be
-  controlled in "radiusd.conf", so it is not necessary to have them
-  as command-line options.
-
 Please see http://freeradius.org and http://wiki.freeradius.org for
 more information.