新しいリリースのファイルの展開

Contaoの新しいリリースのファイルを、と同様に展開します。

# cd /var/tmp
# tar -xz -f contao-3.5.40.tar.gz
# (cd contao-3.5.40 && tar -c -f - .) | (cd /usr/share/contao && tar -x -f -)
# rm -fr contao-3.5.40

ファイルの所有者の設定

ファイルの所有者を設定します。

# cd /usr/share/contao
# chown -R www:www .

また、次のようにディレクトリのいくつかのアクセス権を予め設定しておくのもセキュリティを高める上で良いでしょう。

# cd /usr/share/contao
# chmod 750 system/config system/logs files/templates

キャッシュの削除

念のため、キャッシュのファイルを削除しておきます。

# rm -fr /usr/share/contao/system/cache/[a-z]*