Martin Liu

Martin Liu

Senior Developer Relations/Advocate, Founder of DevOps China, DevOps Institute Ambassador

liuadmin

2-Minute Read

If you had installed VMWare workstation on any Linux, you may have kernel source problem. Because a default Linux installation do not include kernel source package. I’m just saying that you should always play with open source Virtualization, Xen or Virtial Box are all good stuff to run ;)  . I got some screen-shots for you if you don’t have idea how do install Xen. The true is Xen is faster then VMWare on my laptop. I would not work with VMWare anymore.

My laptop is a DELL D630 with…

liuadmin

2-Minute Read

1.
Download Extract the distribution tarball
Suse:/opt # wget http://www.cacti.net/downloads/cacti-0.8.6j.tar.gz
Suse:/opt # tar zxvf cacti-0.8.6j.tar.gz

2.
Create the MySQL database:
Suse:/opt # mysqladmin –user=root create cacti

3.
Import the default cacti database:
Suse:/opt/cacti-0.8.6j # mysql cacti < user=“root”> GRANT ALL ON cacti.* TO [email protected] IDENTIFIED BY ‘cacti’;
Query OK, 0 rows affected (0.03 sec)

mysql> flush privileges;
Query OK, 0 rows…

liuadmin

1-Minute Read

1>Install dependence packages
zliu3:~yast -i rrdtool
zliu3:~yast -i postgresql
zliu3:~ # rpm -qa |grep rrdtool
rrdtool-1.2.15-25
zliu3:~ # rpm -qa |grep postgresql
postgresql-8.1.5-13
postgresql-libs-8.1.5-13
postgresql-contrib-8.1.5-13
postgresql-pl-8.1.5-15
postgresql-server-8.1.5-13
rcpostgresql start
copy jdk/tomcat 5.5 package files to /opt
cd /opt
tar xzvf jdk1.5.tar.gz
tar xzvf tomcat5.5.tar.gz
export JAVA_HOME=/opt/jdk1.5.0_09
export OPENNMS_HOME=/opt/opennms
export…

Recent Posts

Categories

About

This Blog is sharing DevOps and SRE ariticles. I am a Senior Developer Relations/Advocate at Elastic, Founder of DevOps China since 2017, Microsift MVP since 2021, DevOps Institute Ambassador.