port_number<\/span>\u201d with your server\u2019s respective IP address and SSH port number.<\/p>\nBefore starting with the Cezerin installation, it is a good idea to update the system packages to their latest versions, if any are available:<\/p>\n
$ yum -y update<\/pre>\nInstall software package dependencies needed by Cezerin by running the following command:<\/p>\n
$ yum install wget git<\/pre>\n<\/span>Step 2: Install Node.js<\/span><\/h2>\nWe will install Node.js V10 LTS from the NodeSource repository which depends on the EPEL repository being enabled.<\/p>\n
To enable the EPEL repository on your CentOS 7 VPS, issue the following command:<\/p>\n
$ yum install epel-release curl<\/pre>\nOnce the EPEL repository is enabled run the following command to add the Node.js V10 LTS repository:<\/p>\n
$ curl --silent --location https:\/\/rpm.nodesource.com\/setup_10.x | sudo bash -<\/pre>\nOnce the NodeSource repository is enabled, install Node.js with the following command:<\/p>\n
$ yum install nodejs<\/pre>\nTo check the Node.js version you have just installed after these initial steps, type:<\/p>\n
$ node -v<\/pre>\nYou should see an output similar to this. Your version may be newer than the one shown here.<\/p>\n
v10.17.0<\/pre>\n<\/span>Step 3: Install MongoDB Server<\/span><\/h2>\nYou need to add the MongoDB repo using your preferred text editor. We will be using nano:<\/p>\n
$ nano \/etc\/yum.repos.d\/mongodb.repo<\/pre>\n[MongoDB]\r\nname=MongoDB Repository\r\nbaseurl=http:\/\/repo.mongodb.org\/yum\/redhat\/$releasever\/mongodb-org\/4.2\/x86_64\/\r\ngpgcheck=0\r\nenabled=1<\/pre>\nSave and exit the file.<\/p>\n
Now, install MongoDB:<\/p>\n
$ yum install mongodb-org<\/pre>\nStart the MongoDB\u00a0service:<\/p>\n
$ systemctl start mongod.service\r\n$ systemctl enable mongod.service<\/pre>\nVerify the installation of MongoDB. You should have version 4.2 or newer:<\/strong><\/p>\n$ mongod --version<\/strong>\r\ndb version v4.2.1\r\ngit version: edf6d45851c0b9ee15548f0f847df141764a317e\r\nOpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013\r\nallocator: tcmalloc\r\nmodules: none\r\nbuild environment:\r\n distmod: rhel70\r\n distarch: x86_64\r\n target_arch: x86_64\r\n\r\n<\/pre>\n