17 : 39/usr/local/bin/memcached-debug
Start memcached service: 1. Start the server side of the memcache: #/usr/local/bin/memcached-d-M 8096-u root-l 192.168.77.105-p 12000-c 256-p/tmp/memcached.pid -d option is to start a daemon, -M is the amount of memory allocated to Memcache, in megabytes, I here is 8096MB, -U is the user running memcache, I here is root, -L is the server IP address listening, if there are multiple addres
=-wall-o2-g modified to CFLAGS =-lrt-wall-o2-g[[email protected] magent]# make[email protected] magent]# CP magent/usr/bin/The primary cache and the standby cache are the same startup commands[Email protected] ~]# magent-u root-n 51200-l 192.168.1.10-p 12000-s 192.168.1.3:11211-b 192.168.1.4:11211Note: IP192.168.1.10 is the keepalived virtual IP address to be done later, use it later![Email protected] ~]# magent-u root-n 51200-l 192.168.1.10-p
-2007xxxx/"
5. Add a row to load the memcache extension: extension=memcache.sobasic settings for memcached :1. Start the server side of the memcache:#/usr/local/bin/memcached-d-M 10-u root-l 192.168.0.200-p 12000-c 256-p/tmp/memcached.pid
the-D option is to start a daemon,
-M is the amount of memory allocated to Memcache, in megabytes, I'm 10MB,
-U is the user running memcache, I am root here,
-L is the server IP address of the li
100M data compression is actually 100k. $ac->setoption (memcahed::opt_compression,0); Store data is not compressed. $data = Str_repeat (' A ', 1024* 1024); 1M Data = $ac->set (' key ', $data, 9999);//1m data set is unsuccessful. This means that memcached server cannot store more than 1M of data, but Memcached Related knowledge:1, the basic settings of memcached1) Start the server side of the Memcache#/usr/local/bin/memcached-d-M 10-u root-l 192.168.0.200-p
Learn the Linux project bookMy name is Fan Shuyun, after the old boy education ops 5-6 months study, I must achieve the salary target is 12000 yuan. In order to achieve this goal, I will take the following 10 major actions:1. Get up 5 o'clock in the morning every day to learn clock-in registration2.0 Basics Okay, have confidence. Tell yourself every day that I can, 12000 a month.3. Pre-preview, do not under
root 140179 11?? 17:39/usr/local/bin/memcached-debugStart the Memcache serviceTo start the memcached service:1. Start the server side of the memcache:#/usr/local/bin/memcached-d-M 8096-u root-l 192.168.77.105-p 12000-c 256-p/tmp/memcached.pidThe-D option is to start a daemon,-M is the amount of memory allocated to Memcache, in megabytes, I'm 8096MB,-U is the user running memcache, I am root here,-L is the server IP address of the listener, if there a
the memcache:#/usr/local/bin/memcached-d-M 10-u root-l 192.168.0.200-p 12000-c 256-p/tmp/memcached.pidThe-D option is to start a daemon,-M is the amount of memory allocated to Memcache, in megabytes, I'm 10MB,-U is the user running memcache, I am root here,-L is the server IP address of the listener, if there are multiple addresses, I specify the server IP address 192.168.0.200,-P is the port that sets Memcache listening, I set here
. Start the server side of the memcache:#/usr/local/bin/memcached-d-M 10-u root-l 192.168.0.200-p 12000-c 256-p/tmp/memcached.pid
the-D option is to start a daemon,
-M is the amount of memory allocated to Memcache, in megabytes, I'm 10MB,
-U is the user running memcache, I am root here,
-L is the server IP address of the listener, if there are multiple addresses, I specify the server IP address 192.168.0.200,
-P is the port that se
-called client installation refers to PHP (or other programs, memcache and other good API interface) to use the server-side memcache provided functions, PHP needs to add extensions.We can refer to the specific configuration:Memcache installation under Linux: http://www.ccvita.com/257.htmlMemcache installation under Windows: http://www.ccvita.com/258.htmlMemcache Basic Tutorial: http://www.ccvita.com/259.htmlDiscuz! 's memcache cache implementation: http://www.ccvita.com/261.htmlMemcache Agreemen
-called client installation refers to PHP (or other programs, memcache and other good API interface) to use the server-side memcache provided functions, PHP needs to add extensions.We can refer to the specific configuration:Memcache installation under Linux: http://www.ccvita.com/257.htmlMemcache installation under Windows: http://www.ccvita.com/258.htmlMemcache Basic Tutorial: http://www.ccvita.com/259.htmlDiscuz! 's memcache cache implementation: http://www.ccvita.com/261.htmlMemcache Agreemen
---------- ---------- ----------4 Gyj4 150005 Gyj5 120006 Gyj6 12000
Displays the employee number between 4 and 6. To add not before the between, the opposite is the meaning of two:
Gyj@ocm> SELECT * from t1 where ID is not between 4 and 6;
ID NAME SALARY---------- ---------- ----------2 Gyj2 80003 GYJ3 100007 Gyj7 120001 gyj1 120001 gyj1 20000
(2) Column name [NOT] in (value 1, value 2, ...). ): The column value is equal to the value 1 or equal t
Extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-2007xxxx/"
5. Add a row to load the memcache extension: extension=memcache.sobasic settings for memcached :1. Start the server side of the memcache:#/usr/local/bin/memcached-d-M 10-u root-l 192.168.0.200-p 12000-c 256-p/tmp/memcached.pid
the-D option is to start a daemon,
-M is the amount of memory allocated to Memcache, in megabytes, I'm 10MB,
-U is the use
-P 12000 -C--p/tmp/ memcached.pid #配置连接memcached-d-mTen-U root-l Server ip-p Port-C the-p/tmp/memcached.pid #配置连接说明 parameter description:-D is to start a daemon process-m is the amount of memory allocated to Memcache, in megabytes-U is the user running Memcache-L is the server IP address of the listener-P is the port to set memcache listening, preferably more than 1024 ports-The c option is the maximum number of concurrent connections to run, whi
general study efficiency is about 70%, after all, you can not guarantee that you see the knowledge point must be useful, and there is no guarantee that you will be able to accurately understand the knowledge points, Then count down one months of effective study time only 28 hours, this and online games in the same time, the longer the time, your level is higher, the higher the salary.To tell you some examples of real gold and silver, according to the 2017 market, work experience full 3 years of
After you extract the Memcache Server installation package to the C:\memcached folder, install it using the CMD command window.
1> Start > Run: CMD (OK)
2GT;CD C:\memcached (carriage return)
3>memcached-d Install (enter this step to perform the installation)
4>memcached-d Start (Enter this step to start the Memcache server, the default allocation of 64M memory, use 11211 port)
The Memcache server is now ready to use.
Run on service side:
#./memcached-d-M 2048-l 10.0.0.40-p 11211
This will
.so.131386:trying file=/usr/lib/tls/libevent-1.2.so.131386:trying file=/usr/lib/i686/sse2/libevent-1.2.so.131386:trying file=/usr/lib/i686/libevent-1.2.so.131386:trying file=/usr/lib/sse2/libevent-1.2.so.131386:trying file=/usr/lib/libevent-1.2.so.131386:/home/farman/cacheinstall/bin/memcached:error while loading shared libraries:libevent-1.2.so.1:cannot open shared Object File:no such file or directoryStep two. It's OK to copy libevent-1.3c.so.1 to any one of the listed Lib.or soft links[Farman
/memcached-d-M 10-u root-l 192.168.0.200-p 12000-c 256-p The memcached.pid-d option is to start a daemon, M is the amount of memory allocated to Memcache, in MB, I am here 10MB,-U is the user running memcache, I am here root, and-L is the server IP address of the listener, If there are more than one address, I specify the server's IP address 192.168.0.200, p is set memcache listening port, I set up here 12000
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.