SlideShare a Scribd company logo
Installing Cacti on openSUSE Leap
42.1
Getting root access
To get root access, open a terminal and enter the following command:
user $ su -
Password:
After entering a valid password, the prompt should turn red and end with a #.
Preparation
Add the server:monitoring repository. This is needed in order to have access to the Cacti add-
ons.
root # zypper ar
http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Leap_42.1/
server:monitoring
Install MySQL:
root # zypper in mysql-community-server mysql-community-server-client
Install Cacti and Cacti add-ons:
root # zypper in cacti cacti-plugin-autom8 cacti-plugin-boost cacti-plugin-clog cacti-
plugin-cycle cacti-plugin-discovery cacti-plugin-docs cacti-plugin-flowview cacti-plugin-
hostinfo cacti-plugin-loginmod cacti-plugin-mactrack cacti-plugin-monitor cacti-plugin-
npc cacti-plugin-ntop cacti-plugin-realtime cacti-plugin-routerconfigs cacti-plugin-
settings cacti-plugin-ssl cacti-plugin-syslog cacti-plugin-thold cacti-plugin-tools cacti-
plugin-update
Configuration
To get started, the basic services needed:
root # systemctl start mysql
root # systemctl start apache2
root # systemctl start snmpd
And to avoid headaches later, we'll have to automatically start services after a reboot
root # systemctl enable mysql
root # systemctl enable apache2
root # systemctl enable snmpd
We will implement an additional layer of security by removing some vulnerabilities in
MySQL:
root # /usr/bin/mysql_secure_installation
Follows the order of questions:
• Change password for user root;
• Remove user anonymous;
• Disable remote access;
• Remove test database and flush privileges;
• Reload privilege tables.
If you change later the root password of MySQL, use the command:
root # /usr/bin/mysqladmin -u root -h localhost password 'new password'
Apache Configuration
The Cacti files are located in /srv/www/cacti.
We use a VirtualHost to facilitate our work:
cd /etc/apache2/conf.d/
then edit the file cacti.conf, edit line number 33, Replace word “denied” with “granted”
Define the user wwwrun of group www as owner of the Cacti files :
root # chown -R wwwrun:www /srv/www/cacti/
If you want Cacti to bew the default server, edit the file /etc/sysconfig/apache2 and add
CACTI as a server flag:
APACHE_SERVER_FLAGS=“CACTI”
Database Configuration
Now we will create the basis of Cacti and a user:
mysql -p
mysql> create database cacti;
mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY
'cactipasswd';
Cacti Configuration
With Apache2 and MySQL configured, missing only the Cacti configuration file,
/srv/www/cacti/include/config.php
Configuration of /srv/www/cacti/include/config.php:
$database_type = “mysql”;
$database_default = “cacti”;
$database_hostname = “localhost”;
$database_username = “cactiuser”;
$database_password = “cactipasswd”;
$database_port = “3306”;
Executes the script cacti.sql of Cacti, found in /srv/www/cacti/
root # mysql -u root -p -b cacti < /srv/www/cacti/cacti.sql
Now we will start the final configuration by the browser.
In browser
For the browser, go to address http://SERVER/cacti/install. You will see the license. Proceed
Defines a new installation:
Make sure the checklist is ok.
Finished! Now you can monitor your network assets using SNMP quite easily!
login: admin
password: admin
After authentication, you must reset the password.

More Related Content

What's hot

Socket programming
Socket programmingSocket programming
Socket programming
Muhammad Fouad Ilyas Siddiqui
 
Unknown Unicast Traffic and Ping Pollers
Unknown Unicast Traffic and Ping PollersUnknown Unicast Traffic and Ping Pollers
Unknown Unicast Traffic and Ping Pollers
APNIC
 
Bonding Interface in MikroTik
Bonding Interface in MikroTikBonding Interface in MikroTik
Bonding Interface in MikroTik
KHNOG
 
Ospf area types
Ospf area typesOspf area types
Ospf area types
Roger Perkin
 
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructionsIntel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
Hisaki Ohara
 
VXLAN Design and Deployment.pdf
VXLAN Design and Deployment.pdfVXLAN Design and Deployment.pdf
VXLAN Design and Deployment.pdf
NelAlv1
 
OpenStack networking juno l3 h-a, dvr
OpenStack networking   juno l3 h-a, dvrOpenStack networking   juno l3 h-a, dvr
OpenStack networking juno l3 h-a, dvr
Sim Janghoon
 
Pwning in c++ (basic)
Pwning in c++ (basic)Pwning in c++ (basic)
Pwning in c++ (basic)
Angel Boy
 
Cisco Connect Japan 2014: MPLS アドバンス
Cisco Connect Japan 2014: MPLS アドバンスCisco Connect Japan 2014: MPLS アドバンス
Cisco Connect Japan 2014: MPLS アドバンス
シスコシステムズ合同会社
 
Userspace networking
Userspace networkingUserspace networking
Userspace networking
Stephen Hemminger
 
Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2
Febrian ‎
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
APNIC
 
DPDKを拡張してみた話し
DPDKを拡張してみた話しDPDKを拡張してみた話し
DPDKを拡張してみた話し
Lagopus SDN/OpenFlow switch
 
IPv6
IPv6IPv6
EVPN Introduction
EVPN IntroductionEVPN Introduction
Introduction to SIP
Introduction to SIP  Introduction to SIP
Introduction to SIP
neerav_adhikari
 
BGP Update Source
BGP Update Source BGP Update Source
BGP Update Source
NetProtocol Xpert
 
Socket Programming TCP:IP PPT.pdf
Socket Programming TCP:IP PPT.pdfSocket Programming TCP:IP PPT.pdf
Socket Programming TCP:IP PPT.pdf
PraveenKumar187040
 
Netmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW ArchitectureNetmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW Architecture
Chris Changmo Yoo
 

What's hot (20)

Socket programming
Socket programmingSocket programming
Socket programming
 
Unknown Unicast Traffic and Ping Pollers
Unknown Unicast Traffic and Ping PollersUnknown Unicast Traffic and Ping Pollers
Unknown Unicast Traffic and Ping Pollers
 
Bonding Interface in MikroTik
Bonding Interface in MikroTikBonding Interface in MikroTik
Bonding Interface in MikroTik
 
Ospf area types
Ospf area typesOspf area types
Ospf area types
 
Intel DPDK Step by Step instructions
Intel DPDK Step by Step instructionsIntel DPDK Step by Step instructions
Intel DPDK Step by Step instructions
 
VXLAN Design and Deployment.pdf
VXLAN Design and Deployment.pdfVXLAN Design and Deployment.pdf
VXLAN Design and Deployment.pdf
 
OpenStack networking juno l3 h-a, dvr
OpenStack networking   juno l3 h-a, dvrOpenStack networking   juno l3 h-a, dvr
OpenStack networking juno l3 h-a, dvr
 
Pwning in c++ (basic)
Pwning in c++ (basic)Pwning in c++ (basic)
Pwning in c++ (basic)
 
Cisco Connect Japan 2014: MPLS アドバンス
Cisco Connect Japan 2014: MPLS アドバンスCisco Connect Japan 2014: MPLS アドバンス
Cisco Connect Japan 2014: MPLS アドバンス
 
Userspace networking
Userspace networkingUserspace networking
Userspace networking
 
Ip v4 & ip v6
Ip v4 & ip v6Ip v4 & ip v6
Ip v4 & ip v6
 
Juniper mpls best practice part 2
Juniper mpls best practice   part 2Juniper mpls best practice   part 2
Juniper mpls best practice part 2
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
 
DPDKを拡張してみた話し
DPDKを拡張してみた話しDPDKを拡張してみた話し
DPDKを拡張してみた話し
 
IPv6
IPv6IPv6
IPv6
 
EVPN Introduction
EVPN IntroductionEVPN Introduction
EVPN Introduction
 
Introduction to SIP
Introduction to SIP  Introduction to SIP
Introduction to SIP
 
BGP Update Source
BGP Update Source BGP Update Source
BGP Update Source
 
Socket Programming TCP:IP PPT.pdf
Socket Programming TCP:IP PPT.pdfSocket Programming TCP:IP PPT.pdf
Socket Programming TCP:IP PPT.pdf
 
Netmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW ArchitectureNetmanias L2,L3 Training (5) L3 SW Architecture
Netmanias L2,L3 Training (5) L3 SW Architecture
 

Viewers also liked

Wordpress docker on openSUSE Leap
Wordpress docker on openSUSE LeapWordpress docker on openSUSE Leap
Wordpress docker on openSUSE Leap
Darian Rizaludin
 
Monitoring open suse_asia_summit_2016
Monitoring open suse_asia_summit_2016Monitoring open suse_asia_summit_2016
Monitoring open suse_asia_summit_2016
Didiet A. Pambudiono
 
Cacti presentation
Cacti presentationCacti presentation
Cacti presentation
Didiet A. Pambudiono
 
Women Contribution Today's in Technology Era
Women Contribution Today's in Technology EraWomen Contribution Today's in Technology Era
Women Contribution Today's in Technology Era
Umul Sidikoh
 
Network Simulation Software with Packet Tracer in openSUSE
Network Simulation Software with Packet Tracer in openSUSENetwork Simulation Software with Packet Tracer in openSUSE
Network Simulation Software with Packet Tracer in openSUSE
ern4wan
 
Getting started with .net on openSUSE (asp.net with c#)
Getting started with .net on openSUSE  (asp.net with c#)Getting started with .net on openSUSE  (asp.net with c#)
Getting started with .net on openSUSE (asp.net with c#)
Alin Alifah
 
Fundamental Virtualisasi di openSUSE
Fundamental Virtualisasi di openSUSEFundamental Virtualisasi di openSUSE
Fundamental Virtualisasi di openSUSE
utianayuba
 
opensuse conference 2015: security processes and technologies for Tumbleweed
opensuse conference 2015: security processes and technologies for Tumbleweedopensuse conference 2015: security processes and technologies for Tumbleweed
opensuse conference 2015: security processes and technologies for Tumbleweed
Marcus Meissner
 
Paket 1 UJIKOM TKJ 2015
Paket 1 UJIKOM TKJ 2015Paket 1 UJIKOM TKJ 2015
Paket 1 UJIKOM TKJ 2015
Andre Wantsheback
 
Building Domain Controller Using Windows Server 2008
Building Domain Controller Using Windows Server 2008Building Domain Controller Using Windows Server 2008
Building Domain Controller Using Windows Server 2008
I Putu Hariyadi
 
Cisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAPCisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAP
Dirk Oppenkowski
 
Tips positif & kreatif menggunakan Internet sehat by walid umar
Tips positif & kreatif menggunakan Internet sehat by walid umarTips positif & kreatif menggunakan Internet sehat by walid umar
Tips positif & kreatif menggunakan Internet sehat by walid umar
Walid Umar
 
Basis Data - Pengenalan DML dan DDL
Basis Data - Pengenalan DML dan DDLBasis Data - Pengenalan DML dan DDL
Basis Data - Pengenalan DML dan DDL
Walid Umar
 
Configuring Cisco Routing Protocols
Configuring Cisco Routing ProtocolsConfiguring Cisco Routing Protocols
Configuring Cisco Routing Protocols
I Putu Hariyadi
 
Konfigurasi TP-Link TL-WA7210N Wireless Access Point
Konfigurasi TP-Link TL-WA7210N Wireless Access PointKonfigurasi TP-Link TL-WA7210N Wireless Access Point
Konfigurasi TP-Link TL-WA7210N Wireless Access Point
Walid Umar
 
Open source for education (science & math)
Open source for education (science & math)Open source for education (science & math)
Open source for education (science & math)Walid Umar
 
Konfigurasi Routing OSPF Di MikroTik
Konfigurasi Routing OSPF Di MikroTikKonfigurasi Routing OSPF Di MikroTik
Konfigurasi Routing OSPF Di MikroTik
I Putu Hariyadi
 
Instalasi CentOS 6.4 Pada VMWare Workstation 10
Instalasi CentOS 6.4 Pada VMWare Workstation 10Instalasi CentOS 6.4 Pada VMWare Workstation 10
Instalasi CentOS 6.4 Pada VMWare Workstation 10
I Putu Hariyadi
 
Studi Kasus Variable Length Subnetmask (VLSM)
Studi Kasus Variable Length Subnetmask (VLSM)Studi Kasus Variable Length Subnetmask (VLSM)
Studi Kasus Variable Length Subnetmask (VLSM)
I Putu Hariyadi
 

Viewers also liked (20)

Wordpress docker on openSUSE Leap
Wordpress docker on openSUSE LeapWordpress docker on openSUSE Leap
Wordpress docker on openSUSE Leap
 
Monitoring open suse_asia_summit_2016
Monitoring open suse_asia_summit_2016Monitoring open suse_asia_summit_2016
Monitoring open suse_asia_summit_2016
 
Cacti presentation
Cacti presentationCacti presentation
Cacti presentation
 
Women Contribution Today's in Technology Era
Women Contribution Today's in Technology EraWomen Contribution Today's in Technology Era
Women Contribution Today's in Technology Era
 
Network Simulation Software with Packet Tracer in openSUSE
Network Simulation Software with Packet Tracer in openSUSENetwork Simulation Software with Packet Tracer in openSUSE
Network Simulation Software with Packet Tracer in openSUSE
 
Getting started with .net on openSUSE (asp.net with c#)
Getting started with .net on openSUSE  (asp.net with c#)Getting started with .net on openSUSE  (asp.net with c#)
Getting started with .net on openSUSE (asp.net with c#)
 
Fundamental Virtualisasi di openSUSE
Fundamental Virtualisasi di openSUSEFundamental Virtualisasi di openSUSE
Fundamental Virtualisasi di openSUSE
 
opensuse conference 2015: security processes and technologies for Tumbleweed
opensuse conference 2015: security processes and technologies for Tumbleweedopensuse conference 2015: security processes and technologies for Tumbleweed
opensuse conference 2015: security processes and technologies for Tumbleweed
 
Paket 1 UJIKOM TKJ 2015
Paket 1 UJIKOM TKJ 2015Paket 1 UJIKOM TKJ 2015
Paket 1 UJIKOM TKJ 2015
 
Building Domain Controller Using Windows Server 2008
Building Domain Controller Using Windows Server 2008Building Domain Controller Using Windows Server 2008
Building Domain Controller Using Windows Server 2008
 
Cisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAPCisco and SUSE Linux: The perfect platform for SAP
Cisco and SUSE Linux: The perfect platform for SAP
 
Edisi 1
Edisi 1Edisi 1
Edisi 1
 
Tips positif & kreatif menggunakan Internet sehat by walid umar
Tips positif & kreatif menggunakan Internet sehat by walid umarTips positif & kreatif menggunakan Internet sehat by walid umar
Tips positif & kreatif menggunakan Internet sehat by walid umar
 
Basis Data - Pengenalan DML dan DDL
Basis Data - Pengenalan DML dan DDLBasis Data - Pengenalan DML dan DDL
Basis Data - Pengenalan DML dan DDL
 
Configuring Cisco Routing Protocols
Configuring Cisco Routing ProtocolsConfiguring Cisco Routing Protocols
Configuring Cisco Routing Protocols
 
Konfigurasi TP-Link TL-WA7210N Wireless Access Point
Konfigurasi TP-Link TL-WA7210N Wireless Access PointKonfigurasi TP-Link TL-WA7210N Wireless Access Point
Konfigurasi TP-Link TL-WA7210N Wireless Access Point
 
Open source for education (science & math)
Open source for education (science & math)Open source for education (science & math)
Open source for education (science & math)
 
Konfigurasi Routing OSPF Di MikroTik
Konfigurasi Routing OSPF Di MikroTikKonfigurasi Routing OSPF Di MikroTik
Konfigurasi Routing OSPF Di MikroTik
 
Instalasi CentOS 6.4 Pada VMWare Workstation 10
Instalasi CentOS 6.4 Pada VMWare Workstation 10Instalasi CentOS 6.4 Pada VMWare Workstation 10
Instalasi CentOS 6.4 Pada VMWare Workstation 10
 
Studi Kasus Variable Length Subnetmask (VLSM)
Studi Kasus Variable Length Subnetmask (VLSM)Studi Kasus Variable Length Subnetmask (VLSM)
Studi Kasus Variable Length Subnetmask (VLSM)
 

Similar to Installing Cacti openSUSE Leap 42.1

Install cacti on open suse 13
Install cacti on open suse 13Install cacti on open suse 13
Install cacti on open suse 13
Vanda KANY
 
An Express Guide ~ Cacti for IT Infrastructure Monitoring & Graphing
An Express Guide ~ Cacti for IT Infrastructure Monitoring & GraphingAn Express Guide ~ Cacti for IT Infrastructure Monitoring & Graphing
An Express Guide ~ Cacti for IT Infrastructure Monitoring & Graphing
Abhishek Kumar
 
Control your deployments with Capistrano
Control your deployments with CapistranoControl your deployments with Capistrano
Control your deployments with Capistrano
Ramazan K
 
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google CloudDrupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Dropsolid
 
Professional deployment
Professional deploymentProfessional deployment
Professional deployment
Ivelina Dimova
 
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierContinuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
Carlos Sanchez
 
Bare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and ChefBare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and Chef
Matt Ray
 
Kubernetes Story - Day 3: Deploying and Scaling Applications on OpenShift
Kubernetes Story - Day 3: Deploying and Scaling Applications on OpenShiftKubernetes Story - Day 3: Deploying and Scaling Applications on OpenShift
Kubernetes Story - Day 3: Deploying and Scaling Applications on OpenShift
Mihai Criveti
 
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Yiwei Ma
 
Using aphace-as-proxy-server
Using aphace-as-proxy-serverUsing aphace-as-proxy-server
Using aphace-as-proxy-server
HARRY CHAN PUTRA
 
Docker for Ruby Developers
Docker for Ruby DevelopersDocker for Ruby Developers
Docker for Ruby Developers
Aptible
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
Alessandro Arrichiello
 
Hadoop cluster 安裝
Hadoop cluster 安裝Hadoop cluster 安裝
Hadoop cluster 安裝
recast203
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalability
Wim Godden
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Dockerizing WordPress
Dockerizing WordPressDockerizing WordPress
Dockerizing WordPress
dotCloud
 
Build Automation 101
Build Automation 101Build Automation 101
Build Automation 101
Martin Jackson
 

Similar to Installing Cacti openSUSE Leap 42.1 (20)

Install cacti on open suse 13
Install cacti on open suse 13Install cacti on open suse 13
Install cacti on open suse 13
 
An Express Guide ~ Cacti for IT Infrastructure Monitoring & Graphing
An Express Guide ~ Cacti for IT Infrastructure Monitoring & GraphingAn Express Guide ~ Cacti for IT Infrastructure Monitoring & Graphing
An Express Guide ~ Cacti for IT Infrastructure Monitoring & Graphing
 
Control your deployments with Capistrano
Control your deployments with CapistranoControl your deployments with Capistrano
Control your deployments with Capistrano
 
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google CloudDrupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
 
Network Manual
Network ManualNetwork Manual
Network Manual
 
Professional deployment
Professional deploymentProfessional deployment
Professional deployment
 
Continuous Delivery: The Next Frontier
Continuous Delivery: The Next FrontierContinuous Delivery: The Next Frontier
Continuous Delivery: The Next Frontier
 
Bare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and ChefBare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and Chef
 
Kubernetes Story - Day 3: Deploying and Scaling Applications on OpenShift
Kubernetes Story - Day 3: Deploying and Scaling Applications on OpenShiftKubernetes Story - Day 3: Deploying and Scaling Applications on OpenShift
Kubernetes Story - Day 3: Deploying and Scaling Applications on OpenShift
 
Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册Nginx 0.8.x 安装手册
Nginx 0.8.x 安装手册
 
Using aphace-as-proxy-server
Using aphace-as-proxy-serverUsing aphace-as-proxy-server
Using aphace-as-proxy-server
 
Docker for Ruby Developers
Docker for Ruby DevelopersDocker for Ruby Developers
Docker for Ruby Developers
 
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
[Devconf.cz][2017] Understanding OpenShift Security Context Constraints
 
infra-as-code
infra-as-codeinfra-as-code
infra-as-code
 
Hadoop cluster 安裝
Hadoop cluster 安裝Hadoop cluster 安裝
Hadoop cluster 安裝
 
Caching and tuning fun for high scalability
Caching and tuning fun for high scalabilityCaching and tuning fun for high scalability
Caching and tuning fun for high scalability
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Dockerizing WordPress
Dockerizing WordPressDockerizing WordPress
Dockerizing WordPress
 
Build Automation 101
Build Automation 101Build Automation 101
Build Automation 101
 

Recently uploaded

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 

Recently uploaded (20)

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 

Installing Cacti openSUSE Leap 42.1

  • 1. Installing Cacti on openSUSE Leap 42.1 Getting root access To get root access, open a terminal and enter the following command: user $ su - Password: After entering a valid password, the prompt should turn red and end with a #. Preparation Add the server:monitoring repository. This is needed in order to have access to the Cacti add- ons. root # zypper ar http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Leap_42.1/ server:monitoring Install MySQL: root # zypper in mysql-community-server mysql-community-server-client Install Cacti and Cacti add-ons: root # zypper in cacti cacti-plugin-autom8 cacti-plugin-boost cacti-plugin-clog cacti- plugin-cycle cacti-plugin-discovery cacti-plugin-docs cacti-plugin-flowview cacti-plugin- hostinfo cacti-plugin-loginmod cacti-plugin-mactrack cacti-plugin-monitor cacti-plugin- npc cacti-plugin-ntop cacti-plugin-realtime cacti-plugin-routerconfigs cacti-plugin- settings cacti-plugin-ssl cacti-plugin-syslog cacti-plugin-thold cacti-plugin-tools cacti- plugin-update Configuration To get started, the basic services needed: root # systemctl start mysql root # systemctl start apache2 root # systemctl start snmpd And to avoid headaches later, we'll have to automatically start services after a reboot root # systemctl enable mysql root # systemctl enable apache2 root # systemctl enable snmpd We will implement an additional layer of security by removing some vulnerabilities in MySQL: root # /usr/bin/mysql_secure_installation
  • 2. Follows the order of questions: • Change password for user root; • Remove user anonymous; • Disable remote access; • Remove test database and flush privileges; • Reload privilege tables. If you change later the root password of MySQL, use the command: root # /usr/bin/mysqladmin -u root -h localhost password 'new password' Apache Configuration The Cacti files are located in /srv/www/cacti. We use a VirtualHost to facilitate our work: cd /etc/apache2/conf.d/ then edit the file cacti.conf, edit line number 33, Replace word “denied” with “granted” Define the user wwwrun of group www as owner of the Cacti files : root # chown -R wwwrun:www /srv/www/cacti/ If you want Cacti to bew the default server, edit the file /etc/sysconfig/apache2 and add CACTI as a server flag: APACHE_SERVER_FLAGS=“CACTI” Database Configuration Now we will create the basis of Cacti and a user: mysql -p mysql> create database cacti; mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactipasswd'; Cacti Configuration With Apache2 and MySQL configured, missing only the Cacti configuration file, /srv/www/cacti/include/config.php Configuration of /srv/www/cacti/include/config.php: $database_type = “mysql”; $database_default = “cacti”; $database_hostname = “localhost”;
  • 3. $database_username = “cactiuser”; $database_password = “cactipasswd”; $database_port = “3306”; Executes the script cacti.sql of Cacti, found in /srv/www/cacti/ root # mysql -u root -p -b cacti < /srv/www/cacti/cacti.sql Now we will start the final configuration by the browser. In browser For the browser, go to address http://SERVER/cacti/install. You will see the license. Proceed Defines a new installation: Make sure the checklist is ok.
  • 4. Finished! Now you can monitor your network assets using SNMP quite easily!
  • 5. login: admin password: admin After authentication, you must reset the password.