This guide should help you install ngircd (an irc server) on Ubuntu Dapper. To do this we will need a text editor, apt-get and access to the internet. The text editor I use is vim, if you prefer something else such as gedit, kate or nano just use the command for that editor wherever I use vim.
The first thing you need to do is install the package
Code:
sudo apt-get install ngircd
Then you need to configure it but before we can do this we need to chmod some stuff so get your chmodding shoes on and
Code:
sudo chmod a+rwx -R /etc/ngircd
and then take your chmodding shoes off again and get your configurating gloves on and
Code:
sudo vim /etc/ngircd.conf
and you are ready to configure your server.
Set the name to something you want to use - It's displayed before the motd when you connect
Set the info - just like name its displayed when you connect
Set up your admin details etc in the obvious area.
You can leave ports alone and use them easily enough - change them if you have a reason.
The rest can be left unless you are desperate to change it. If you only want to use it on your local network then change the Listen line.
You can also set a limit on the users if you wish.
Now scroll right down and set up a channel to talk in.
Finally save and close the file and open the motd file
Code:
sudo vim /etc/ngircd/ngircd.motd
And set up your message of the day.
Once the server is configured you will probably want to start it on boot but on ubuntu this is currently broken so to fix this we need to
Code:
sudo vim /etc/init.d/ngircd
then change line 20 so that it reads " --pidfile /var/run/ngircd.pid \" (notice that the ngircd directory has been removed from the path). This done save and close and run:
Code:
update-rc.d ngircd defaults
This is all I have done with my server so I can't help much more but have fun.
Oh, and don't forget to forward ports on your router if you want to give access to the world beyond your network
To undo the changes you have made you just need to stop the irc daemon and uninstall it. The following command stops the irc daemon.
Code:
sudo /etc/init.d/ngircd stop
and you can then remove the ngircd program choosing to keep or remove the config files.
To keep them:
Code:
sudo apt-get remove ngircd
To remove them:
Code:
sudo apt-get remove --purge ngircd
Bookmarks