关于Drupal 初始配置:
1.
File system
| ||
The directory sites/default/files does not exist. An automated attempt to create this directory failed, possibly due to a permissions problem. To proceed with the installation, either create the directory and modify its permissions manually or ensure that the installer has the permissions to create it automatically. For more information, see INSTALL.txt or the online handbook. |
sudo chmod -R 777 /var/www/html/drupal7/
安装后记得把权限改回来
2.
settings file | The settings file does not exist. | |
The Drupal installer requires that you create a settings file as part of the installation process. Copy the ./sites/default/default.settings.php file to./sites/default/settings.php. More details about installing Drupal are available inINSTALL.txt. |
cp /var/www/html/drupal7/sites/default/default.settings.php /var/www/html/drupal7/sites/default/settings.php
关于Drupal 的升级:
下载最新版本安装包后,初始化安装,连接同一个数据库。
会让你选择 update script.
根据页面提示,去项目中更改配置文件。
升级完成后,把配置文件改回。