WordPress 4.1.1 installation on Ubuntu 14.04: Difference between revisions
→Unpacking the files: change title |
|||
Line 12: | Line 12: | ||
$ <b class="color:white;">git clone <nowiki>https://github.com/WordPress/WordPress.git</nowiki> .</b> | $ <b class="color:white;">git clone <nowiki>https://github.com/WordPress/WordPress.git</nowiki> .</b> | ||
</span> | </span> | ||
<br>< | <br><pre class="output">Cloning into '.'... | ||
remote: Counting objects: 196601, done. | remote: Counting objects: 196601, done. | ||
remote: Compressing objects: 100% (43/43), done. | remote: Compressing objects: 100% (43/43), done. | ||
remote: Total 196601 (delta 28), reused 0 (delta 0), pack-reused 196558 | remote: Total 196601 (delta 28), reused 0 (delta 0), pack-reused 196558 | ||
Receiving objects: 100% (196601/196601), 116.49 MiB | 9.94 MiB/s, done. | Receiving objects: 100% (196601/196601), 116.49 MiB | 9.94 MiB/s, done. | ||
Resolving deltas: 100% (154751/154751), done. | Resolving deltas: 100% (154751/154751), done. | ||
Checking connectivity... done. | Checking connectivity... done. | ||
Checking out files: 100% (1424/1424), done.<br></ | Checking out files: 100% (1424/1424), done.<br></pre> | ||
</div> | </div> | ||
Revision as of 13:33, 7 March 2015
- 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 /
There is the Famous 5-Minute Install instruction so these are just my personal notes if I have to install other instances on a similar environment.
Unpack the files
WordPress devs have decided on, what I consider as outdated, SVN, however they have been kind to put up a GitHub repo. This makes it easier to pull or merge latest updates even though the update is supposed to be much simpler.
mhan@brahms: /srv/www/blog $ git clone https://github.com/WordPress/WordPress.git .
Cloning into '.'... remote: Counting objects: 196601, done. remote: Compressing objects: 100% (43/43), done. remote: Total 196601 (delta 28), reused 0 (delta 0), pack-reused 196558 Receiving objects: 100% (196601/196601), 116.49 MiB | 9.94 MiB/s, done. Resolving deltas: 100% (154751/154751), done. Checking connectivity... done. Checking out files: 100% (1424/1424), done.<br>
Set up the database
I'm connecting to the local database.
mhan@brahms: /srv/www/blog $ mysql -uroot -p
Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9234 Server version: 5.5.41-0ubuntu0.14.04.1 (Ubuntu) Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> create database wp_michael; Query OK, 1 row affected (0.02 sec) mysql> grant all on wp_michael.* to 'webacc'@'localhost' identified by 'password'; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye