summaryrefslogtreecommitdiff
path: root/docs/INSTALL
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-21 17:12:47 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-21 17:12:47 +0000
commit984677b5a41ae90da7cde78a0ed577df9c293977 (patch)
treef4145ad894191be938eb55af505cba7e4aff1656 /docs/INSTALL
parent1ee7364fb32fb7e1214f4e51562878faf287d029 (diff)
BUILD : 1.7.8 (578) BUGS : NOTES : Updates of documentation (BUGS, IRCD, EVENTS, MYSQL, INSTALL, MODULES, DEFCON) for one style and some smaller fixes and updates.
git-svn-id: svn://svn.anope.org/anope/trunk@578 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@428 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'docs/INSTALL')
-rw-r--r--docs/INSTALL278
1 files changed, 140 insertions, 138 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index 2c1cd3883..634560f61 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -1,182 +1,184 @@
-ANOPE INSTALLATION INSTRUCTIONS
-===============================
-
-Table of contents
------------------
- 1. Installing Anope
- 2. Upgrading Anope
- 3. Setting up the IRCd
- 4. Starting Anope
- 5. Setting up a crontab
+Anope Installation Instructions
+-------------------------------
+
+1) Installing Anope
+2) Upgrading Anope
+3) Setting up the IRCd
+4) Starting Anope
+5) Setting up a crontab
-You should also read the README and FAQ files!
+Note: You should also read the README and FAQ files!
-1. Installing Anope
--------------------
+1) Installing Anope
-IMPORTANT NOTE: it is not recommended to use (and therefore install)
-Anope as root. Use an unprivileged user instead -- the one you're
-using for the ircd or a dedicated one will be good enough.
+ IMPORTANT NOTE: it is not recommended to use (and therefore install)
+ Anope as root. Use an unprivileged user instead -- the
+ one you're using for the ircd or a dedicated one will
+ be good enough.
-The very first thing you need to do is to get the Anope package
-(if not already done). You can find it at the following place:
+ The very first thing you need to do is to get the Anope package (if not
+ already done). You can find it at:
- http://www.anope.org/
-
-Next, unpack the package in your home directory, and go into the
-created directory.
-
-Now type ./Config to start the configuration script. It will
-ask you a few questions, and figure out how to compile Anope on
-your system. If you are unsure about the answer to a question,
-use the default value.
+ http://www.anope.org/
+
+ Next, unpack the package in your home directory, and go into the created
+ directory.
+
+ Now type ./Config to start the configuration script. It will ask you a
+ few questions, and figure out how to compile Anope on your system. If
+ you are unsure about the answer to a question, use the default value.
+
+ NOTE: although you may specify different binary and data paths, it is
+ RECOMMENDED that you use the same value for both.
+
+ You can now type make to compile Anope. If there are errors in the
+ Makefile, *try to use gmake* instead. If it still doesn't work, you (or
+ the system administrator if it's a shell) must install GNU make. You may
+ find it at ftp://prep.ai.mit.edu/pub/gnu/.
-NOTE: although you may specify different binary and data paths,
- it is RECOMMENDED that you use the same value for both.
+ Now type make install (or gmake install; see above). This will install
+ all the needed files in the paths you specified with the configure
+ script, and setup file permissions. You should ensure that the data
+ directory is not accessible by other users, as malicious users may
+ cause troubles on your network if passwords are not encrypted, or read
+ the memos of any user.
-You can now type make to compile Anope. If there are errors in the
-Makefile, *try to use gmake* instead. If it still doesn't work, you
-(or the system administrator if it's a shell) must install GNU
-make. You may find it at ftp://prep.ai.mit.edu/pub/gnu/.
+ If you see errors during this process, please mail us with the *complete*
+ error output, and don't forget to mention your OS, compiler and C library
+ versions.
-Now type make install (or gmake install; see above). This will
-install all the needed files in the paths you specified with the
-configure script, and setup file permissions. You should ensure
-that the data directory is not accessible by other users, as malicious
-users may cause troubles on your network if passwords are not
-encrypted, or read the memos of any user.
+ Now go into the data directory (by default, ~/services). Copy the example
+ configuration file (example.conf) to services.conf, and open the latter
+ with your favorite text editor. It contains all the configuration
+ directives Anope will use at startup. Read the instructions contained in
+ the file carefully. Using the default values is NOT a good idea, and will
+ most likely not work!
-If you see errors during this process, please mail us with the
-*complete* error output, and don't forget to mention your OS,
-compiler and C library versions.
+ If you need help, you should subscribe to the Anope mailing list and mail
+ there to get help from other users. See the README file for more
+ information.
-Now go into the data directory (by default, ~/services). Copy the
-example.conf file to services.conf, and open the latter with your
-favorite text editor. It contains all the configuration
-directives Anope will use at startup. Read the instructions contained
-in the file carefully. Using the default values is NOT a good idea,
-and will most likely not work!
+2) Upgrading Anope
-If you need help, you should subscribe to the Anope mailing list and
-mail there to get help from other users. See the README file for more
-information.
+ If you got a .diff file and want to patch the old Anope sources with it,
+ do the following:
+ * Copy the .diff file into the root Anope sources directory.
+ * Type patch -p1 <file.diff
-2. Upgrading Anope
-------------------
+ Note that upgrading anope with a patchfile isn't recommended. You should
+ download a new, clean source package, as this will give the best results.
-If you got a .diff file and want to patch the old Anope sources with it, do
-the following:
- * Copy the .diff file into the root Anope sources directory.
- * Type patch -p1 <file.diff
+ To upgrade Anope, just follow the installation instructions described in
+ section 1. There are however a few specific guidelines:
-To upgrade Anope, just follow the installation instructions described in
-section 1. There are however a few specific guidelines:
+ * IMPORTANT: Back up your old databases!
+ * If you are upgrading to a new major release, ALWAYS restart a
+ fresh configuration file from example.conf.
- * IMPORTANT: Back up your old databases!
- * If you are upgrading to a new major release, ALWAYS restart a
- fresh configuration file from example.conf.
+3) Setting up the IRCd
+ Services acts as an IRC server with pseudo-clients on it. To link them to
+ your network, you'll need to add some lines in the ircd.conf of their hub
+ server (as stated in the RemoteServer configuration directive).
-3. Setting up the IRCd
-----------------------
+ For samples below we'll take services.localhost.net as the name of the
+ Services (as stated in the ServerName configuration directive). Note that
+ this samples are made to be as generic as possible, but there might be
+ small variations, depending on your IRCd. For IRCd-specific help with
+ configuration, read near the end of this section.
-Services acts as an IRC server with pseudo-clients on it. To link
-them to your network, you'll need to add some lines in the ircd.conf
-of their hub server (as stated in the RemoteServer configuration
-directive).
+ First, the C/N lines, that allow Services to link. They also need a
+ Y:line to work correctly.
-For samples below we'll take Services.LocalHost.Net as the name of
-the Services (as stated in the ServerName configuration directive).
+ Y:27:180:0:0:4000000
+ C:127.0.0.1:mypass:services.localhost.net::30
+ N:127.0.0.1:mypass:services.localhost.net::30
-First, the C/N lines, that allow Services to link. They also need a
-Y:line to work correctly.
+ "mypass" is the same password you mentioned in the RemoteServer
+ configuration directive. 127.0.0.1 is the IP from which Services connect
+ from (linking in localhost is the most efficient way to run Services).
-Y:27:180:0:0:4000000
-C:127.0.0.1:mypass:Services.LocalHost.Net::30
-N:127.0.0.1:mypass:Services.LocalHost.Net::30
+ Then, you have to set-up an U:line, that will allow Services to change
+ channel modes, topics, and much more without being opped in the channel.
-mypass is the same password you mentioned in the RemoteServer
-configuration directive. 127.0.0.1 is the IP from which Services
-connect from (linking in localhost is the most efficient way
-to run Services).
+ U:services.localhost.net:*:*
-Then, you have to set-up an U:line, that will allow Services to
-change channel modes, topics, and much more without being opped
-in the channel.
+ NOTE: if you have more than one server in your network, this line MUST
+ be added on ALL servers, or things won't work correctly.
-U:Services.LocalHost.Net:*:*
+ Finally, you'll need to add an H:line, to make the OperServ JUPE command
+ work correctly.
-NOTE: if you have more than one server in your network, this line
-MUST be added on ALL servers, or things won't work.
+ H:*::Services.LocalHost.Net
-Finally, you'll need to add an H:line, to make the OperServ JUPE
-command work correctly.
+ Don't forget to /rehash your IRCd to apply changes.
-H:*::Services.LocalHost.Net
+ A new trend in ircd configuration is popping all over the place, good
+ examples are the latest Hybrid, Unreal and Bahamut, which use a more
+ "readable" form of configuration. For those, use something like:
-Don't forget to /rehash to apply changes.
+ link services.localhost.net
+ {
+ username *;
+ hostname localhost;
+ bind-ip *;
+ port 6667;
+ hub *;
+ password-connect "mypass";
+ password-receive "mypass";
+ class servers;
+ };
-A new trend in ircd configuration is popping all over the place,
-good examples are the latest Hybrid and Unreal, which use a more
-"readable" for of configuration. For those, use something like:
+ Note that this block-style configuration files differ heavily, depending
+ on the IRCd. Consult the interactive link maker (link is below) for more
+ details on the exact configuration used by your IRCd.
-link Services.LocalHost.Net
-{
- username *;
- hostname localhost;
- bind-ip *;
- port 6667;
- hub *;
- password-connect "mypass";
- password-receive "mypass";
- class servers;
-};
+ If you're unable to get a link with your IRCd after reading this section,
+ you might try the interactive link maker, which is located at:
-If you're unable to get a link with your IRCd after reading this section,
-you might try the interactive link maker, which is located at:
+ http://heinz.anope.org/ilm.php
- http://heinz.anope.org/ilm.php
+4) Starting Anope
+ Go into the directory where binaries were installed (by default, this is
+ ~/services). Type ./services to launch Anope.
-4. Starting Anope
------------------
+ If there are syntax errors in the configuration file they will be
+ displayed on the screen. Correct them until there are no errors anymore.
+ A successful startup won't generate any message.
-Go into the directory where binaries were installed (by default,
-~/services). Type ./services to launch Anope.
+ Give Services at least one minute to link to your network, as certain
+ IRCds on some OSes may be really slow for the link process. If nothing
+ happens after about a minute, it is probably a configuration problem. Try
+ to launch Anope with ./services -debug -nofork to see any errors that it
+ encounters, and try to correct them.
-If there are syntax errors in the configuration file they will be
-displayed on the screen. Correct them until there are no errors
-anymore. A successful startup won't generate any message.
+ If you need help to solve errors, feel free to subscribe to the Anope
+ mailing list and ask there. See the README file for details.
-Give to Services at least one minute to link to your network, as
-certain IRCds on some OSes may be really slow for the link process.
-If nothing happens then, it is probably a configuration problem.
-Try to launch Anope with ./services -debug -nofork to see any errors
-that it encounters, and try to correct them.
+5) Setting up a crontab
-If you need help to solve errors, feel free to subscribe to the
-Anope mailing list and ask there. See the README file for details.
+ A crontab entry will allow you to check periodically whether Anope is
+ still running, and restart it if not. You'll need to have Anope binaries
+ and data installed in the same directory for this to work without
+ modification.
+ First rename the example.chk script that is in Anope path (by default,
+ this is ~/services) to services.chk and edit it. You'll need to modify
+ the CONFIGURATION part of the file. Then ensure that the file is marked
+ as executable by typing chmod +x services.chk, and try to launch the
+ script to see if it works (Anope must not be running when you do this ;))
-5. Setting up a crontab
------------------------
+ When this is done, you'll have to add the crontab entry. Type crontab -e.
+ This will open the default text editor with the crontab file. Enter the
+ following (with correct path):
-A crontab entry will allow you to check periodically whether Anope
-is still running, and restart it if not. You'll need to have
-Anope binaries and data installed in the same directory for this to
-work without modification.
+ */5 * * * * /home/ircd/services/services.chk >/dev/null 2>&1
-First rename the example.chk script that is in Anope path (by default,
-~/services) to services.chk and edit it. You'll need to modify the
-CONFIGURATION part of the file. Then ensure that the file is marked as
-executable by typing chmod +x services.chk, and try to launch the script
-to see if it works (Anope must not be running when you do this ;).
+ The */5 at the beginning means "check every 5 minutes". You may replace
+ the 5 with other another number if you want (but less than 60). Consult
+ your system's manual pages for more details on the syntax of the crontab
+ file. Interesting manpages are crontab(5), crontab(1) and cron(8).
-When this is done, you'll have to add the crontab entry. Type crontab -e.
-This will open the default text editor with the crontab file. Enter the
-following (with correct path):
-*/5 * * * * /home/ircd/services/services.chk >/dev/null 2>&1
-The */5 at the beginning means "check every 5 minutes". You may replace
-the 5 with other another number if you want (but less than 60).
-Save and exit, and it's installed.
+ Save and exit, and it's installed.