]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - HOW-TO-INSTALL-GNU-SOCIAL.txt
Merge branch 'master' of gitorious.org:social/mainline
[quix0rs-gnu-social.git] / HOW-TO-INSTALL-GNU-SOCIAL.txt
1 ## How to install GNU social
2
3 There are two ways to install GNU social -- from git, or from a snapshot.
4
5 ### Install from git
6
7 0. Make sure you have all the things you need installed:
8
9     sudo locale-gen en_US en_US.UTF-8
10     sudo dpkg-reconfigure locales 
11     sudo apt-get update -q
12     sudo apt-get dist-upgrade -y
13     sudo apt-get install -y pound varnish php5 rsync htop emacs23-nox apache2 php5-mysql dtrx mysql-server exim4
14
15 1. SSH to your server
16
17     ssh mattl@mattl.io
18
19 2. Make a directory for your installation and let the webserver write to it.
20
21     mkdir www/mattl.io -p
22     chown www-data:www-data www/mattl.io
23
24 3. Check out GNU social into your directory.
25
26     cd www/mattl.io
27     git clone git://gitorious.org/social/mainline.git .
28
29 4. Make a database.
30
31     mysql -u root -p
32     create database social;
33     exit
34
35 5. Visit your website and enter your name, database details, etc.
36
37 6. You're all set!