雲計算學習路線教程大綱課件:部署網上商城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