Copy&Waste

Posts tagged "ubuntu"

Installing Hubot as a Campfire bot on Ubuntu 10.04.2

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get update
sudo apt-get install nodejs nodejs-dev redis-server

#check to see if node installed
node -v


#install npm
curl http://npmjs.org/install.sh | sudo sh

#verify npm install
npm -v


cd /tmp

git clone https://github.com/github/hubot.git
cd hubot
npm install
sudo npm install -g coffee-script 
make test


sudo cp -R /tmp/hubot /etc/.


export PATH="/etc/hubot/bin:$PATH"
export HUBOT_CAMPFIRE_TOKEN="<YOUR_BOTS_CAMPFIRE_API_TOKEN>"
export HUBOT_CAMPFIRE_ROOMS="<YOUR_CAMPFIRE_ROOM_NUMBER>"
export HUBOT_CAMPFIRE_ACCOUNT="<YOUR_CAMPFIRE_SUBDOMAIN>"


hubot -a campfire -n <YOUR_BOTS_CAMPFIRE_ACCOUNT_NAME> &
Tagged as campfire , hubot ubuntu
Written by Andrew Konkol on January 6th, 2012 | 0 Comments

Getting apt-get install dovecot-common dovecot-imapd dovecot-pop3d to work in ubuntu

When installing dovecot you might get this error:

Setting up dovecot-common (1:1.2.9-1ubuntu6.5) ... Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem (replace with hand-crafted or authorized one if needed). hostname: Name or service not known

What this mean's is that the installer is trying to issue "hostname -f" and it can't resolve your fqdn.

-f, Display the FQDN (Fully Qualified Domain Name). A FQDN consists of a short host name and the DNS domain name. Unless you are using bind or NIS for host lookups you can change the FQDN and the DNS domain name (which is part of the FQDN) in the /etc/hosts file. See the warnings in section THE FQDN above, and avoid using this option; use hostname --all-fqdns instead.

The Fix: vi /etc/hosts 11.11.11.11 example.com example where 11.11.11.11 is your publicly routeable ip address

Tagged as dovecot , ubuntu
Written by Andrew Konkol on July 14th, 2011 | 0 Comments
Copyright © 2013 Andrew Konkol | Contact | Feeds