1.2. Linux Memcached installation

发布时间 : 2025-10-25 13:33:43 UTC      

Page Views: 9 views

Memcached supports many platforms: Linux, FreeBSD, Solaris, Mac OS, and can also be installed on Windows.

Linux system installation memcached first install the libeventlibrary

sudo apt-get install libevent ibevent-dev Automatic download and installation(Ubuntu/Debian) yum install libevent libevent-devel Automatic download and installation(Redhat/Fedora/Centos) 

1.2.1. Install Memcached

Automatic installation

Ubuntu/Debian

sudo apt-get install memcached 

Redhat/Fedora/Centos

yum install memcached 

FreeBSD

portmaster databases/memcached 

After installation, you can use whereis view the path to the command:

whereis memcached 

It is found that the installation location is /usr/bin/memcached .

1.2.2. Source code installation

Download from its official website ( http://memcached.org ) memcached thelatest version.

wget http://memcached.org/latest Downloading the latest version tar -zxvf memcached-1.x.x.tar.gz Decompression source code cd memcached-1.x.x Enter directory ./configure --prefix=/usr/local/memcached configuration make && make test compile sudo make install install 

1.2.3. Memcached running

Memcached the operation of the command:

$ /usr/local/memcached/bin/memcached -h command help 
《地理信息系统原理、技术与方法》  97

最近几年来,地理信息系统无论是在理论上还是应用上都处在一个飞速发展的阶段。 GIS被应用于多个领域的建模和决策支持,如城市管理、区划、环境整治等等,地理信息成为信息时代重要的组成部分之一; “数字地球”概念的提出,更进一步推动了作为其技术支撑的GIS的发展。 与此同时,一些学者致力于相关的理论研究,如空间感知、空间数据误差、空间关系的形式化等等。 这恰好说明了地理信息系统作为应用技术和学科的两个方面,并且这两个方面构成了相互促进的发展过程。