Starting a Redis Server
Before you begin
Install Redis on the Memory Machine server. This example assumes that Redis 5.0.7 is installed.
Use ssh to log onto the server using a privileged account (this example uses the root account).
About this task
Procedure
Use the supplied command mm to start the Redis server:
$ mm redis-server --port 9998 --daemonize yes
where:
- --port
- Specifies the port on which the Redis server listens.
- --daemonize yes
- Starts the process as a daemon and detaches it from the terminal window.
You cannot capture a snapshot of a process with an attached tty terminal using
the Memory Machine
Dashboard. For this reason, detach the Redis server process from the terminal by using
the --daemonize yes option instead of appending an
ampersand.