Adjust README files.
This commit is contained in:
parent
3f772a8f81
commit
3b98bf82e9
@ -2,16 +2,13 @@
|
|||||||
# Install Etherpad Lite
|
# Install Etherpad Lite
|
||||||
# -----
|
# -----
|
||||||
|
|
||||||
# Add repository for node.js 10.x
|
# ----------
|
||||||
|
# Install nodejs:
|
||||||
#
|
#
|
||||||
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
# see: README.install-node.js
|
||||||
|
# ----------
|
||||||
|
|
||||||
# Install nodejs
|
|
||||||
#
|
|
||||||
apt install -y nodejs
|
|
||||||
|
|
||||||
|
|
||||||
|
# ----------
|
||||||
# Install abiword
|
# Install abiword
|
||||||
#
|
#
|
||||||
# Abiword is needed to get advanced import/export features of pads. Setting
|
# Abiword is needed to get advanced import/export features of pads. Setting
|
||||||
@ -19,6 +16,7 @@ apt install -y nodejs
|
|||||||
# import/exports.
|
# import/exports.
|
||||||
#
|
#
|
||||||
apt-get install abiword
|
apt-get install abiword
|
||||||
|
# ----------
|
||||||
|
|
||||||
# Create user/group etherpad
|
# Create user/group etherpad
|
||||||
#
|
#
|
||||||
@ -48,32 +46,13 @@ git clone --branch master https://github.com/ether/etherpad-lite.git
|
|||||||
# Type CTRL + 'c' to leave
|
# Type CTRL + 'c' to leave
|
||||||
#
|
#
|
||||||
cd etherpad-lite
|
cd etherpad-lite
|
||||||
bin/run.sh
|
src/bin/run.sh
|
||||||
|
|
||||||
# <CTRL> + c
|
|
||||||
|
|
||||||
|
|
||||||
# Install plugins
|
# Stop etherpad-lite now
|
||||||
#
|
#
|
||||||
# does NOT WORK this time (etherpad version 1.8.7)
|
<CTRL> + c
|
||||||
# ep_delete_after_delay \
|
|
||||||
#
|
|
||||||
npm install \
|
|
||||||
ep_adminpads2 \
|
|
||||||
ep_headings2 \
|
|
||||||
ep_delete_empty_pads \
|
|
||||||
ep_fileupload \
|
|
||||||
ep_markdown \
|
|
||||||
ep_comments_page \
|
|
||||||
ep_align \
|
|
||||||
ep_font_color \
|
|
||||||
ep_font_size \
|
|
||||||
ep_print \
|
|
||||||
ep_set_title_on_pad \
|
|
||||||
ep_table_of_contents \
|
|
||||||
ep_embedded_hyperlinks2
|
|
||||||
|
|
||||||
npm audit fix
|
|
||||||
|
|
||||||
# Edit settings file 'vim /var/www/etherpad/etherpad-lite/settings.json'
|
# Edit settings file 'vim /var/www/etherpad/etherpad-lite/settings.json'
|
||||||
#
|
#
|
||||||
@ -86,11 +65,71 @@ npm audit fix
|
|||||||
# 2.) Uncomment section '"users": {' and set password to make admin settings page
|
# 2.) Uncomment section '"users": {' and set password to make admin settings page
|
||||||
# available - https://${FQHN}/admin
|
# available - https://${FQHN}/admin
|
||||||
#
|
#
|
||||||
|
# Passwords:
|
||||||
|
# admin: dbddhkpuka
|
||||||
|
# users: chnarzfoo5
|
||||||
|
#
|
||||||
|
#
|
||||||
# 3.) To suppress these warning messages change 'suppressErrorsInPadText' to true
|
# 3.) To suppress these warning messages change 'suppressErrorsInPadText' to true
|
||||||
#
|
#
|
||||||
vim /var/www/etherpad/etherpad-lite/settings.json
|
vim /var/www/etherpad/etherpad-lite/settings.json
|
||||||
|
|
||||||
|
|
||||||
|
# Install plugins
|
||||||
|
#
|
||||||
|
# does NOT WORK this time (etherpad version 1.8.7)
|
||||||
|
# ep_delete_after_delay \
|
||||||
|
#
|
||||||
|
# - adminpads3 (ep_adminpads3)
|
||||||
|
#
|
||||||
|
# - align (ep_align)
|
||||||
|
#
|
||||||
|
# - delete_after_delay (oep_delete_after_delay)
|
||||||
|
#
|
||||||
|
# Install the plugin and put this in your settings.json:
|
||||||
|
#
|
||||||
|
# "ep_delete_after_delay": {
|
||||||
|
# "delay": 86400, // one day, in seconds
|
||||||
|
# "loop": true,
|
||||||
|
# "loopDelay": 3600, // one hour, in seconds
|
||||||
|
# "deleteAtStart": true,
|
||||||
|
# text": "The content of this pad has been deleted since it was older than the configured delay."
|
||||||
|
# },
|
||||||
|
#
|
||||||
|
# - delete_empty_pads (ep_delete_empty_pads)
|
||||||
|
#
|
||||||
|
# - font_color (ep_font_color)
|
||||||
|
#
|
||||||
|
# - font_size (ep_font_size)
|
||||||
|
#
|
||||||
|
# - headings2 (ep_headings2)
|
||||||
|
#
|
||||||
|
# - markdown (ep_markdown)
|
||||||
|
#
|
||||||
|
# - print (ep_print)
|
||||||
|
#
|
||||||
|
# - set_title_on_pad (ep_set_title_on_pad)
|
||||||
|
#
|
||||||
|
# - table_of_contents (ep_table_of_contents)
|
||||||
|
|
||||||
|
|
||||||
|
# installation via 'npm install ..' does not work yet. So you
|
||||||
|
# have to install the plugins manualy
|
||||||
|
#
|
||||||
|
#npm install \
|
||||||
|
# ep_adminpads3 \
|
||||||
|
# ep_align \
|
||||||
|
# ep_delete_after_delay \
|
||||||
|
# ep_delete_empty_pads \
|
||||||
|
# ep_font_color \
|
||||||
|
# ep_font_size \
|
||||||
|
# ep_headings2 \
|
||||||
|
# ep_markdown \
|
||||||
|
# ep_print \
|
||||||
|
# ep_set_title_on_pad \
|
||||||
|
# ep_table_of_contents \
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Plugin delete_after_delay
|
# Plugin delete_after_delay
|
||||||
#
|
#
|
||||||
|
48
README.install-node.js
Normal file
48
README.install-node.js
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# ----------
|
||||||
|
# - Install nodejs - (we use the official NodeJs LTS release)
|
||||||
|
# ----------
|
||||||
|
|
||||||
|
# Install Prerequisites
|
||||||
|
#
|
||||||
|
apt install curl \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
gnupg \
|
||||||
|
apt-transport-https \
|
||||||
|
lsb-release
|
||||||
|
|
||||||
|
|
||||||
|
# Download and import the Nodesource GPG key
|
||||||
|
#
|
||||||
|
mkdir -p /etc/apt/keyrings
|
||||||
|
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||||
|
|
||||||
|
# Create debian repository
|
||||||
|
#
|
||||||
|
NODE_MAJOR=20
|
||||||
|
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
|
||||||
|
|
||||||
|
# Run update
|
||||||
|
#
|
||||||
|
apt update
|
||||||
|
|
||||||
|
# Install nodejs
|
||||||
|
#
|
||||||
|
apt install nodejs
|
||||||
|
|
||||||
|
node -v
|
||||||
|
npm -v
|
||||||
|
|
||||||
|
|
||||||
|
# ----------
|
||||||
|
# Uninstall nodejs Ubuntu & Debian packages
|
||||||
|
# ----------
|
||||||
|
|
||||||
|
# To completely remove Node.js installed from the deb.nodesource.com package methods above:
|
||||||
|
#
|
||||||
|
apt-get purge nodejs
|
||||||
|
rm -r /etc/apt/sources.list.d/nodesource.list
|
||||||
|
rm -r /etc/apt/keyrings/nodesource.gpg
|
||||||
|
|
||||||
|
apt update
|
Loading…
Reference in New Issue
Block a user