linux系统安装minio

硅谷探秘者 Md minio,linux 1076 0 0

创建minio的安装目录

[root@VM-0-13-centos /]# mkdir /usr/local/minio
[root@VM-0-13-centos /]# cd /usr/local/minio/

使用wget下载minio的安装包

wget https://dl.minio.io/server/minio/release/linux-amd64/minio

下载完成后赋予minio文件的执行权限

[root@VM-0-13-centos minio]# chmod 777 minio 
[root@VM-0-13-centos minio]# ll
total 94684
-rwxrwxrwx 1 root root 96956416 Aug  8 13:37 minio

创建minio的日志文件

touch minio.log

配置启动环境变量

vim /etc/profile

输入内容:

export MINIO_ROOT_USER=fileadmin
export MINIO_ROOT_PASSWORD=fileadmin

fileadmin就是控制台的用户名和密码

重新加载配置文件

source /etc/profile

创建并编辑启动脚本

vim start.sh

脚本内容是:

nohup /usr/local/minio/minio server  /usr/local/minio/data --console-address ":35555" > /usr/local/minio/minio.log 2>&1 &

给启动脚本赋予执行权限

[root@VM-0-13-centos minio]# chmod 777 start.sh
[root@VM-0-13-centos minio]# ll
total 94688
-rwxrwxrwx 1 root root 96956416 Aug  8 13:37 minio
-rw-r--r-- 1 root root        0 Aug  8 13:40 minio.log
-rwxrwxrwx 1 root root      122 Aug  8 13:46 start.sh

最后开启端口

[root@VM-0-13-centos minio]# firewall-cmd --zone=public --add-port=9000/tcp --permanent 
[root@VM-0-13-centos minio]# firewall-cmd --zone=public --add-port=35555/tcp --permanent  
success
[root@VM-0-13-centos minio]# firewall-cmd --reload
success

启动minio

[root@VM-0-13-centos minio]# ./start.sh

访问:http://ip:35555/


评论区
请写下您的评论...
暂无评论...
猜你喜欢
linux系统 3105 linuxyummysql1.下载并MySQL官方的YumRepository[root@localhost/]#wget-i-chttp://dev.mysql.com/get
linux 1068 一、erlang二、socat三、rabbitmq四、启动服务五、开启用户远程访问六、rabbitmq服务常用命令一、erlang文件下载地址:https://github.com
框架 1559 环境::centos7java环境:jdk1.8版本:elasticsearch-7.3.2elasticsearch下载官网:https://www.elastic.co/cn
weblog 1023 环境:centos7rabbitmq:rabbitmq-server-3.6.10-1.el7.noarch.rpmsocatyum-yinstallsocat
linux系统 1841 软件版本:一、linux版本:CentOS-7-x86_64-DVD-1708.iso下载地址:http://mirror.nsc.liu.se/centos-store/7.4.1708
其他 4101 1.卸载apache服务器查看有没有过:yumlist|grephttpd停止服务:systemctlstophttpd.service卸载httpd:yumerase
工具 1432 命令yum-yinstallgit查看版本git--version配置远程ssh,执行:gitconfig--globaluser.name"yourname"gitconfig
框架 1285 activemq下载地址:http://activemq.apache.org/activemq-5140-release.html把下载的tar.gz文件放在linux的/opt/文件夹下,解
归档
2018-11  12 2018-12  33 2019-01  28 2019-02  28 2019-03  32 2019-04  27 2019-05  33 2019-06  6 2019-07  12 2019-08  12 2019-09  21 2019-10  8 2019-11  15 2019-12  25 2020-01  9 2020-02  5 2020-03  16 2020-04  4 2020-06  1 2020-07  7 2020-08  13 2020-09  9 2020-10  5 2020-12  3 2021-01  1 2021-02  5 2021-03  7 2021-04  4 2021-05  4 2021-06  1 2021-07  7 2021-08  2 2021-09  8 2021-10  9 2021-11  16 2021-12  14 2022-01  7 2022-05  1 2022-08  3 2022-09  2 2022-10  2 2022-12  5 2023-01  3 2023-02  1 2023-03  4 2023-04  2 2023-06  3 2023-07  4 2023-08  1 2023-10  1 2024-02  1 2024-03  1 2024-04  1
标签
算法基础 linux 前端 c++ 数据结构 框架 数据库 计算机基础 储备知识 java基础 ASM 其他 深入理解java虚拟机 nginx git 消息中间件 搜索 maven redis docker dubbo vue 导入导出 软件使用 idea插件 协议 无聊的知识 jenkins springboot mqtt协议 keepalived minio mysql ensp 网络基础 xxl-job rabbitmq haproxy srs 音视频 webrtc javascript
目录
没有一个冬天不可逾越,没有一个春天不会来临。最慢的步伐不是跬步,而是徘徊,最快的脚步不是冲刺,而是坚持。