Ubuntu 12.04 apt-get
Moderators: Developers, Moderators
Ubuntu 12.04 apt-get
Hello,
First of all i`m a complete n00b.
i`m trying to install cacti on my new fresh ubuntu 12.04 server.
So i do sudo apt-get install cacti.
It works fine! Except that it installs cacti 0.8.7 and not 0.8.8...
How can i get 0.8.8 installed with apt-get...
thanks!
First of all i`m a complete n00b.
i`m trying to install cacti on my new fresh ubuntu 12.04 server.
So i do sudo apt-get install cacti.
It works fine! Except that it installs cacti 0.8.7 and not 0.8.8...
How can i get 0.8.8 installed with apt-get...
thanks!
Re: Ubuntu 12.04 apt-get
That's easy. Create an apt repo, download cacti 8.8, compile it and add it to your apt repo. Then, point your server to your apt repo, and voila...
I did the same thing with yum on Redhat. I setup my own yum repo.
Works great!
I did the same thing with yum on Redhat. I setup my own yum repo.
Works great!
Re: Ubuntu 12.04 apt-get
lol and you started with: "That's easy" ehu???????dylan650 wrote:That's easy. Create an apt repo, download cacti 8.8, compile it and add it to your apt repo. Then, point your server to your apt repo, and voila...
I did the same thing with yum on Redhat. I setup my own yum repo.
Works great!
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Ubuntu 12.04 apt-get
Have a look at my signature.hdejongh wrote:How can i get 0.8.8 installed with apt-get...
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Ubuntu 12.04 apt-get
hi i have Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-53-generic x86_64)
i did
root@merkur:~# sudo add-apt-repository ppa:paul-climbing/cacti
than
root@merkur:~# sudo apt-get update
but got this errors...
please help. how to install from repo? thanks
i did
root@merkur:~# sudo add-apt-repository ppa:paul-climbing/cacti
Code: Select all
You are about to add the following PPA to your system:
Package my work for Debian cacti in a stand alone location.
More info: https://launchpad.net/~paul-climbing/+archive/cacti
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpiAXYF8/secring.gpg' created
gpg: keyring `/tmp/tmpiAXYF8/pubring.gpg' created
gpg: requesting key F96FD737 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpiAXYF8/trustdb.gpg: trustdb created
gpg: key F96FD737: public key "Launchpad PPA for Paul Gevers" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
root@merkur:~# sudo apt-get update
but got this errors...
Code: Select all
Ign http://ppa.launchpad.net precise Release.gpg
Ign http://ppa.launchpad.net precise Release
Ign http://ppa.launchpad.net precise/main TranslationIndex
Err http://ppa.launchpad.net precise/main Sources 404 Not Found
Err http://ppa.launchpad.net precise/main amd64 Packages 404 Not Found
Err http://ppa.launchpad.net precise/main i386 Packages 404 Not Found
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/paul-climbing/cacti/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/paul-climbing/cacti/ubuntu/dists/precise/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/paul-climbing/cacti/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Ubuntu 12.04 apt-get
Hmm, I see the standard text at launchpad is indeed not enough for this to work.mionco wrote:root@merkur:~# sudo add-apt-repository ppa:paul-climbing/cacti
Please find the file /etc/apt/sources.list.d/cacti (or the actual file that contains the next line) and change
Code: Select all
deb http://ppa.launchpad.net/paul-climbing/cacti/ubuntu precise main
Code: Select all
deb http://ppa.launchpad.net/paul-climbing/cacti/ubuntu quantal main
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Re: Ubuntu 12.04 apt-get
thank you, after this change
root@merkur:~# cat /etc/apt/sources.list.d/paul-climbing-cacti-precise.list
cacti was instaled, but after apache restart i got this error
root@merkur:~# /etc/init.d/apache2 restart
the file looks like this
root@merkur:~# cat /etc/apache2/conf.d/cacti.conf
root@merkur:~# cat /etc/apt/sources.list.d/paul-climbing-cacti-precise.list
Code: Select all
#deb http://ppa.launchpad.net/paul-climbing/cacti/ubuntu precise main
#deb-src http://ppa.launchpad.net/paul-climbing/cacti/ubuntu precise main
deb-src http://ppa.launchpad.net/paul-climbing/cacti/ubuntu quantal main
deb http://ppa.launchpad.net/paul-climbing/cacti/ubuntu quantal main
root@merkur:~# /etc/init.d/apache2 restart
Code: Select all
Syntax error on line 6 of /etc/apache2/conf.d/cacti.conf:
Invalid command '<IfVersion', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
root@merkur:~# cat /etc/apache2/conf.d/cacti.conf
Code: Select all
Alias /cacti /usr/share/cacti/site
<Directory /usr/share/cacti/site>
Options +FollowSymLinks
AllowOverride None
<IfVersion >= 2.3>
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order Allow,Deny
Allow from all
</IfVersion>
AddType application/x-httpd-php .php
<IfModule mod_php5.c>
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals Off
php_flag register_argc_argv On
php_flag track_vars On
# this setting is necessary for some locales
php_value mbstring.func_overload 0
php_value include_path .
</IfModule>
DirectoryIndex index.php
</Directory>
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Ubuntu 12.04 apt-get
Please replace it with the previous version of that file. It can be found here.
Sorry, you are right. I should provide a package for precise.
Sorry, you are right. I should provide a package for precise.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 2 guests