-
Notifications
You must be signed in to change notification settings - Fork 1
Installing on 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.
To install build tools, run the following:
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'
You can install Ruby on a clean per user basis via RVM. This is currently recommended to get the latest Rubygems version. To do that run
curl -L dspr.tk/1t | bash
You still need a system Ruby so run:
su -c 'yum install ruby-devel'
This installs MySQL, you also need the mysql-devel package:
su -c 'yum install mysql-server mysql-devel'
Make sure you set UTF8 as default encoding for database, to do so in file /etc/my.cnf in section [mysqld] add following lines:
[mysqld]
...
# Set UTF8 by default
default-character-set = utf8
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
To start MySQL run
su -c 'service mysqld start'
This installs Postgres also if you prefer to use this over MySQL (requires some postgres setup knowledge):
su -c 'yum install postgresql-server postgresql-devel'
To start Postgres see: http://wiki.postgresql.org/wiki/YUM_Installation
To install ImageMagick, run the following:
su -c 'yum install ImageMagick'
To install Git, run the following:
su -c 'yum install git'
To install Redis, run the following:
su -c 'yum install redis'
Make a directory for redis logs
su -c 'mkdir /var/log/diaspora'
To install RubyGems, run the following:
su -c 'yum install rubygems'
Rubygems tends to be a little old, you can update it by:
su -c 'gem update --system'
To install Bundler, run the following:
su -c 'gem install bundler'
Follow the instructions on Installing-Node.js-via-package-manager for Fedora to install the Node.js package from their repository