-
Download git and nano (easy GNU nano text editor )
sudo yum install git -ysudo yum install nano -y -
Download firewallcmd
sudo dnf install firewalldand run this commandsudo systemctl enable firewalldsudo systemctl start firewalld -
Get pub key using
ssh-keygenand register your pub key associated with your account -
Install docker reference Docker Cent OS.
-
Install node
sudo dnf module list nodejsdnf module enable nodejs:$latestsudo dnf install nodejs -
Install mongodb
nano /etc/yum.repos.d/mongodb.repoAdd this to /etc/yum.repos.d/mongodb.repo
[mongodb-org-4.4] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/7Server/mongodb-org/4.4/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-4.4.ascyum -y install mongodb-orgCreate user and change security auth /etc/mongod.conf then restart
sudo systemctl restart mongod("if failed change the ownership of the/var/lib/mongodand everything works -
Install nginx
sudo dnf install nginxsudo systemctl enable nginxsudo systemctl start nginx -
Install certbot for HTTPS/SSL
sudo dnf install epel-releasesudo dnf install certbot python3-certbot-apache mod_sslsudo certbot —nginx -d example.com
-
Notifications
You must be signed in to change notification settings - Fork 0
francepatrick/cent-os-cheatsheet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
cent-os setup cheatsheet
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published