Переглянути джерело

centos redis installed

production
samuel 1 місяць тому
джерело
коміт
23a03ddc5f
1 змінених файлів з 13 додано та 3 видалено
  1. 13
    3
      linux/centos/elxr/setup.sh

+ 13
- 3
linux/centos/elxr/setup.sh Переглянути файл

@@ -3,9 +3,6 @@
# sudo passwd {{newuser}}

# 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}}
# Switch to the new user
# su - {{newuser}}
@@ -25,6 +22,19 @@
# comment out mirrorlist line, mirrorlist=http:/{{}}
# 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
# wget http://git.bbh.org.in/chess/elxr/raw/branch/master/linux/centos/elxr/setup.sh

Завантаження…
Відмінити
Зберегти