# ZDHsys
Platform for automatic installation of operating system based on golang and saltstack
The main implementation of binding MAC address, independent installation of the operating system, change the host name, IP address
The project is still being updated...
## Installation
### Installing golang(linux)
- Download address:[https://golang.google.cn/dl/](https://golang.google.cn/dl/)
- package :go1.12.6.linux-amd64.tar.gz
- uncompress
```shell
# tar -C /usr/local/ -zxf go1.11.2.linux-amd64.tar.gz
```
- Setting environment variables
```shell
# echo export PATH=$PATH:/usr/local/go/bin/ >> /etc/profile
# source /etc/profile
# go env\
```
### Installing beego
```shell
# yum install -y git
# git config --global url."git://github.com/astaxie/beego".insteadOf "https://github.com/astaxie/beego"
# go get github.com/astaxie/beego
# go get github.com/beego/bee
# go get github.com/astaxie/beego/orm
# echo export PATH=$PATH:/root/go/bin >> /etc/profile
# source /etc/profile
# bee
```
### Installing other packages
- Json parsing library
- mysql driver
- call python for golang
```shell
# go get github.com/bitly/go-simplejson
# go get github.com/go-sql-driver/mysql
# yum install -y python-devel
# go get github.com/sbinet/go-python
# mkdir -p /root/go/src/golang.org/x
# cd /root/go/src/golang.org/x
# git clone https://github.com/golang/crypto.git
```
### Installing mysql
- download:[mysql](https://dev.mysql.com/downloads/mysql/)
- create a remote login user
```mysql
mysql> grant all on *.* to "root"@"192.168.100.111" identified by "WWW.1.com";
mysql> flush privileges;
```
- create database
```mysql
mysql> create database test charset=utf8;
```
### Installing cobbler
- slightly
### Installing ZDHsys
- attention:The path of ZDHsys is `/root/go/src/ZDHsys`
- run the script
```shell
bash /root/go/src/ZDHsys/setup.sh
```
- register and login


- create server(Bind system to MAC address)





- then a system will be create in the cobbler
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
【项目资源】: 包含前端、后端、移动开发、操作系统、人工智能、物联网、信息化管理、数据库、硬件开发、大数据、课程资源、音视频、网站开发等各种技术项目的源码。 包括STM32、ESP8266、PHP、QT、Linux、iOS、C++、Java、python、web、C#、EDA、proteus、RTOS等项目的源码。 【项目质量】: 所有源码都经过严格测试,可以直接运行。 功能在确认正常工作后才上传。 【适用人群】: 适用于希望学习不同技术领域的小白或进阶学习者。 可作为毕设项目、课程设计、大作业、工程实训或初期项目立项。 【附加价值】: 项目具有较高的学习借鉴价值,也可直接拿来修改复刻。 对于有一定基础或热衷于研究的人来说,可以在这些基础代码上进行修改和扩展,实现其他功能。 【沟通交流】: 有任何使用上的问题,欢迎随时与博主沟通,博主会及时解答。 鼓励下载和使用,并欢迎大家互相学习,共同进步。
资源推荐
资源详情
资源评论













收起资源包目录





































































































共 167 条
- 1
- 2
资源评论



妄北y
- 粉丝: 2w+
- 资源: 1万+
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 有清华大学2月最新汇报ppt及录音,下载后可发送全套
- esp32单片机,检测马达转速项目提供源码下载
- 前端框架-Vue2初体验
- 三菱FX3U PLC与E740变频器Modbus RTU通讯案例:启停控制、频率调节及参数读取的编程实现,三菱FX3U PLC与变频器Modbus RTU通讯控制案例:实现启停、频率设定与数据读取功能
- DeepSeek大模型安装助手简介
- 机器学习课程设计基于Python的实现自动化垃圾邮件过滤项目源代码+已标记数据集
- AI推理模型DeepSeek-R1网页端&API使用指南:性能特点及实际应用案例解析
- 毕业设计基于Python的Django-html基于深度学习的音乐推荐方法研究系统源码(完整前后端+mysql+说明文档+LW+PPT).zip
- iozone自动化测试脚本
- PyQt5+Yolov8车牌检测系统
- 毕业设计基于Python的Django-html基于循环神经网络的情感分类系统源码(完整前后端+mysql+说明文档+LW+PPT).zip
- iozone3-507工具
- csdn积分获取,看看能不能获取积分
- usb通信-Linux-遍历usb
- Go语言学习指南:从入门到精通全面掌握后端开发高效语言
- 雷达测距测速成像+线性调频连续波雷达+仿真分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
