The above link also shows any dependencies you may need to install separately. I was missing a few, solved with...
sudo apt-get install libtre5 libpq5 libmysqlclient18then installed Inspircd
sudo dpkg -i inspircd_2.0.5-1_amd64.debFirst you need to edit /etc/default/inspircd and change the '0' to '1'
The main config file to edit is /etc/inspircd/inspircd.conf You'll want to configure this to setup some basic info, like change the <bind> tag to listen on an ip other than "127.0.0.1". "" will default to all network interfaces, and then set the port to listen to.
At this point, you can run the Inspircd daemon
sudo service inspircd startNext will secure the chat client port to use the SSL cert for the server. I store the SSL certs with my nginx server in /etc/nginx/certs.
First you need to tell Inspircd to load the gnutls module and point to your certs, by editing /etc/inspircd/inspircd.conf and adding:
<module name="m_ssl_gnutls.so">If you want, you can create a self-signed cert, and use that, but clients will need to be told to ignore invalid certs.
<gnutls certfile="/etc/nginx/certs/server.crt" keyfile="/etc/nginx/certs/server.key">
Next, change your client's bind tag to something like:
<bind address="" port="5309" type="clients" ssl="gnutls">To add LDAP authentication, you need to load the ldapauth module and point to your ldap server, by editing /etc/inspircd/inspircd.conf and adding:
<module name="m_ldapauth.so">To connect this server to another server, you need to <bind> a port as type server,
<ldapauth baserdn="ou=People,dc=domain,dc=com"
attribute="uid"
server="ldap://localhost"
allowpattern="Guest*"
killreason="Access denied"
searchscope="subtree"
binddn=""
bindauth=""
verbose="yes"
userfield="yes">
<bind address="" port="9799" type="servers">setup a <link> section to define the server connection. The same thing needs to be setup on the other server to be connected.
<link name="irc.otherdomain.com"Lastly, one of the two servers can be set to <autoconnect> to avoid manually maintaining the connection.
ipaddr="irc.otherdomain.com"
port="9799"
sendpass="secret"
recvpass="secret">
<autoconnect period="60" server="irc.otherdomain.com">
Part 2 of this blog entry will setup the web interface
No comments:
Post a Comment