分类 Linux 中的文章

Supervisor安装配置

安装supervisor配置 安装 pip install supervisor 未安装pip,可下载python安装包使用python命令安装 下载地址: https://pypi.org/project/supervisor/#files python setup.py install 创建配置文件 echo_supervisord_conf > /etc/supervisord.conf 启动服务 supervisord -c /etc/supervisord.conf 添加新项目 新加的项目,以项目名命令,统一放到/et……

阅读全文

yum安装mysql5.7

yum安装mysql5.7 下载mysql官方yum源 sudo wget https://repo.mysql.com//mysql80-community-release-el7-3.noarch.rpm 安装yum源 sudo yum -y localinstall mysql80-community-release-el7-3.noarch.rpm 禁用掉8.0版本,开启5.7版本(官方默认开启的是8.0版本) #查看当前mysql版本哪个是启动 sudo yum repolist all | grep mysql #后面显示……

阅读全文

ELK安装

配置yum源 elasticsearch [elasticsearch] name=Elasticsearch repository for 7.x packages baseurl=https://artifacts.elastic.co/packages/7.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=0 autorefresh=1 type=rpm-md kibana [kibana-7.x] name=Kibana repository for 7.x packages baseurl=https://artifacts.elastic.co/packages/7.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md logstash [logstash-7.x] name=Elastic repository for 7.x packages baseurl=https://artifacts.elastic.co/packages/7.x/yum gpgcheck=1 gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch enabled=1 autorefresh=1 type=rpm-md 安装 sudo yum install elasticsearch sudo yum install kibana sudo yum install logstash 启动 systemctl start elasticsearch systemctl start kibana systemctl start logstash docker 安装 使用官方docker 仓库 注:使用官方的,比较慢,老是超……

阅读全文