Installation/Ubuntu/Precise: Difference between revisions

From diaspora* project wiki
No edit summary
No edit summary
Line 5: Line 5:
Run:
Run:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo apt-get build-essential git imagemagick nodejs redis-server libcurl4-openssl-dev {{#ifeq {{#var:mode}}|development|libmagickwand-dev|}} {{#switch {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev}}
sudo apt-get build-essential git imagemagick nodejs redis-server libcurl4-openssl-dev {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev}} {{#ifeq: {{#var:mode}}|development|libmagickwand-dev|}}
</syntaxhighlight>
</syntaxhighlight>


Line 11: Line 11:
Skip this step if you already have one.
Skip this step if you already have one.


See the [https://help.ubuntu.com/12.04/serverguide/{{#switch {{#var:DB}}|mysql=mysql|postgres=postgresql}}.html Ubuntu server guide].
See the [https://help.ubuntu.com/12.04/serverguide/{{#switch: {{#var:DB}}|mysql=mysql|postgres=postgresql}}.html Ubuntu server guide].


{{User:MrZYX/WIP:Installation/Ubuntu/Common}}
{{User:MrZYX/WIP:Installation/Ubuntu/Common}}

Revision as of 21:05, 20 June 2013

User:MrZYX/WIP:Installation/Head

Install packages

Run:

sudo apt-get build-essential git imagemagick nodejs redis-server libcurl4-openssl-dev {{#switch: {{#var:DB}}|mysql=libmysqlclient-dev|postgres=libpq-dev}} {{#ifeq: {{#var:mode}}|development|libmagickwand-dev|}}

Install the database

Skip this step if you already have one.

See the Ubuntu server guide.

User:MrZYX/WIP:Installation/Ubuntu/Common