Installation:
1. Download memcached, http://www.danga.com/memcached;
2. decompress, such as placed in D: \ memcached-1.2.1;
3. Input 'd: \ memcached-1.2.1 \ memcached.exe-D install' under DOS to install (note ''do not enter );
4. Enter 'd: \ memcached-1.2.1 \ memcached.exe-D start' again to start memcached.
Note: memcached will be started at random. In this way, memcached has been installed.
Command:
-H Show Help
-P listening port
-L connected IP address. The default value is local
-D start: Start the memcached service.
-D restart: restart the memcached service.
-D stop | Shutdown the running memcached Service
-D install the memcached Service
-D uninstall memcached Service
-U runs as the identity (only valid when running as root)
-MB maximum memory usage, in MB. The default value is 64 MB.
-An error is returned when M memory is used up, instead of deleting items.
-C: Maximum number of simultaneous connections. The default value is 1024.
-F block size growth factor, default value: 1.25
-N: the minimum allocation space. The default value of key + value + flags is 48.