In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Do not say much about the installation of salt, install the epel source and install yum directly, it is still very simple.
This is simply to talk about the implementation of Salt-UI, halite.
Its installation is not complicated, if you do not install apache, git and salt-api (this must be installed) under the yum installation.
Cd / var/www/
Git clone https://github.com/saltstack/halite
Cd halite/halite
. / genindex.py-C
Add user salt, which is used in the following configuration file. My password is also set to salt.
Then create the file saltui.conf under the directory / etc/salt/master.d/, as follows:
Rest_cherrypy:
Host: 0.0.0.0
Port: 8080
Debug: true
Disable_ssl: True
Static: / var/www/halite/halite
App: / var/www/halite/halite/index.html
External_auth:
Pam:
Salt:
-. *
-'@ runner'
-'@ wheel'
After adding users and adding configuration files, restart salt-master.
/ etc/init.d/salt-master restart
Start WEB, which is Salt-UI
Cd / var/www/halite/halite
Python server_bottle.py-d-C-l debug-s cherrypy
Find a background daemon on the Internet, start it, log in to http://ip:8080/app, and then log in with salt/salt.
Start-stop-daemon-- start--background-- exec / var/www/halite/halite/server_bottle.py-d-C-l debug-s cherrypy
The following picture shows the situation of the master end (this is nonsense, that is, install a Mater)
The following picture shows the console side. After some commands are executed, the command records will be displayed below.
The following figure shows whether the job displayed after executing the command is successful. Opening enevt will display the details.
The following picture shows the client you installed.
The following picture shows all the Event situations.
My feeling is that this framework is still good and can be redeveloped according to my own needs. However, I am still used to doing things on the command line.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 294
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.