标签:商城 emc emctl mysql firewalld 教程 ecs 解析 网上
云计算学习路线教程大纲课件:部署网上商城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
[root@apache ~]# vim /etc/httpd/conf.d/zhufo.conf
[root@apache ~]# systemctl restart httpd
[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/
[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
标签:商城 emc emctl mysql firewalld 教程 ecs 解析 网上
原文地址:https://blog.51cto.com/14489558/2447717