4,461
edits
m →Complete the installation: correct typo |
|||
Line 135: | Line 135: | ||
== Correct the permissions == | == Correct the permissions == | ||
Before the set up: | |||
< | <syntaxhighlight lang="bash"> | ||
chown -R www-data:www-data * # Change ownership to web server | |||
find . -type d -exec chmod 755 {} \; # directory permissions = rwxr-xr-x | |||
</ | find . -type f -exec chmod 644 {} \; # file permissions = rw-r--r-- | ||
</syntaxhighlight> | |||
<span class="shell">wp-content</span> folder needs to be writable by the web server after the setup. | |||
<syntaxhighlight lang="bash"> | |||
chown -R mhan:mhan * | |||
chown -R www-data:www-data wp-content | |||
</syntaxhighlight> | |||
== Complete the installation == | == Complete the installation == | ||
This is the final step which doesn't involve any CLI commands. Go to the site URL and it should take you through the rest of the installation process. In the example I used above, it would be <nowiki>http://michael.blog.com</nowiki>. Enjoy. | This is the final step which doesn't involve any CLI commands. Go to the site URL and it should take you through the rest of the installation process. In the example I used above, it would be <nowiki>http://michael.blog.com</nowiki>. Enjoy. |