Debian 9上安装Fork CMS

要求

  • PHP 7.1 或更高版本 。
  • 以下 PHP 扩展:
    • cURL
    • libxml
    • DOM
    • SimpleXML
    • SPL
    • PDO (使用 MySQL 驱动程序)
    • mb_string
    • iconv
    • GD2 图形库
    • json
    • PCRE
    • intl
  • MySQL 5.0 或更高版本 。
  • Nginx 的
检查 Debian 版本 。
lsb_release -ds# Debian GNU/Linux 9.4 (stretch)确保您的系统是最新的 。
apt update && apt upgrade -y安装所需的软件包 。
apt install -y apt-transport-https sudo curl wget dirmngr创建一个non-root具有sudo访问权限的新用户帐户并切换到该帐户 。
adduser johndoe --gecos "John Doe"usermod -aG sudo johndoesu - johndoe注意:

    推荐阅读