After finding the node-canvas library, I simply used it and found it quite useful.
Step 1 install
You also need to install some dependencies before installing node-canvas. Linux and mac are used as examples to install different systems:
Linux: sudo yum install cairo-devel cairomm-devel libjpeg-turbo-devel pango-devel pangomm-devel giflib-devel
Mac: brew install pkg-config cairo pango libpng jpeg giflib
For
/Net-snmp http://www.net-snmp.org/Cacti http://www.cacti.net/
Apache and php are installed through yum4. install required software4.1 install LAMP1 [root @ node2 app] # yum-y install httpd php-mysql2 [root @ node2 app] # chkconfig httpd on3 [root @ node2 app] #/etc/init. d/httpd startMysql has been installed using the source code. You do not need to install it using yum.After the installation is complete, you can test it on the login page:
4.2. rrdtoolThe installation of Rrdtool requires the su
the software package in uclibc, but is not actually implemented yet.
7. Download the glib-2.4.8 source code, compile and install
Web site (ftp://ftp.gtk.org/pub/gtk/v2.4/glib-2.4.8.tar.bz2)
8. Download The expat-1.95.8 source code, compile and install
Web site (http://sourceforge.net/projects/expat)
9. Download The freetype-2.1.4 source code, compile and install
URL (http://sourceforge.net/project/showfiles.php? Group_id = 3157) do not use an updated freetype-2, such as a freetype-2.1.9,
install libgtk2.0-dev
After installation, you can use pkg-config to view the GTK compilation environment information:
Pkg-config -- cflags -- libs gtk ++-2.0
Pkg-config will read. pc files to obtain relevant compilation information. -- cflags will list the include directory and -- libs will list the Linked Library and its directory. Take my computer as an example:
Directory. Take my computer as an example:
$ Pkg-config -- cflags -- libs gtk ++-2.0
-I/usr/include/gtk-2.0-I/usr/lib/gtk-2.0/includ
:
Xxyougladexxx_SOURCES = \
Main. c \
Support. c support. h \
Interface. c interface. h \
Callbacks. c callbacks. h \
Xx1.c xx1.h \
Xx2.c xx2.h \ xx1 and xx2 are self-compiled. c and. H files.
(4) about 179 rows:
Xxyougladexxx_LDADD =-lpcap? Pthread and library file-lpcap? Pthread, the first is libpcap, and the second is multithreading.
(5) If-pthread is not added to DES, the following must be added:
Primary des = \
-DPACKAGE_DATA_DIR = \ "" $ (datadir )"\"\
-DPACKAGE_LOCALE_DIR = \ "" $ (prefix
Ndoutuils is based on the correct installation of Nagios, please go to the previous article for Nagios installation.1. Dependency packet Detection#rpm-Q libxml2-devel pango-devel cairo-devel#yum Install Libxml2-devel pango-devel cairo-devel2. Compiling the installation#tar ZXVF rrdtool-1.4.8.tar.gz#cd rrdtool-1.4.8#./configure--prefix=/usr/local/rrdtool#make#make Install3. Verify that the installation is su
mathematical models of the library.
Osgode: A library that combines OSG with Ode, Ode is a physical engine.
Osgsmallcity: As stated in its name, the model is a small city.
The combination of OSGPANGO:OSG and Pango, Pango is a professional text rendering library, such as: can render the beating of text and so on.
OSG's Learning materials1. "OpenSceneGraph Reference Manual" (OpenSceneGraph Refrence Ma
1. First you need to install the dependent libraries required by guacamoleThe libraries You must install are: Cairo, Libjpeg-turbo, libpng, OSSP UUIDIf the command is executed under the Debian/ubuntu system:sudo Install libcairo2-dev libjpeg62-turbo-dev libjpeg62-dev libpng12-dev Libossp-uuid-devIf the following command is executed in the Fedora/centos/rhel system:sudo Install cairo-devel libjpeg-turbo-devel libjpeg-devel libpng-devel uuid-develThe libraries you can choose to install are: FREERD
the other module requirements. First he relied on Cairo. Some dependencies need to be installed, mainly to deal with the image of the library, to see the specific needs, mainly processing three kinds of pictures: PNG, JPEG, GIF.
OS
Command
OS X
brew install pkg-config cairo libpng jpeg giflib
Ubuntu
sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
Fedora
sudo yu
Prerequisite: The lamp has been compiled and installed (mysql5.5)First, configure the service side1, note the central host, and enable the virtual host, add a virtual host# cd/etc/httpd/# Vim Httpd.confCommented out: DocumentRoot "/usr/local/apache/htdocs"Enable: # Virtual hostsInclude/etc/httpd/extra/httpd-vhosts.conf# vim/etc/httpd/extra/httpd-vhosts.confDocumentRoot "/web/vhosts/cacti"ServerName cacti.fsy.comOptions Indexesallowoverride NoneRequire all grantedErrorlog "Logs/cati-error_log"Cus
current elements RRDTool It is mainly used to track the changes of objects and to generate a trend graph of changing objects.Second, installation configuration cactiRelated packages:Cacti-0.8.8a.tar.gzRrdtool-1.4.7.tar.gzCacti-spine-0.8.8a.tar.gzUpload the above packages to the/data1 directory.Related Download URL:http://www.cacti.net/download_cacti.phphttp://www.cacti.net/spine_download.phphttp://www.cacti.net/downloads/pia/Install cacti Environment:Os:rhel Server 6.3ip:192.168.10.250Web platf
1. Environmental statementCentOS 6.5 x86_64 minimized installation.2. Install the Build toolYum Install GCC3. Install the necessary third-party toolkitYum install zlib zlib-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel fontconfig fontconfig-devel Pixman pixman-devel Cairo Cairo-devel Pango Pango-devel4. Install the Perl development module, or you will get an error when compilingYum
CentOS7 System Optimization1. Change the Yum sourceWget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-7.repo2. Add Full service functionYum Install-y bash-completion3. Turn off the firewallSystemctl Stop Firewalld.service4. Turn off SELinuxSed-i ' S#selinux=disable#selinux=disabled#g '/etc/sysconfig/selinux5. Install common softwareYum Install Lrzsz tree nmap dos2unix-y6. Time Synchronization ServiceModify Time ZoneTimedatectl Set-timezone Asia/shanghaiNtpdate time1.al
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.