Zstack 踩坑1
[root@localhost opt]# bash /opt/zstack*installer.bin -E
FAIL
Reason: Cannot identify default network interface. Please set management
node IP address by '-I MANAGEMENT_NODE_IP_ADDRESS'.
-------------
-------------
[root@localhost opt]# bash /opt/zstack*installer.bin -E -I ens33
_________ _____ _ ____ _ __
|__ / ___|_ _|/ \ / ___| |/ /
/ /\___ \ | | / _ \| | | ' /
/ /_ ___) || |/ ___ \ |___| . \
/____|____/ |_/_/ \_\____|_|\_\
_____ _ _ _____ _____ ____ ____ ____ ___ ____ _____
| ____| \ | |_ _| ____| _ \| _ \| _ \|_ _/ ___|| ____|
| _| | \| | | | | _| | |_) | |_) | |_) || |\___ \| _|
| |___| |\ | | | | |___| _ <| __/| _ < | | ___) | |___
|_____|_| \_| |_| |_____|_| \_\_| |_| \_\___|____/|_____|
_____ ___ ___ ____ ___
__ __ |___ / ( _ ) ( _ ) |___ \ / _ \
\ \ / / |_ \ / _ \ / _ \ __) | | | |
\ V / ___) | (_) | (_) | / __/| |_| |
\_/ |____(_)___(_)___(_)_____|\___/
___ _ _ ____ _____ _ _ _ _ _____ ___ ___ _ _
|_ _| \ | / ___|_ _|/ \ | | | | / \|_ _|_ _/ _ \| \ | |
| || \| \___ \ | | / _ \ | | | | / _ \ | | | | | | | \| |
| || |\ |___) || |/ ___ \| |___| |___ / ___ \| | | | |_| | |\ |
|___|_| \_|____/ |_/_/ \_\_____|_____/_/ \_\_| |___\___/|_| \_|
1. Check Repo Version:
Check local repo version: ... PASS
2. Check System:
Pre-Checking: ... PASS
Check System: ... PASS
Update Package Repository: ... PASS
3. Get ZStack-enterprise:
Download ZStack-enterprise package: ... PASS
Unpack ZStack-enterprise package: ... PASS
4. Install ZStack-enterprise Package:
Unpack Tomcat: ... PASS
Install ZStack-enterprise into Tomcat: ... PASS
Deploy yum repo for ZStack-enterprise: ... PASS
5. Install System Libs:
Install General Libraries (takes a couple of minutes): ... PASS
Install PIP: ... PASS
Install Virtualenv: ... PASS
Enable chronyd: ... PASS
6. Install Ansible:
Disable SELinux: ... PASS
Install Python and GCC: ... PASS
Install Ansible: ... PASS
7. Install ZStack-enterprise Tools:
Change Owner in ZStack-enterprise: ... PASS
Install ZStack-enterprise Command Line Tool: ... PASS
Install ZStack-enterprise Control Tool: ... PASS
Copy third-party tools to ZStack install path: ... PASS
Install ZStack-enterprise Web UI (takes a couple of minutes): ... PASS
8. Configure System:
Config zstack.properties: ... PASS
Generate Local Ssh keys: ... PASS
Configure Tomcat Java Option: ... PASS
Upgrade Tomcat Security: ... PASS
Install ZStack-enterprise management node: ... PASS
Enable ZStack-enterprise bootstrap service: ... PASS
Add cronjob to clean logs: ... PASS
Append iptables: ... PASS
Configure Nginx Server: ... PASS
9. Install Database:
Generate Temp SSH Key: ... PASS
Install Mysql Server: ... PASS
Initialize Database: ... PASS
Initialize ZStack UI Database: ... PASS
10. Setup Install Parameters:
11. Install License:
Install License: ... PASS
12. Start ZStack-enterprise Server:
Start ZStack-enterprise management node (takes a couple of minutes): ... PASS
13. Start ZStack-enterprise Web UI:
Start ZStack-enterprise Web UI: ... PASS
____________________________________________________________________________________________________________________________________________________________________________________________
ZStack-enterprise All In One 3.8.8 Installation Completed:
- Installation path: /usr/local/zstack
- UI is running, visit http://192.168.111.130:5000 in Chrome
Use zstack-ctl [stop_ui|start_ui] to stop/start the UI service
- Management node is running
Use zstack-ctl [stop|start] to stop/start it
- ZStack-enterprise command line tool is installed: zstack-cli
- ZStack-enterprise control tool is installed: zstack-ctl
- For system security, database root password is set to: zstack.mysql.password . You can use `mysqladmin -u root --password=zstack.mysql.password password NEW_PASSWORD` to change it. To be noticed: ZStack-enterprise will use 'zstack' user to access database. Change 'root' password won't impact 'zstack' access database.
User select QUIET installation. Installation does following changes for user:
- HOSTNAME is changed to '192-168-111-130' to avoid of mysql server installation failure.
- chrony server sources is set to management node by default.
____________________________________________________________________________________________________________________________________________________________________________________________
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 零经验选手,Compose 一天开发一款小游戏!
· 因为Apifox不支持离线,我果断选择了Apipost!
· 通过 API 将Deepseek响应流式内容输出到前端