-
Notifications
You must be signed in to change notification settings - Fork 1
faq How to install Redis in PadoGrid
Redis OSS does not provide binary distributions. If you installed Redis using install_padogrid
, you have downloaded a source code distribution from the Redis GitHub repo. You will need to build the distribution by running the make
command. For example, if you downloaded Redis 7.0.2, then you would take the following steps.
cd ~/Padogrid/products/redis-7.0.2
make
That's all to it if all goes well. If it fails to build, then you probably need to install the missing development packages before trying it again.
On macOS, we found no issues building Redis.
On Linux, if you are not able to build Redis even after installing the required development packages, try compiling it against libc
as follows. (This is documented at the Redis repo.)
make MALLOC=libc
For Vagrant VMs in PadoGrid, you can build Redis using one of the VMs.
- Download Redis and inflate it in
~/Padogrid/products/linux/
- Create a pod with the products directory set to
~/Padogrid/products/linux/redis-<version>/
- Build the pod
- Login to the primary node, i.e.,
pnode.local
- Install development packages.
- Change directory to
~/products/linux/redis-<version>/
- Compile
Example:
# Interactively install Redis
install_padogrid -product redis-oss
# Assuming you have installed Redis v7.0.2, inflate the distribution in the
# directory that will be mounted in the VMs.
tar -C ~/Padogrid/products/linux ~/Padogrid/downloads/redis-7.0.2.tar.gz
# Create a pod non-interatively (-quiet) for ubuntu/bionic64 with Avahi enabled.
# The '-count 3' option is for creating 3 data nodes in addition to a primary node.
# Redis requires at least 3 nodes to form a cluster. That's without replicas.
# For replicas of 1, you would need 6 nodes.
create_pod -pod mypod -dir ~/Padogrid/products/linux \
-box ubuntu/bionic64 -count 3 -avahi -quiet
# Build the pod
build_pod -pod mypod
# Login to pnode.local
switch_pod mypod
vagrant ssh
# Install development packages
sudo apt install make
sudo apt install make-guile
sudo apt install pkg-config
# Compile
cd ~/products/redis-7.0.2
make MALLOC=libc
PadoGrid Manual
Overview
- Home
- PadoGrid in 5 Minutes
- Quick Start
- Introduction
- Bundle Catalogs
- Building PadoGrid
- Supported Data Grid Products and Downloads
- PadoGrid Components
- Installing PadoGrid
- Root Workspaces Environments (RWEs)
- Initializing PadoGrid
- Bash Auto-Completion
- Viewing PadoGrid Summaries
- Updating Products
- Upgrading PadoGrid
- Migrating Workspaces
- PadoGrid Pods
- Kubernetes
- Docker
- Apps
- Software List
Operations
- Workspace Lifecycle Management
- Creating RWE
- Creating Workspace and Starting Cluster
- Managing Workspaces
- Understanding Workspaces
- Understanding Clusters
- Running Clusters
- Default Port Numbers
- Running Clusters Independent of PadoGrid
- Running Apps
- Understanding Groups
- Running Groups
- Understanding Bundles
- User Bundle Repos
- Using Bundle Templates
- Bundle Repo Guidelines
- User Bundle Catalogs
- Private Bundle Repos
- Gitea Repos
- Running Bundles in Container
- PadoGrid Addon Jars
- Understanding PadoGrid Pods
- Tested Vagrant Boxes
- VM-Enabled Pods
- Multitenancy
- Multitenancy Best Practices
- PadoGrid Configuration Files
Tools
Platforms
Clouds
Pado
Geode/GemFire
- Geode CLASSPATH
- Geode Kubernetes
- Geode Minikube
- Geode Minikube on WSL
- Geode Docker Compose
- Geode Grafana App
- Geode
perf_test
App - Geode WAN Example
- Geode Workspaces on VMs
- Geode on AWS EC2
- Reactivating Geode Workspaces on AWS EC2
Hazelcast/Jet
- Hazelcast CLASSPATH
- Creating Jet Workspace
- Configuring Hazelcast Addon
- HQL Query
- Hazelcast Kubernetes
- Hazelcast GKE
- Hazelcast Minikube
- Hazelcast Minikube on WSL
- Hazelcast Minishift/CDK
- Hazelcast OpenShift
- Hazelcast Docker Compose
- Hazelcast Desktop App
- Hazelcast Grafana App
- Hazelcast
jet_demo
App - Hazelcast
perf_test
App - Hazelcast WAN Example
- Hazelcast Workspaces on VMs
- Hazelcast on AWS EC2
- Reactivating Hazelcast Workspaces on AWS EC2
ComputeDB/SnappyData
Coherence
Hadoop
Kafka/Confluent
Mosquitto
- Mosquitto CLASSPATH
- Mosquitto Overview
- Installing/Building Mosquitto
- Clustering MQTT
- Cluster Archetypes
- Enabling Mosquitto SSL/TLS
- Mosquitto Docker Compose
- MQTT perf_test App
Redis
Spark