Applicable to:
- SolusVM
Question
How to configure noVNC?
Answer
- Secure master hostname with SSL certificate, for example use the following article for free let's encrypt installation: How to install Let's Encrypt SSL certificate for the SolusVM Master hostname?
- Log into the master node via SSH and install required dependencies:
# yum install python numpy python-ssl
- Use parts of SSL certificate for the hostname to create .pem file for noVNC:
# cd /usr/local/svmstack/nginx/ssl/
# cat ssl.key ssl.crt > /usr/local/solusvm/includes/nvnc/cert.pem -
Now the
/usr/local/solusvm/data/config.ini
file on SolusVM Master node need to contain the following lines:CONFIG_TEXT: [NOVNC]
use_remote_hostname = true
socket_dest_public = falseCreate the file from
/usr/local/solusvm/data/config.ini.example
if it does not exist and make sure that NOVNC section looks exactly like pointed above. - Finally, enable noVNC in SolusVM at SolusVM > Configuration > Settings > Other:
-
Restart svmstack-nginx:
# service svmstack-nginx restart
Additional Information
To debug socket connections you can manually start websockify on the host (Make sure you do this on the correct server and you specify the correct port):
# sh /scripts/websocket-stop
# php /usr/local/solusvm/includes/wsocket.php --port=7706 --debug=1
Comments
0 commentsPlease sign in to leave a comment.