Created
January 28, 2012 13:05
-
-
Save mkyed/1694240 to your computer and use it in GitHub Desktop.
Installing PowerDNS 3.0.1 on Mac OS X Lion
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
1) Install MySQL <http://dev.mysql.com/> | |
2) Install Homebrew <http://mxcl.github.com/homebrew/> | |
3) $ brew install boost boost-jam lua pkg-config wget | |
4) $ wget http://downloads.powerdns.com/releases/pdns-3.0.1.tar.gz && tar xzf pdns-3.0.1.tar.gz | |
5) $ cd pdns-3.0.1 && ./configure --with-mysql-includes=/usr/local/mysql/include && make && make install | |
6) Adjust /usr/local/etc/pdns.conf to your mysql setup | |
7) cat /System/Library/LaunchDaemons/pdns_server.plist | |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<true/> | |
<key>Label</key> | |
<string>pdns_server</string> | |
<key>Program</key> | |
<string>/usr/local/sbin/pdns_server</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>DYLD_LIBRARY_PATH</key> | |
<string>/usr/local/mysql/lib</string> | |
</dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>SHAuthorizationRight</key> | |
<string>system.preferences</string> | |
</dict> | |
</plist> | |
8) sudo launchctl load /System/Library/LaunchDaemons/pdns_server.plist | |
9) sudo launchctl start pdns_server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks,