Created
May 29, 2009 17:47
-
-
Save theIV/120091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd source | |
wget http://monkey.org/~provos/libevent-1.4.11-stable.tar.gz | |
tar -zxvvf libevent-1.4.11-stable.tar.gz | |
cd libevent-1.4.11-stable | |
./configure | |
make | |
sudo make install | |
cd .. | |
wget http://www.danga.com/memcached/dist/memcached-1.2.8.tar.gz | |
tar -zxvvf memcached-1.2.8.tar.gz | |
cd memcached-1.2.8 | |
./configure | |
make | |
sudo make install | |
cd .. | |
touch com.danga.memcached.plist | |
sudo mv com.danga.memcached.plist /Library/LaunchDaemons/ | |
sudo chown root /Library/LaunchDaemons/com.danga.memcached.plist | |
sudo chgrp wheel /Library/LaunchDaemons/com.danga.memcached.plist | |
sudo launchctl load /Library/LaunchDaemons/com.danga.memcached.plist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.danga.memcached</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/memcached</string> | |
<string>-d</string> | |
<string>-u</string> | |
<string>root</string> | |
<string>-p</string> | |
<string>11211</string> | |
<string>-m</string> | |
<string>64</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment