美文网首页
查询威联通NAS通过APP CENTER安装的WordPress

查询威联通NAS通过APP CENTER安装的WordPress

作者: BohanL | 来源:发表于2023-12-31 09:17 被阅读0次
    Applicable Products:
    • WordPress
    • Container Station
    • QTS 5.0 or later

    After QTS 5.0, WordPress runs and depends upon Container Station and the configuration files of WordPress are no longer visible in Web folder. The configuration files are moved to a system folder, you can locate the folder path of WordPress files and access the files as follows.

    1. SSH access the NAS
    2. Use the command echo "getcfg WordPress Install_Path -f /etc/config/qpkg.conf/data/web/WordPress" to get the folder path.
      (For example: the configuration files are located in /share/CACHEDEV1_DATA/.qpkg/WordPress/data/web/WordPress)
    3. Access the files using WinSCP through the folder path.

    Furthermore, you can manually map WordPress folder in Shared Folder setting then edit/upload those files using File Station:

    1. Log in to QTS as an administrator

    2. Go to Control Panel > Privilege > Shared Folders

    3. Select Create > Shared Folder.

      1. Choose Disk Volume (for example: DataVol1 )
      2. Select Enter path manually
      3. Click the dropdown menu and locate WordPress folder (for example: /.qpkg/WordPress/data/web/WordPress )
      4. Enter the Folder Name.(for example: WordPress)
      5. Select “Create”.
    getcfg WordPress Install_Path -f /etc/config/qpkg.conf
    
    cd /share/CACHEDEV1_DATA/.qpkg/WordPress/data/web/WordPress
    
    sudo vi .htaccess
    
    自己学下VI怎么用,文件末尾插入如下设置
    php_value upload_max_filesize 2048M
    php_value post_max_size 2048M
    php_value memory_limit 2560M
    php_value max_execution_time 3000
    php_value max_input_time 3000
    

    相关文章

      网友评论

          本文标题:查询威联通NAS通过APP CENTER安装的WordPress

          本文链接:https://www.haomeiwen.com/subject/fgtyndtx.html