



Printf "deb $(lsb_release -sc) nginx\ndeb-src $(lsb_release -sc) nginx\n" > /etc/apt//nginx_mainline.listĮnable and start Nginx. We will use Nginx in this tutorial, but any other server will do, you just need to configure it properly. This ensures you can use features like SSL, multiple websites, caching and more. It is highly recommended to put a standard web server in front of Wiki.js. mongo -version | head -n 1 & mongod -version | head -n 1Įnable and start MongoDB. sudo apt-key adv -keyserver hkp://:80 -recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5Įcho "deb stretch/mongodb-org/3.6 main" | sudo tee /etc/apt//mongodb-org-3.6.listĬheck the version. We will use the official MongoDB repositories for installation. According to that, we will need to install MongoDB on our server. Wiki.js uses MongoDB as a database engine. curl -sL | sudo -E bash -Ĭheck the Node.js and npm versions. Install Node.js by utilizing NodeSource APT repository for Node.js. NOTE: Replace johndoe with your username. apt install -y build-essential apt-transport-https sudo curl wget dirmngr sudoĬreate a new non-root user account with sudo access and switch to it. lsb_release -dsĮnsure that your system is up to date. Domain name with A/ AAAA records set upĬheck the Debian version.A Git-compliant repository (public or private) ( optional).This guide will show you how to install Wiki.js on a fresh Debian 9 Vultr instance by using Node.js, MongoDB, PM2, Nginx, Git and Acme.sh. Wiki.js source code is publicly hosted on GitHub. Wiki.js is a free and open source, modern wiki app built on Node.js, MongoDB, Git and Markdown.
