From 1875143a4582b48921c2e6db8c337cc8668031c3 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Wed, 10 Jun 2015 12:56:09 +0300 Subject: [PATCH] blog: instaling ZNC on Ubuntu using PPA --- _posts/2015-05-10-znc-ubuntu.md | 42 +++++++++++++++++++++++++++++++++ pages/irc.markdown | 1 + 2 files changed, 43 insertions(+) create mode 100644 _posts/2015-05-10-znc-ubuntu.md diff --git a/_posts/2015-05-10-znc-ubuntu.md b/_posts/2015-05-10-znc-ubuntu.md new file mode 100644 index 0000000..0ff9fc4 --- /dev/null +++ b/_posts/2015-05-10-znc-ubuntu.md @@ -0,0 +1,42 @@ +--- +layout: post +comments: true +title: "Installing ZNC on Ubuntu from PPA" +category: [english] +tags: [irc, english] +--- + +*Many people seem to be installing ZNC using some weird instructions and + don't ever upgrade after that. This is yet another unofficial install + guide, but with this you should be able to upgrade too.* + +**This is not the official install guide, if you are looking for that, +[click here.](http://wiki.znc.in/Installation)** *You will find these +same instructions there too though.* + +Step 0: If you had already installed ZNC from source, go to the source +directory and run `make uninstall` or `sudo make uninstall` if needed. + +[Thomas Ward](https://launchpad.net/~teward) has PPA which usually includes +the latest version of ZNC for [supported Ubuntu releases](https://wiki.ubuntu.com/Releases) +and this guide uses it. + +1. Install required package for adding PPAs: `sudo apt-get install python-software-properties` +2. Add the PPA `sudo add-apt-repository ppa:teward/znc` +3. Refresh list of packages in the repos `sudo apt-get update` +4. If you had installed ZNC from Ubuntu repositories, now you could run + `sudo apt-get upgrade`, otherwise finally install ZNC with + `sudo apt-get install znc`. + +ZNC is now installed. If you had it running before installing from PPA, +you should restart it especially if it was different version than what the +PPA has. + +Now you can either (new ZNC user) run `znc --makeconf` to create config +file and then (existing ZNC user) run `znc` and your ZNC starts listening +on where you told it to listen. + +You might also want to read: + +* [FAQ](http://wiki.znc.in/FAQ) + * [Automatic restart in case of X (crontab)](http://wiki.znc.in/FAQ#How_can_I_restart_ZNC_automatically_.28in_case_of_a_machine_reboot.2C_crash.2C_etc..29.3F) diff --git a/pages/irc.markdown b/pages/irc.markdown index 3f942b1..68651c6 100644 --- a/pages/irc.markdown +++ b/pages/irc.markdown @@ -42,6 +42,7 @@ links.* * ZNC * [ZNC 1.6.0 & SSL certificate verification]({% post_url 2015-02-24-znc160-ssl %}) * [My config]({% post_url 2015-04-01-my-znc-config %}) + * [Installing ZNC on Ubuntu using PPA]({% post_url 2015-05-10-znc-ubuntu %}) * * * * *