在阿里云CentOS 7.4下安装WSTMart开源商城系统

来源:互联网 发布:unity3d 离线安装 编辑:程序博客网 时间:2024/05/21 17:12
商淘软件B2B2C(WSTMart)开源商城系统在linux下的安装,阿里云Cent 7.4版本安装命令教程:

WSTMart

  • 安装apache
    • 安装服务
      • yum install httpd httpd-devel
    • 启动服务
      • apachectl start
    • 重启
      • apachectl restart
    • 查看服务是否开启
      • ps -ef|grep httpd
  • 安装PHP
    • 命令
      • yum install php
    • php相关模块
      • yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
    • 测试
      • php -m
  • 安装mysql
    • 安装
      • yum install mariadb-server -y
      • systemctl enable mariadb.service
    • 启动
      • systemctl start mariadb.service
    • 设置密码
      • mysql_secure_installation
        • wstmart123
    • 测试
      • mysql -uroot -p
  • 关闭防火墙
    • 重启后生效
      • chkconfig iptables on
      • chkconfig iptables off
    • 即时生效
      • service iptables start
      • service iptables stop
    • 添加端口
      • vi /etc/sysconfig/iptables
      • -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
  • 关闭防火墙
    • 查看防火墙状态
      • firewall-cmd --state
    • 关闭
      • systemctl stop firewalld.service
    • 禁止开机启动
      • systemctl disable firewalld.service

  • 下载WinSCP软件,在WinSCP中登陆服务器,上传WSTMart程序
  • 访问域名,按界面提示,点击下一步,配置信息,安装完成。

阅读全文
0 0