소스 검색

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

Loading…
취소
저장