- 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.
推薦閱讀
- 玩轉(zhuǎn)Scratch少兒趣味編程
- Mastering QGIS
- Visual C++串口通信技術(shù)詳解(第2版)
- 人臉識(shí)別原理及算法:動(dòng)態(tài)人臉識(shí)別系統(tǒng)研究
- Cassandra Data Modeling and Analysis
- HTML5 and CSS3 Transition,Transformation,and Animation
- Full-Stack React Projects
- KnockoutJS Starter
- JAVA程序設(shè)計(jì)實(shí)驗(yàn)教程
- 零基礎(chǔ)學(xué)單片機(jī)C語言程序設(shè)計(jì)
- Apache Kafka Quick Start Guide
- Linux C編程:一站式學(xué)習(xí)
- Python深度學(xué)習(xí)原理、算法與案例
- OpenCV with Python By Example
- Learning AWS