1 Star 0 Fork 0

xuwei95/ezdata-demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
install_full.sh 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
xuwei95 提交于 2024-07-30 06:45 . 更新 install_full.sh
# 安装必要的依赖
apt-get update
apt-get install wget curl apt-transport-https gnupg -y
# 安装 Elasticsearch
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-7.x.list
apt-get update && apt-get install elasticsearch -y
service elasticsearch start
systemctl status elasticsearch
# 安装 MinIO
wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
mv minio /usr/bin/minio
mkdir /opt/minio-data
export MINIO_ROOT_USER=minio
export MINIO_ROOT_PASSWORD=ezdata123
nohup minio server /opt/minio-data --console-address :19001 > /opt/minio-data/minio.log 2>&1 &
# 安装 MySQL
wget https://dev.mysql.com/get/mysql-apt-config_0.8.16-1_all.deb
dpkg -i mysql-apt-config_0.8.16-1_all.deb
apt-get update
apt-get install mysql-server -y
# 进入 MySQL shell 修改 root 密码
mysql -u root -p <<EOF
ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'ezdata123';
FLUSH PRIVILEGES;
EOF
# 安装 Redis
apt-get install redis-server -y
echo -e "\nrequirepass ezdata123" | sudo tee -a /etc/redis/redis.conf
systemctl restart redis-server
systemctl status redis-server
# 安装 Nginx
apt-get install nginx -y
# systemctl status nginx
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xuwei95/ezdata-demo.git
git@gitee.com:xuwei95/ezdata-demo.git
xuwei95
ezdata-demo
ezdata-demo
master

搜索帮助