How to install GNU social
There are two ways to install GNU social -- from git, or from a snapshot.
Install from git
- Make sure you have all the things you need installed:
sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales
sudo apt-get update -q
sudo apt-get dist-upgrade -y
sudo apt-get install -y php5 rsync apache2 php5-curl php5-gd php5-gmp php5-intl php5-json php5-mysqlnd mariadb-server
- SSH to your server
ssh mattl@mattl.io
- Make a directory for your installation and let the webserver write to it. (needs webserver configuration)
mkdir www/mattl.io -p
chown www-data:www-data www/mattl.io
- Check out GNU social into your directory.
cd www/mattl.io
git clone https://git.gnu.io/gnu/gnu-social.git .
- Make a database.
mysql -u root -p
CREATE DATABASE social;
GRANT ALL PRIVILEGES ON social.* TO 'social'@'localhost' IDENTIFIED BY 'goodrandompassword';
exit
-
Visit your website and enter your name, database details, etc.
-
You're all set!