| # sudo passwd {{newuser}} | # sudo passwd {{newuser}} | ||||
| # Add the User to the sudoers File | # Add the User to the sudoers File | ||||
| # sudo visudo | |||||
| # In the file opened add to the bottom and saveit | |||||
| # {{newuser}} ALL=(ALL) ALL | |||||
| # usermod -aG wheel {{newuser}} | # usermod -aG wheel {{newuser}} | ||||
| # Switch to the new user | # Switch to the new user | ||||
| # su - {{newuser}} | # su - {{newuser}} | ||||
| # comment out mirrorlist line, mirrorlist=http:/{{}} | # comment out mirrorlist line, mirrorlist=http:/{{}} | ||||
| # Uncomment the baseurl line and change http://mirror.centos.org{{}} to http://vault.centos.org{{}} | # Uncomment the baseurl line and change http://mirror.centos.org{{}} to http://vault.centos.org{{}} | ||||
| # FOR REDIS | |||||
| # sudo dnf install redis | |||||
| # sudo vi /etc/redis.conf | |||||
| # Comment bind 127.0.0.1 line with # and save the file | |||||
| # requirepass your_secure_password # set the password to connect | |||||
| # sudo systemctl start redis | |||||
| # sudo systemctl enable redis | |||||
| # sudo systemctl status redis | |||||
| # TO test redis run the below | |||||
| # redis-cli and then type ping, we should get back pong as response | |||||
| # sudo firewall-cmd --zone=public --add-port=6379/tcp --permanent | |||||
| # sudo firewall-cmd --reload | |||||
| # Download steps | # Download steps | ||||
| # wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux/centos/elxr/setup.sh | # wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux/centos/elxr/setup.sh |