Last active
September 9, 2020 16:19
-
-
Save DaisukeMiyamoto/5da8fc520eef8e4ce1af6d0c1b00bce5 to your computer and use it in GitHub Desktop.
set up script for NICE-DCV on CentOS7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -xe | |
# | |
# Usage: | |
# $ chmod +x set-up-nicedcv-centos.sh | |
# $ sudo ./set-up-nicedcv-centos.sh | |
# | |
# after executing this script, you need to set password for user | |
# e.g. | |
# sudo passwd centos | |
# | |
yum -y upgrade --skip-broken --exclude=kernel* || true | |
yum -y groupinstall "GNOME Desktop" --skip-broken --exclude=kernel* | |
yum -y install glx-utils | |
rpm --import https://s3-eu-west-1.amazonaws.com/nice-dcv-publish/NICE-GPG-KEY | |
wget https://d1uj6qtbmh3dt5.cloudfront.net/2020.1/Servers/nice-dcv-2020.1-9012-el7-x86_64.tgz | |
tar -xvzf nice-dcv-2020.1-9012-el7-x86_64.tgz | |
cd nice-dcv-2020.1-9012-el7-x86_64 | |
yum -y install nice-dcv-server-2020.1.9012-1.el7.x86_64.rpm | |
yum -y install nice-xdcv-2020.1.338-1.el7.x86_64.rpm | |
systemctl enable dcvserver | |
systemctl start dcvserver | |
systemctl stop firewalld.service | |
systemctl disable firewalld.service | |
dcv create-session --owner centos --user centos my-session | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment