云计算学习路线教程大纲课件:部署网上商城ecshop

云计算学习路线教程大纲课件:部署网上商城ecshop:

建议新环境开始

一、基础环境

[root@apache ~]# sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config

[root@apache ~]# setenforce 0

[root@apache ~]# systemctl stop firewalld.service

[root@apache ~]# systemctl disable firewalld.service

二、安装LAMP

[root@apache ~]# yum -y install httpd mariadb-server mariadb php php-mysql gd php-gd

[root@apache ~]# systemctl start httpd mariadb

[root@apache ~]# systemctl enable httpd mariadb

[root@apache ~]# mysql_secure_installation

三、安装Ecshop

1. Apache 配置虚拟主机

[root@apache ~]# vim /etc/httpd/conf.d/zhufo.conf

[root@apache ~]# systemctl restart httpd

2. 导入ecshop网站

[root@apache ~]# mkdir -p /webroot/zhufo

[root@apache ~]# unzip ECShop_V3.0.0_UTF8_release0518.zip

[root@apache ~]# cp -rf ECShop_V3.0.0_UTF8_release0518/* /webroot/zhufo/

3. 安装ecshop [任何client]

[root@tianyun ~]# vim /etc/hosts //如果没有使用DNS解析

192.168.122.161 www.zhufo.top zhufo.top //161为 web server IP

[root@apache ~]# chmod -R 777 /webroot/zhufo/

修改php.ini时区

[root@apache ~]# vim /etc/php.ini

[root@apache ~]# systemctl restart httpd

打开APP阅读更多精彩内容