Set Up Centos 7 ServerInstallation Selections
The Minimal Install includes OpenSSH and Postfix but no other server software (that I notice). Additional Tools
Auto Update
Edit /etc/yum/yum-cron.conf so that
Set yum-cron service to auto-start and start it:
Node.js and Global Packages> curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - > sudo yum -y install nodejs Using sudo to install global package seems to be discouraged. The documentation recommends using a version manager, but I feel that changing NPM's default directory (the second option in the documentation) is better because it keeps the same command line syntax as on Windows, and it's one less tool to learn or use. So: > mkdir ~/.npm-global > npm config set prefix '~/.npm-global' Edit .bash_profile so the PATH environment variable looks like the following:
then
And install the following global packages
MongoDBCreate a file /etc/yum.repos.d/mongodb-org-3.6.repo as follows:
then install MongoDB, set the MongoDB server to auto-start and start it:
References |