blank的编程之路


  • 首页

  • 归档

  • 搜索
consul atomikos mybatisplus druid nexus nas named bind mysqldump acme.sh Dockerfile rsync keepalived swarm kibana ubuntu linux scp bugfix https ssl certbot curl gogs adminer harbor yum portainer python kubernetes idea java springboot maven docker-compose redis nginx mysql brew git chocolatey jenkins elasticsearch docker haproxy rabbitmq centos

CentOS7 yum 安装官方 nginx

发表于 2019-03-12 | 分类于 运维 | 0 | 阅读次数 341

CentOS7 安装 nginx 官方 repo 源

添加nginx repo源

cat <<'EOF'> /etc/yum.repos.d/nginx.repo 
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/7/$basearch/
gpgcheck=0
enabled=1
EOF

yum 安装 nginx

yum install nginx -y

配置 nginx 开机自启

systemctl enable nginx

启动 nginx

systemctl start nginx

检查 nginx 运行状态

systemctl status nginx
  • 本文作者: blank
  • 本文链接: https://blankhang.com/2019/03/12/1552402409815
  • 版权声明: 本博客所有文章除特别声明外,均采用CC BY-NC-SA 3.0 许可协议。转载请注明出处!
# consul # atomikos # mybatisplus # druid # nexus # nas # named # bind # mysqldump # acme.sh # Dockerfile # rsync # keepalived # swarm # kibana # ubuntu # linux # scp # bugfix # https # ssl # certbot # curl # gogs # adminer # harbor # yum # portainer # python # kubernetes # idea # java # springboot # maven # docker-compose # redis # nginx # mysql # brew # git # chocolatey # jenkins # elasticsearch # docker # haproxy # rabbitmq # centos
macos 使用 brew 搭建开发环境
© 2021 blank
Everything is energy and everything has a frequency