On-premise installation on own server
This section applies to installing Dash Enterprise on a single server hosted on your own network. For installing the Kubernetes version of the software, see Dash Enterprise Kubernetes installation.
- 1.SSH into your Linux server
- 2.Create a data directory to hold all of the Dash Enterprise data
- We recommend /plotly for ease of reference, but you may choose any name that suits your needs:sudo mkdir /plotly
- 3.Run the installation script:curl -sSL https://get.plot.ly | sudo bash
- If prompted for the server’s service IP address, press Enter to accept the default
Your server is now ready for you to upload your license and configure Dash Enterprise; see Configuration to continue.
If you wish to install Dash Enterprise on a system with SELinux enforcing, you must install additional policies to allow containers to access docker.sock, and certificate files (if you are using system or self-signed certificates)
- 1.Create a plotlydocker.te policy file with the following contents:
### Compile and install this policy on machines with selinux enforcing. ###
# This selinux policy allows:
# docker images to access docker.sock
# docker images to read certificates
module plotlydocker 1.0;
require {
type docker_var_run_t;
type docker_t;
type svirt_lxc_net_t;
type cert_t;
class file {read open getattr};
class sock_file write;
class unix_stream_socket connectto;
}
allow svirt_lxc_net_t docker_t:unix_stream_socket connectto;
allow svirt_lxc_net_t docker_var_run_t:sock_file write;
allow svirt_lxc_net_t cert_t:file {read open getattr};
- 1.If not installed already, you must install policycoreutils and checkpolicy:
sudo yum install policycoreutils checkpolicy
- 1.Compile and install the policy:
checkmodule -M -m -o plotlydocker.mod plotlydocker.te
semodule_package -o plotlydocker.pp -m plotlydocker.mod
sudo semodule -i plotlydocker.pp
Now, Dash Enterprise will have the necessary security policies to run with SELinux enforcing.
Last modified 2mo ago