搜索""的结果
PCRE-8.33 Introduction to PCRE The PCRE package contains Perl Compatible Regular Expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5. This package is known to build and work properly using an LFS-7.4 platform. Package Information Download (HTTP): http://downloads.sourceforge.net/pcre/pcre-8.33.tar.bz2 Download (FTP): ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.33.tar.bz2 Download MD5 sum: 21514018448ac10062ece7a668fca949 Download size: 1.4 MB Estimated...
MySQL-5.6.14 Introduction to MySQL MySQL is a widely used and fast SQL database server. It is a client/server implementation that consists of a server daemon and many different client programs and libraries. This package is known to build and work properly using an LFS-7.4 platform. Package Information Download (HTTP): http://cdn.mysql.com/Downloads/MySQL-5.6/mysql-5.6.14.tar.gz Download MD5 sum: 52224ce51dbf6ffbcef82be30688cc04 Download size: 34 MB Estimated disk space required: 629 MB Estimated build time: 8.1 SBU ...
How to Setup Linux VPN Server and Client using OpenVPNby Lakshmanan Ganapathy on September 9, 2013 TweetVPN stands for Virtual Private Network.A Virtual Private Network enables a computer to send and receive data from one private network to another private network which are connected via public network (Internet).This is helpful for those who are outside the company’s intranet, and like to connect to office network securely to access the internal servers. VPN is also helpful when you are connecting multiple branch offices together.Even when you are not connecting multiple branch offices together, you can still use VPN setup to allow your employees to connect remotely from their laptop to the datacenter and access the systems.Sometimes company will buy leased lines to form WAN ( Wide Area Network ), and communicates with its branches. Though Leased line is secure and reliable, it is expensive.VPN fills the gap by providing a point-to-point virtual connection via public network. A VPN ...
How To Monitor Remote Linux Host using Nagios 3.0by Ramesh Natarajan on June 1, 2008 TweetIn the previous post Nagios 3.0 Jumpstart guide , I explained the overview, installation and configuration of Nagios 3.0 on Red Hat Server. In the following three chapters, I’ll explain how to monitor a remote Linux host and the various services running on the remote host. Also, please refer to all our Nagios articles. I. OverviewII. 6 steps to install Nagios plugin and NRPE on remote host.Download Nagios Plugins and NRPE Add-onCreate nagios accountInstall Nagios PluginsInstall NRPESetup NRPE to run as daemonModify the /usr/local/nagios/etc/nrpe.cfgIII. 4 Configuration steps on the Nagios monitoring server to monitor remote host:Download NRPE Add-onInstall check_nrpeCreate host and service definition for remote hostRestart the nagios serviceI. Overview:.Following three steps will happen on a very high level when Nagios (installed on the nagios-servers) monitors a service (for e.g. dis...
50 Most Frequently Used UNIX / Linux Commands (With Examples)by Ramesh Natarajan on November 8, 2010 TweetThis article provides practical examples for 50 most frequently used commands in Linux / UNIX.This is not a comprehensive list by any means, but this should give you a jumpstart on some of the common Linux commands. Bookmark this article for your future reference.Did I miss any frequently used Linux commands? Leave a comment and let me know.1. tar command examplesCreate a new tar archive.$ tar cvf archive_name.tar dirname/
Extract from an existing tar archive.$ tar xvf archive_name.tar
View an existing tar archive.$ tar tvf archive_name.tar
More tar examples: The Ultimate Tar Command Tutorial with 10 Practical Examples2. grep command examplesSearch for a given string in a file (case in-sensitive search). $ grep -i "the" demo_file
Print the matched line, along with the 3 lines after it.$ grep -A 3 -i "example" demo_text
Search...
Top 25 Best Linux Performance Monitoring and Debugging Toolsby Ramesh Natarajan on December 7, 2011 TweetI’ve compiled 25 performance monitoring and debugging tools that will be helpful when you are working on Linux environment. This list is not comprehensive or authoritative by any means.However this list has enough tools for you to play around and pick the one that is suitable your specific debugging and monitoring scenario.1. SARUsing sar utility you can do two things: 1) Monitor system real time performance (CPU, Memory, I/O, etc) 2) Collect performance data in the background on an on-going basis and do analysis on the historical data to identify bottlenecks.Sar is part of the sysstat package. The following are some of the things you can do using sar utility.Collective CPU usageIndividual CPU statisticsMemory used and availableSwap space used and availableOverall I/O activities of the systemIndividual device I/O activitiesContext switch statisticsRun queue and load average dataNe...
How to Enable GD Library in PHP with LibJPEG, FreeType and LibPNGIn PHP you can manipulate image files using GD library. It support several formats including GIF, PNG, JPEG, etc. You can use LibGD library to stream images directly from your application to the browser.This tutorial explains how to enable GD functionality in PHP.Download LibJPEG LibraryFirst, download the LibJPG files from here. Or, you can use the wget below to download it directly.cd /usr/save
wget http://www.ijg.org/files/jpegsrc.v9.tar.gz
Install LibJPEG LibraryOnce you’ve downloaded it, extract the archive and install it as shown below.tar xvfz jpegsrc.v9.tar.gz
cd jpeg-9
./configure
make
make install
This will install the jpeg libraries in the default /usr/local/lib/ location as shown below.# ls /usr/local/lib/*jpeg*
/usr/local/lib/libjpeg.a
/usr/local/lib/libjpeg.la*
/usr/local/lib/libjpeg.so -> libjpeg.so.9.0.0*
/usr/local/lib/libjpeg.so.9 -> libjpeg.so.9.0.0*
/usr/local/lib/libjpeg.so.9.0.0*
...
/usr/include/libpng12/pngconf.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [/usr/src/freetype-2.5.0.1/objs/sfnt.lo] Error 1
在安装最新版freetype-2.5时,configure后报以上错误信息。
./configure --without-png
mmake
make install
安装Freetyper时,加参数 without-png
这样在./configure 就不会再出现以下的报错
首先下载好软件包。
wget http://iweb.dl.sourceforge.net/project/freetype/freetype2/2.5.0/freetype-2.5.0.1.tar.bz2
然后解压出来。tar xvfj freetype-2.5.0.1.tar.bz2
cd freetype-2.5.0.1/
./configure --without-png
make
make install
安装Freetyper时,加参数 without-png 这样在./configure 就不会再出现以下的报错 /usr/include/libpng12/pngconf.h:336: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
/usr/include/libpng12/pngconf.h:337: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [/usr/src/freetype-2.5.0.1/objs/sfnt.lo] Error 1
Introduction to FreeType2 The FreeType2 package contains a library which allows applications to properly render TrueType fonts. This package is known to build and work properly using an LFS-7.4 platform. Package Information Download (HTTP): http://downloads.sourceforge.net/freetype/freetype-2.5.0.1.tar.bz2 Download MD5 sum: c72e9010b1d986d556fc0b2b5fcbf31a Download size: 1.5 MB Estimated disk space required: 35 MB (includes installing additional documentation) Estimated build time: 0.2 SBU Additional Downloads ...
最新评论