Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
86 lines (57 sloc) 2.906 kB
INSTALLATION INSTRUCTIONS
OPTION #1. INSTALLING ON POSIX COMPATIBLE SYSTEMS
* Install the dependencies: Scala 2.7, Sun Java JDK 6 or OpenJDK 6, libmysql-java
* Uninstall gcj if it's installed as it seems to interfere with the
Scala compiler. You can safely reinstall it after compiling Etherpad
if you want to.
* You might want to edit the file bin/exports.sh (and optionally
etherpad/bin/etherpad.default) and change the paths to match your system
but important paths are already autodetected.
* Run bin/build.sh
* Create a new user on your system called "etherpad"
* Create a MySQL database "etherpad" and a database user "etherpad"
* Copy etherpad/etc/etherpad.localdev-default.properties to etherpad/etc/etherpad.local.properties
* Edit etherpad/etc/etherpad.local.properties and set
etherpad.SQL_JDBC_URL
Example etherpad.SQL_JDBC_URL = jdbc:mysql://localhost:3306/etherpad
etherpad.SQL_PASSWORD
etherpad.SQL_USERNAME = etherpad
etherpad.adminPass
topdomains
Example: topdomains = yourhostname.com,localhost
* You can now run etherpad via bin/run.sh
* If you want to have Etherpad run via init, create a link
to debian/etherpad.init from /etc/init.d/etherpad and
enable via update-rc.d etherpad defaults ; you'll also
need to create an etherpad user and group via
groupadd etherpad && useradd -G etherpad etherpad
* You can then start etherpad with run /etc/init.d/etherpad start
OPTION #2: BUILDING THE .DEB PACKAGE
sudo apt-get install po-debconf debhelper dbconfig-common sun-java6-jdk mysql-client libmysql-java scala scala-library
debuild -us -uc
As an alternative to debuild you can run
git-buildpackage -us -uc
if you cloned the git repository (debuild will work also, but git-buildpackage
does some extra sanity checks). In the end you will have a file called
etherpad*.deb in the directory one level above your current directory.
* install the .deb package
cd ..
sudo dpkg -i etherpad*.deb
* To run it, do etc/init.d/etherpad start
OPTION #3. INSTALLING ON WINDOWS SYSTEMS WITH CYGWIN
* Install the dependencies in paths that do not contain spaces: cygwin, Scala 2.7, Sun Java JDK 6 or OpenJDK 6, libmysql-java
* Uninstall gcj if it's installed as it seems to interfere with the
Scala compiler. You can safely reinstall it after compiling Etherpad
if you want to.
* Run bin/build.sh
* Create a MySQL database "etherpad" and a database user "etherpad"
* Copy etherpad/etc/etherpad.localdev-default.properties to etherpad/etc/etherpad.local.properties
* Edit etherpad/etc/etherpad.local.properties and set
etherpad.SQL_JDBC_URL
Example etherpad.SQL_JDBC_URL = jdbc:mysql://localhost:3306/etherpad
etherpad.SQL_PASSWORD
etherpad.SQL_USERNAME = etherpad
etherpad.adminPass
topdomains
Example: topdomains = yourhostname.com,localhost
* You can now run etherpad via bin/run.sh
Jump to Line
Something went wrong with that request. Please try again.