forked from jadugarmjadugar/aws-ppt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DBs installation
34 lines (26 loc) · 1.1 KB
/
DBs installation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
###################### RDS ##################################
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.MySQL.html#CHAP_GettingStarted.Connecting.MySQL
sudo dnf install mariadb105
mysql -h endpoint -P 3306 -u admin -p
#################### Redis ################################
Installation of redis
1. https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-connecting.html
sudo yum install gcc
wget http://download.redis.io/redis-stable.tar.gz
tar xvzf redis-stable.tar.gz
cd redis-stable
make distclean # ubuntu systems only
make
Connection to DB
https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/GettingStarted.ConnectToCacheNode.html
src/redis-cli -h configuration-endpoint
(remove 6379)
###################### Valkey (New Documentation)############################
sudo yum install gcc
wget https://github.com/valkey-io/valkey/archive/refs/tags/7.2.6.tar.gz
mv 7.2.6.tar.gz valkey-7.2.6.tar.gz
tar xvzf valkey-7.2.6.tar.gz
cd valkey-7.2.6
make
src/valkey-cli -c -h mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com
(remove 6379)