5/22/12

etherpad-lite ec2 ubuntu

To install etherpad-lite on an EC2 Ubuntu instance, log into it and do:

sudo apt-get install gzip git-core curl python libssl-dev pkg-config
sudo apt-get install build-essential mysql-server

mysql -u root -p
create database `store`;
grant all privileges on `store`.* to 'root'@'localhost' identified by '';
exit

git clone git://github.com/joyent/node.git
cd node
git checkout v0.6.18
./configure
make
sudo make install
cd ..

git clone 'git://github.com/Pita/etherpad-lite.git'
cd etherpad-lite
bin/installDeps.sh
vi settings.json
    comment out the section that sets the database to 'dirty',
and uncomment the default mysql section that is commented out bin/run.sh press Ctrl-C mysql -u root -p ALTER DATABASE `store` CHARACTER SET utf8 COLLATE utf8_bin; USE `store`; ALTER TABLE `store` CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin; exit bin/run.sh &

No comments:

Post a Comment