Printed with joliprint 6. Import HTML, Word, RTF 5. History Playback 4. Infinite Undo 3. Color-coded edits 2. Letter by letter collaboration 1. Online word-processor with formatting options sions, education, team programming, and more… Etherpad is useful for meeting notes, drafting ses- productive ways to collaborate on text documents. screens of all participating users, enabling new and All editing of the document is instantly visible on the time. that allows people to work together in really EtherPadreal- SUSE Linux on real-timereally indocuments Collaborateon Install Etherpad on SUSE Linux S V N Labs Softwares is the first web-based word processor

open source release Instructions for compiling and running the JavaScript, Ruby, Python etc. 10. Support with PHP, jQuery, Elgg, Apple devices, CMS with jQuery and PHP examples Super9.simple toembedinto yourownwebsite/ 8. Change Zoom 7. Export as HTML, Word, PDF mysql-connector-java (tested with 5.1.18) MySQL Server 5.1 (tested with 5.1.59) Scala 2.7 (tested with 2.7.7) Java 1.6 (tested with 1.6.0_20) Requirements # cd /usr/local processor-is-64-bit-or-not/ http://www.cyberciti.biz/faq/linux-how-to-find-if- # uname -a won’t work on SUSE, It support ToolSetup / ManagersPackageGeneralUbuntu. or CentOSRedHat, fromdifferent is Linux SUSE Open SUSE Linux….. Here are some simple steps to install Etherpad on nothing that is fine too! I just want to help you out… If you want to pay me http://blog.svnlabs.com/2011/10/install-etherpad-on-suse-linux/ How we can install Etherpad on Open First check your server architecture

SUSE Linux?

Zypper October 23, 2011

or EtherPad YaST admin Page 1 .

Printed with joliprint # tar xvzf scala-2.7.7.final.tgz # yast2 –install fastjar or # yast –install fastjar or Try / s d a o l n w o d / m o c . # l zypper install mysql-server q s y m . v e d / / mysql/5.1.#downloads : p t t h 2.7.7.final.tgz linuxsoft_archives/downloads/distrib/files/scala- # wget http://www.scala-lang.org/sites/default/files/ # zypper install fastjar 6u20-linux-i586-rpm.bin # wget http://autosetup1.googlecode.com/files/jdk- I am using 32-bit here… # uname -a # useradd -r -m etherpad # chkconfig mysqld on # service mysqld start # passwd etherpad # java -version # sh jdk-6u20-linux-i586-rpm.bin Install Etherpad on SUSE Linux S V N Labs Softwares Create username ‘etherpad’ with password

Download MySQL Java Connector

Download Scala Install MySQL Install fastjar Install Java ‘password’

Or # zypper install mysql-connector-java # zypper install git # zypper install mercurial # tar xvzf mysql-connector-java-5.1.18.tar.gz tor-J/mysql-connector-java-5.1.18.tar.gz # wget http://mysql.llarian.net/Downloads/Connec export JAVA=$JAVA_HOME/bin/java export JAVA_HOME=/usr/java/jdk1.6.0_20/ # vi myENV # touch myENV machine: Forexample, thissets theup environment myon download. connector JAR file included in the mysql-connector MYSQL_CONNECTOR_JAR should be set to the mysql- PATH should contain $JAVA, $SCALA, and mysql tribution directory. SCALA_HOME should be set to the main scala dis- SCALA should be set to the scala executable. directory. jdk main to set the be should JAVA_HOME Environment -m tcp –dport 9000 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state –state NEW # /etc/sysconfig/iptables JAVA should be set to the java executable. ment variables: Various scripts make assumptions about environ http://blog.svnlabs.com/2011/10/install-etherpad-on-suse-linux/ Make sure port 9000 must be open on Install MER

IPTABLES / Firewall

­CU ­R ­IAL .. OR GIT October 23, 2011

Page 2

- -

Printed with joliprint # cd etherpad/trunk/etherpad etherpad.local.properties # cp etc/etherpad.localdev-default.properties data/ # cd /usr/local etherpad https://etherpad.googlecode.com/hg/ clone hg # SCALA_HOME=/usr/local/scala/scala- 2.7.7.final/ export export SCALA=$SCALA_HOME/bin/scala bin:$PATH PATH=$JAVA_HOME/bin:$SCALA_HOME/ export # cat myENV >> /etc/profile qlconnector/mysql-connector-java-5.1.18-bin.jar MYSQL_CONNECTOR_JAR=/usr/local/mysexport - Install Etherpad on SUSE Linux S V N Labs Softwares ./etc/etherpad.localdev-default.properties Some Changes in etherpad source for

Download EtherPad your server…

http://blog.svnlabs.com/2011/10/install-etherpad-on-suse-linux/ ./src/templates/framed/framedheader-pro. ./src/templates/pro/admin/admin- ./src/static/crossdomain.xml ./bin/setup-mysql-db.sh template.ejs ./src/main.js ejs October 23, 2011 Page 3 Printed with joliprint ajcode/etherpad/. database by running the following command inside Once mysqld is running, you can set up the Theetherpad scripts assume mysqld is running on localhost. Database Setup Install Etherpad on SUSE Linux S V N Labs Softwares ./src/etherpad/control/pad/pad_control.js ./src/etherpad/control/pro/pro_main_ ./src/etherpad/control/global_pro_ ./src/etherpad/pro/pro_utils.js ./src/etherpad/globals.js account_control.js

control.js If you modify anything in ajcode/infrastructure, you # bin/rebuildjar.sh following command inside ajcode/etherpad/. into a single JAR. To build this jar, you can run the EtherPadJavacompilesitsalllibrariesScala and Compiling is run. All the tables will be set up the first time etherpad the user “etherpad”. thepassword “password”, and grant privileges to This will create a database called “etherpad” with # bin/setup-mysql-db.sh Could not create the Java virtual machine. Could not reserve enough space for object heap Error occurred during initialization of VM If you have error related to JVM Thanks to a new pad. youdomain:9000/ in your web browser and create Atthis point, you should beable to visit http:// http://youdomain:9000/ on listening server HTTP print: of messages about database migrations and finally The first time you run this, it should print out lots # bin/run-local.sh lowing command inside ajcode/etherpad/. server,foletherpadwebexecutethe the run To Running automatically get picked up. whiletheserver running,is andthechanges will ajcode/etherpad/srcmodifiedinsideCodebe can takes effect. jar,re-launchserverandbeforetheyourchange will most likely need to kill the server, rebuild the http://blog.svnlabs.com/2011/10/install-etherpad-on-suse-linux/

Pauleira!

October 23, 2011

Page 4

-

Printed with joliprint Other Link: -Xss128k -Xmx56m _JAVA_OPTIONS=’-Xms32m-XX:PermSize=32m -XX:MaxPermSize=64m’ export # Fix using http://code.google.com/p/etherpad/ https://github.com/ether/pad http://etherpad.com/ http://etherpad.org/ Install Etherpad on SUSE Linux S V N Labs Softwares

http://blog.svnlabs.com/2011/10/install-etherpad-on-suse-linux/ October 23, 2011 Page 5