summarylogtreecommitdiffstats
path: root/post_install.install
blob: 1283e91a49fee3cfbeacb1ebcdb9bb7ce4aba62d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

post_install() {
	APACHE_CONF=/etc/httpd/conf/httpd.conf
	echo "[OK] QWD Installation complete."
	echo "You should now perform:"
	echo "  Comment    line 'LoadModule mpm_event'    in ${APACHE_CONF} as it conflicts with mpm-itk"
	echo "  Un-Comment line '#LoadModule mpm_prefork' in ${APACHE_CONF}"
	echo "  Add line 'LoadModule mpm_itk_module modules/mpm_itk.so' at the end of your ${APACHE_CONF}"
	echo "  Add line 'Include conf/extra/qemu-web-desktop.conf'     at the end of your ${APACHE_CONF}"
	echo "  sudo systemctl enable httpd   # restart apache"
	echo "  sudo systemctl daemon-reload"
	echo "  sudo systemctl restart httpd"
	echo "  sudo qwdctl refresh           # update list of VM"
	echo "Then connect to      http://localhost/qemu-web-desktop for immediate use."
	echo "or launch a VM with: qwdctl start VM"
	echo "or refer to          https://gitlab.com/soleil-data-treatment/soleil-software-projects/qemu-web-desktop"
	echo "to configure the service."
}