CentOS Linux release 7.5.1804 (Core) Derived from Red Hat Enterprise Linux 7.5 (Source) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACHSTEP CAREFULLY!
Inorderto log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and you haven't set the root password yet, the password will be blank, so you should just press enter here.
Enter current password for root (enter for none): ERROR1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Enter current password for root (enter for none): ERROR1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Enter current password for root (enter for none): OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB root user without the proper authorisation.
Set root password? [Y/n] y New password: Re-enter new password: Password updated successfully! Reloading privilege tables.. ... Success!
Bydefault, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, andto make the installation go a bit smoother. You should remove them before moving into a production environment.
Remove anonymous users? [Y/n] n ... skipping.
Normally, root should only be allowed to connect from'localhost'. This ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] n ... skipping.
Bydefault, MariaDB comes with a database named 'test' that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.
Remove test database and access to it? [Y/n] n ... skipping.
Reloading the privilege tables will ensure that all changes made so far will take effect immediately.
Reload privilege tables now? [Y/n] y ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB installation should now be secure.
[root@VM_0_16_centos opt]# bash /opt/etherpad/etherpad-lite/bin/run.sh You shouldn't start Etherpad as root! Please type'Etherpad rocks my socks' or supply the '--root' argument if you still want to start it as root
"users": { "admin": { // 1) "password" can be replaced with "hash" if you install ep_hash_auth // 2) please note that ifpasswordisnull, the user will not be created "password": "admin", "is_admin": true }, "user": { // 1) "password" can be replaced with "hash" if you install ep_hash_auth // 2) please note that ifpasswordisnull, the user will not be created "password": "user", "is_admin": false } },
Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient. audited 13370 packages in 5.363s
8 packages are looking for funding run `npm fund` for details
found 5 vulnerabilities (3 low, 2 high) run `npm audit fix` to fix them, or `npm audit` for details Clearing minified cache... StartedEtherpad... [2019-12-2815:27:21.215] [DEBUG] console - Running on Node v12.14.0 (minimum required Node version: 8.9.0) [2019-12-2815:27:21.324] [INFO] console - All relative paths will be interpreted relative to the identified Etherpad base dir: /opt/etherpad/etherpad-lite [2019-12-2815:27:21.324] [DEBUG] AbsolutePaths - Relative path "settings.json" can be rewritten to "/opt/etherpad/etherpad-lite/settings.json" [2019-12-2815:27:21.325] [DEBUG] AbsolutePaths - Relative path "credentials.json" can be rewritten to "/opt/etherpad/etherpad-lite/credentials.json" [2019-12-2815:27:21.331] [INFO] console - settings loaded from: /opt/etherpad/etherpad-lite/settings.json [2019-12-2815:27:21.331] [INFO] console - No credentials file found in /opt/etherpad/etherpad-lite/credentials.json. Ignoring. [2019-12-2815:27:21.332] [INFO] console - Using skin "colibris" in dir: /opt/etherpad/etherpad-lite/src/static/skins/colibris [2019-12-2815:27:21.332] [INFO] console - Session key loaded from: /opt/etherpad/etherpad-lite/SESSIONKEY.txt [2019-12-2815:27:21.381] [ERROR] console - (node:25518) [DEP0126] DeprecationWarning: timers.active() is deprecated. Please use timeout.refresh() instead. [2019-12-2815:27:21.382] [ERROR] console - (node:25518) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead. [2019-12-2815:27:21.831] [INFO] APIHandler - Api key file read from: "/opt/etherpad/etherpad-lite/APIKEY.txt" [2019-12-2815:27:22.139] [INFO] console - Installed plugins: ep_align@0.0.24, ep_image_upload@1.0.12 [2019-12-2815:27:22.142] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues [2019-12-2815:27:22.143] [INFO] console - YourEtherpad version is 1.8.0 (5bcc5a3) [2019-12-2815:27:22.228] [INFO] console - You can access your Etherpad instance at http://192.168.151.64:9001/ [2019-12-2815:27:22.228] [INFO] console - The plugin admin page is at http://192.168.151.64:9001/admin/plugins [2019-12-2815:27:22.228] [WARN] console - Etherpad is running in Development mode. This mode is slower for users and less secure than production mode. You should set the NODE_ENV environment variable to production by using: export NODE_ENV=production