Software configuration for commodity x86/86_64 linux art research platform.
Prerequisites
Assume Fedora 27 or 28. See base document for full software stack.
Etherpad Setup
Etherpad is a collaborating system for writing. Some required packages: Node.js
dnf install -y nodejs
Next, create a system-level user to checkout the etherpad sources and run the etherpad application. For this, use parseepad
. After this is done, clone the repository.
cd /var/www; git clone https://github.com/ether/etherpad-lite.git;
This will checkout sources in the following directory, which doubles as the installation location for this package: /var/www/etherpad-lite
To start up the etherpads, run
/var/www/etherpad-lite/bin/run.sh
And then open the following in a browser, to bring up the etherpad main page:
http://localhost:9100
Close the terminal or otherwise exit the etherpad process to continue installation.
Next, conversion to mysql database. Configure the etherpad database, called parse_pad_db
.
mysqladmin create parse_pad_db -u root -p
Make a system database user parsepad
, give it access to the etherpads’s database.
sudo mysql -D mysql -u root -p; GRANT ALL PRIVILEGES ON parse_pad_db.* TO 'parsepad'@'localhost' IDENTIFIED BY 'yer-password-here'; FLUSH PRIVILEGES; QUIT;
Next, edit /var/www/etherpad-lite/settings.json
to tie in the database above:
/* An Example of MySQL Configuration */ "dbType" : "mysql", "dbSettings" : { "user" : "parsepad", "host" : "localhost", "password": "your-password-here", "database": "parse_pad_db", "charset" : "utf8mb4" },
Next, go to the admin page and install some plugins:
http://0.0.0.0:9001/admin/plugins
Add the following
adminpads, bookmark, small_list, themes, font_color, font_family, font_size, print, copy_paste_images, sketchspace
Finally, restart the etherpad application and start making pads!
Main configuration file is: /var/www/etherpad-lite/settings.json
1 Comment