Installing your own Google Wave Federation Prototype Server
November 3, 2009 § 1 Comment
Ok, first of all, you’re all pretty anxious to get onto google wave. Here are some steps to get your own (albeit a console version) of your own FedOne Server. This process will use OpenFire as the XMPP server, others can be used such as Prosody.
Examples and screenshots have been created on a Mac, but this procedure allows for both OSX and Debian/Ubuntu installations.
Installation of Components
Openfire is a collaborative server based on XMPP which we will load the Prototype Server (FedOne) as an extension. Just choose your platform and follow the instructions.
For OSX: Just download the dmg and install the package.
sudo dpkg -i openfire_3.6.4_all.deb
sudo /etc/init.d/openfire restart
Add these paths to your .profile located in /Users/<you>/.profile (For OSX)
Navigate to http://localhost:9090 to setup Openfire which you just installed.
You will now need to restart OpenFire (hint, it is located in System Preferences)
After you have restarted OpenFire you need to configure it a little more, allowing FedOne to interact with it.
Navigate to http://localhost:9090 once more.
Login with Username: admin Password: whatever you set in the admin setup.
Go to Server -> Server Settings -> External Components.
Go to Server -> Server Settings -> Security Settings
Now pull the latest repo to a folder with the mercurial command:
hg clone https://wave-protocol.googlecode.com/hg/ wave-protocol
After you receive BUILD SUCCESSFUL, rename run-config.sh.example to run-config.sh and edit your settings in this file.
# Domain name of the wave server
# Host name and port the wave server's client frontend listens on
# The version of FedOne, extracted from the build.properties file
FEDONE_VERSION=`grep ^fedone.version= build.properties | cut -f2 -d=`
### Server-specific variables
# These will probably need to be changed
# These should be okay to leave alone
# Set XMPP_SERVER_IP to localhost if the XMPP and FedOne servers are
# running on the same host
# Set true to disable the verification of signed deltas
# Set true to disable the verification of signers (certificates)
We’re almost there.
Now you need a certificate:
Run this in terminal, so it exports in the same wave-protocol folder.
openssl genrsa 1024 | openssl pkcs8 -topk8 -nocrypt -out localhost.key
openssl req -new -x509 -nodes -sha1 -days 365 -key localhost.key -out localhost.cert
Replace localhost if you need for the filenames.
Now run the config:
Now to run the server:
And run our client:
Here are a couple of client commands to mess around with: