]> jfr.im git - irc/quakenet/newserv.git/blame - INSTALL
trojanscan: Fix missing gline mask.
[irc/quakenet/newserv.git] / INSTALL
CommitLineData
d1b8e200
GB
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
4af4ef24
GB
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:
d1b8e200
GB
16
17$ make
18
4af4ef24 19This might take a while. After all modules are built you can install newserv:
d1b8e200
GB
20
21$ make install
22
4af4ef24
GB
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:
d1b8e200
GB
26
27$ cd
28$ mkdir newserv-install && cd newserv-install
d1b8e200
GB
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
4af4ef24
GB
33installation directory and rename it to newserv.conf. The MODULES file has a
34list of available modules and their configuration settings.
d1b8e200
GB
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
4af4ef24
GB
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
91e81150
GB
58Local Settings
59~~~~~~~~~~~~~
d1b8e200
GB
60
61If you are using non-standard library/include paths you can create a file
4af4ef24
GB
62called configure.ini.local (using configure.ini.local.example as a template) to
63override some of the settings.
d1b8e200
GB
64
65Workspaces
66~~~~~~~~~
67
91e81150 68If you're planning to write your own modules you might consider using
4af4ef24 69workspaces.
d1b8e200
GB
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
4af4ef24
GB
85You will need to re-run configure for it to pick up your new workspace and
86whatever modules you have in it.