![]() ![]() etc/systemd/system/rvice Description = Etherpad, a collaborative web editor. There’s a lot you can configure, but for now we’re interested in two values that update the database configuration: The file is formatted as JSON, but with extensive comments throughout explaining each setting. Then open the settings file using your favorite text editor: Move back up to the /opt/etherpad directory: Your final task as the etherpad user is to update the Etherpad settings.json file to use SQLite for its database, and to work well with Nginx. ![]() Then install the sqlite3 package using npm: We need to cd into the Etherpad src folder and install the sqlite3 package in order to use SQLite as our database. When it’s done, you’ll need to manually install one last dependency. When that’s done, run Etherpad’s installDeps.sh script to install the dependencies: This will pull the master branch of the Etherpad source code into the current directory (. Now clone the Etherpad repository into /opt/etherpad using Git: Your shell prompt will update to show that you’re the etherpad user. Then you’ll change directories ( cd) to /opt/etherpad: To do so, you’ll use the sudo command to open a bash shell as the etherpad user. You now need to run a few commands as the etherpad user. We also create an etherpad group using the -group flag. We give it a home directory of /opt/etherpad, which is where we’ll download and configure the Etherpad software. This creates a -system user, meaning that it can’t log in directly and has no password or shell assigned. sudo adduser -system -group -home /opt/etherpad etherpad.The Etherpad maintainers recommend running the software as its own user, so your first step will be to create a new etherpad user using the adduser command: To install Etherpad, you’ll need to download the source code, install dependencies, and configure systemd to run the server. ![]() ![]() Step 1 - Downloading and Configuring Etherpad When you have the prerequisites in place, continue to Step 1, where we’ll download and configure the Etherpad application. Note: If you’re using DigitalOcean, our DNS Documentation can help you get your domain name set up in the control panel. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |