]> jfr.im git - irc/quakenet/newserv.git/blame_incremental - INSTALL
Merge.
[irc/quakenet/newserv.git] / INSTALL
... / ...
CommitLineData
1newserv Installation
2~~~~~~~~~~~~~~~~~~~
3
4In order to install newserv you will have to run the configure script:
5
6$ ./configure
7
8The configure script will list any missing dependencies. If you're unsure why
9a certain library or header file was not found you can run the configure script
10with the -v option or check the .configure.log file after your first configure
11run.
12
13Please refer to the "Local Settings" section in this file if you're using
14non-standard library/header search paths. Once you've resolved all dependency
15issues you can build newserv:
16
17$ make
18
19This might take a while. After all modules are built you can install newserv:
20
21$ make install
22
23By default the newserv binary and the modules are installed into your source
24tree. The recommended setup is to now create a separate directory and symlink
25the "newserv" binary and the "modules" directory into it:
26
27$ cd
28$ mkdir newserv-install && cd newserv-install
29$ ln -s ../newserv-src/newserv
30$ ln -s ../newserv-src/modules
31
32You will also need to copy the newserv.conf.example configuration file to your
33installation directory and rename it to newserv.conf. The MODULES file has a
34list of available modules and their configuration settings.
35
36After you have updated your newserv.conf file you can start newserv:
37
38$ ./newserv
39
40newserv does not detach from the console. Consider running it in a
41screen(1) session.
42
43User Accounts
44~~~~~~~~~~~~
45
46You can create a user on your control instance using /msg N hello (where N is
47the nick of your control user). You need to be opered and authed in order to
48use this command.
49
50If your network does not have an authentication service that supports account
51IDs you can load the "auth" module. Note that this module lets opers set
52arbitrary account names and IDs and therefore should probably not be loaded on
53production networks.
54
55Once you have an account you should have a look at /msg N showcommands for a
56list of available commands.
57
58Local Settings
59~~~~~~~~~~~~~
60
61If you are using non-standard library/include paths you can create a file
62called configure.ini.local (using configure.ini.local.example as a template) to
63override some of the settings.
64
65Workspaces
66~~~~~~~~~
67
68If you're planning to write your own modules you might consider using
69workspaces.
70
71For this to work you will need to create a directory for your modules:
72
73$ mkdir custom
74
75Create a skeleton configure.ini in your new module directory:
76
77[modules]
78mymodule=
79
80And finally add your workspace to the workspaces.ini file:
81
82[workspaces]
83custom=
84
85You will need to re-run configure for it to pick up your new workspace and
86whatever modules you have in it.