云计算学习路线教程大纲课件:部署网上商城ecshop:php
建议新环境开始mysql
1、基础环境linux
[root@apache ~]# sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/configweb
[root@apache ~]# setenforce 0sql
[root@apache ~]# systemctl stop firewalld.serviceapache
[root@apache ~]# systemctl disable firewalld.servicevim
2、安装LAMPide
[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
3、安装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