- Production Ready OpenStack:Recipes for Successful Environments
- Arthur Berezin
- 192字
- 2021-07-09 21:45:16
Installing Horizon – web user interface dashboard
Horizon dashboard service is the web user interface for users to consume OpenStack services and for administrator to manage and operate OpenStack.
Getting ready
Install packages needed for Horizon as follows:
[root@controller ~]# yum install mod_wsgi openstack-dashboard Use firewall-cmd command to open port 80: [root@controller ~]# firewall-cmd --permanent --add-port=80/tcp [root@controller ~]# firewall-cmd --reload Configure SELinux: # setsebool -P httpd_can_network_connect on
How to do it...
Perform the following steps to configure and enable the Horizon dashboard service:
- Edit
/etc/openstack-dashboard/local_settings
:ALLOWED_HOSTS = ['localhost', '*'] OPENSTACK_HOST = "controller"
- Start and enable service. At this point, we can start and enable Neutron-server service:
[root@controller ~]# systemctl start httpd [root@controller ~]# systemctl enable httpd
How it works...
Horizon is a Django-based web application, running on Apache HTTPD service, it interacts with all services' APIs to gather information from OpenStack's services and to create new resources.
There's more...
We can verify whether Horizon dashboard service was installed successfully after we completed configuring the service.
You can now access the dashboard via web browser at http://controller/dashb using the admin
user account and password chosen during the admin account creation.
推薦閱讀
- Spring Cloud Alibaba核心技術(shù)與實(shí)戰(zhàn)案例
- C# 從入門到項(xiàng)目實(shí)踐(超值版)
- R語言數(shù)據(jù)可視化實(shí)戰(zhàn)
- Modular Programming in Java 9
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析
- 平面設(shè)計(jì)經(jīng)典案例教程:CorelDRAW X6
- Managing Microsoft Hybrid Clouds
- Java 9 Programming By Example
- JavaScript悟道
- Learning Alfresco Web Scripts
- Spring Boot從入門到實(shí)戰(zhàn)
- Ubuntu Server Cookbook
- WCF編程(第2版)
- Learning Java Lambdas
- Spring Cloud微服務(wù)架構(gòu)開發(fā)實(shí)戰(zhàn)