超详细linux部署ecshop流程

我是使用VMware 然后用shell工具进行部署的  这个工具的使用步骤我就不写了  我直接从linux系统开始写部署流程了。

1.配置环境

(1)安装httpd

yum install httpd -y

显示已安装就是安装成功

已安装:
  httpd.x86_64 0:2.4.6-97.el7.centos.5                                          
​
作为依赖被安装:
  apr.x86_64 0:1.4.8-7.el7                      apr-util.x86_64 0:1.5.2-6.el7   
  httpd-tools.x86_64 0:2.4.6-97.el7.centos.5    mailcap.noarch 0:2.1.41-2.el7   
​
完毕!

(2). 启动httpd

systemctl start httpd && systemctl enable httpd;

systemctl status httpd;

 

显示绿色就是启动成功

(3). 关闭防火墙

systemctl stop firewalld && systemctl disable firewalld

systemctl status firewalld

显示灰色就是关闭成功

  1. 安装vimyum install vim -y

  2. 安装phpyum install php php-gd php-mysql -y

  3. 安装 mysql(1). 下载并安装mysql

    yum install wget -y;

    wget http://dev.mysql.com/get/mysql57-community-release-el7-8.noarch.rpm(这个链接是下载mysql的连接 可以自己更改为自己喜欢的mysql的版本下载链接);

    yum localinstall -y mysql57-community-release-el7-8.noarch.rpm(安装mysql)

    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      正在安装    : mysql57-community-release-el7-8.noarch                      1/1 
      验证中      : mysql57-community-release-el7-8.noarch                      1/1 
    ​
    已安装:
      mysql57-community-release.noarch 0:el7-8                                      
    ​
    完毕!
    ​

    这样就是安装成功了;

    (

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值