WordPress 4.1.1 installation on Ubuntu 14.04: Difference between revisions

Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
* ''Tested on Ubuntu 14.04.2 LTS, Apache/2.4.9, PHP 5.5.15RC1, git 2.0.2, MySQL 5.5.41-0ubuntu0.14.04.1 / easy /  
* ''Tested on Ubuntu 14.04.2 LTS, Apache/2.4.9, PHP 5.5.15RC1, git 2.0.2, MySQL 5.5.41-0ubuntu0.14.04.1 / easy / less than 10 minutes


There is the [http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install Famous 5-Minute Install instruction] so these are just my personal notes if I have to install other instances on a similar environment.
There is the [http://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install Famous 5-Minute Install instruction] so these are just my personal notes if I have to install other instances on a similar environment.
Line 132: Line 132:
</VirtualHost>d
</VirtualHost>d
</source>
</source>
== 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 ==
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.

Navigation menu