Tip:
Highlight text to annotate it
X
just making a quick video to show you how to install tactile version 1.1.83
onto a Raspberry Pi 3 B in this case I'll have all the commands in this video
on a blog post and I'll link it below the video if you're on YouTube so yeah
cacti version 1.1.83 not the normal version of cacti that comes
if you just do a sudo apt-get install cacti
I think it's 0.8.8 at the moment so this is
installing a newer version from somewhere else or a different repository
or repo where we're going so I'm running Raspian stretch Lite on this
Raspberry PI that I've got I've already *** this raspberry pi well it's got
a static IP you can see that in a previous video this particular version
is the one that was released on June 27th 2018 so they may have fixed some of
these things in the future release and they may not have I don't don't know if
they will or not anyway let's get going so there's actually three distinct
components that we actually need to do to install cacti first thing is we need
to install some missing package that handles keys and then we need to or
certificates in case and then we need to add some key servers and then we need to
add the repository before installing it it's almost four steps I guess depends how you count.
okay so first of all let's install this missing component sudo apt-get
install and it's dirmngr and this is a sort of software package that's used
for downloading and maintaining certificates and revoking certificates
and stuff like that so you need this to be able to install some certificate
servers
great so now that's installed we can add some key servers and then some keys and
certificates etc to our raspberry PI so let's have a look at what we've got
installed so far so sudo apt-key list this should give us a list of
certificates or keys that are already on our machine so now we need to add our
key servers so I'm gonna add Ubuntu's key servers it's a Debian
distribution Ubuntu is a another Debian distribution or another distribution based
on Debian so it doesn't really matter so let's just add these. I'm probably
gonna copy this wrong, but you can just copy and paste them
so that is actually the only key or the only key server we need to
pull keys from because our back ports is actually going to be debian stretch so
we shouldn't meet the others so that's good
the next thing we need to do is we need to add the repo to our machine so
we need to sudo nano or other text editor of choice and then a source is
sources.list and then in this file we need to add a line deb http://ftp.debian.org.uk/debian and we
want to add the stretch back ports and I'm gonna go for main that you could have
contrib on free or whatever you want so that's goos, lets write that file which
is control+o and control+x to close and then we need to do the
sudo apt-get update now we should have seen the new repo being queried so yeah
there we go FTP.debian.org
so we've now got an error and this is because we haven't installed with the
right key server so maybe we do need or one of the other key servers so there's
no public key here this 5553 ending one here we can add that key server so
sudo apt-key ... want to put in this this public key into
here so 8b48ad....
would help if i could spell or type
great so we should now have an updated list of packages that we can install and
now we just need to install into sudo apt-get install but now we need to
specify which which repo we want to go to so stretch backports and then we
just so original cacti, yes we wish to continue and this probably will take
quite some time to install
so it will ask us which web server we want to use we're going to use Apache2
so also getting me tell it which database to use or you can tell it
carry on with whatever it's doing give it the password
groovy so I left that overnight because it got kind of stuck on population
database fire SQL but it seems to have finished itself and then disconnected
overnight so if we now go to get rid of this we now go to cacti we should see
that it's there so we can login using admin and the password we set up and we
can now see that cacti version 1.1.38 has been installed
on this raspberry pi so after this point yeah you just got to
configure it and where you go
thanks for watching