Installing on Fedora: Difference between revisions

From diaspora* project wiki
mNo edit summary
(Redirected page to Installation/Fedora)
 
Line 1: Line 1:
== Versions ==
#REDIRECT [[Installation/Fedora]]
These instructions are for the current version of Fedora 15. If you are using a older version you may need to use things like remi repo for up to date packages.
 
== Build Tools ==
To install build tools, run the following:
<pre>su -c 'yum install make automake gcc gcc-c++ libxslt libxslt-devel libxml2 libxml2-devel libffi libffi-devel libcurl libcurl-devel openssl-devel sqlite-devel'</pre>
 
== Ruby ==
 
=== RVM ===
 
You can install Ruby on a clean per user basis via [RVM](https://rvm.io/). This is currently recommended to get the latest Rubygems version.
 
You still need a system Ruby so run:
<pre>su -c 'yum install ruby-devel'</pre>
 
== MySQL ==
 
This installs MySQL, you also need the mysql-devel package:
<pre>su -c 'yum install mysql-server mysql-devel'</pre>
 
Make sure you set UTF8 as default encoding for database, to do so in file /etc/my.cnf in section [mysqld] add following lines:
<pre>
[mysqld]
...
# Set UTF8 by default
default-character-set = utf8
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
</pre>
 
To start MySQL run
<pre>su -c 'service mysqld start'</pre>
 
== PostGres ==
This installs Postgres also if you prefer to use this over MySQL (requires some postgres setup knowledge):
<pre>su -c 'yum install postgresql-server postgresql-devel'</pre>
To start Postgres check [http://wiki.postgresql.org/wiki/YUM_Installation this guide.]
 
== ImageMagick ==
To install ImageMagick, run the following:
<pre>su -c 'yum install ImageMagick'</pre>
 
== Git ==
To install Git, run the following:
<pre>su -c 'yum install git'</pre>
 
== Redis ==
To install Redis, run the following:
<pre>su -c 'yum install redis'</pre>
 
Make a directory for redis logs
<pre>su -c 'mkdir /var/log/diaspora'</pre>
 
== RubyGems ==
 
To install RubyGems, run the following:
<pre>su -c 'yum install rubygems'</pre>
 
Rubygems tends to be a little old, you can update it by:
<pre>su -c 'gem update --system'</pre>
 
== Bundler ==
To install Bundler, run the following:
<pre>su -c  'gem install bundler'</pre>
 
== Node.js ==
Follow the instructions on [https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager Installing-Node.js via Package Manager] for Fedora to install the Node.js package from their repository
 
'''Congrats! You have all your dependencies installed.''' Proceed to [[Notes On Installing and Running Diaspora]].
 
[[Category:Podmin]]
[[Category:Installation]]
[[Category:Github transfer done]]

Latest revision as of 23:04, 19 July 2013