home
mmn редагує цю сторінку 9 роки тому

How to install GNU social

There are two ways to install GNU social -- from git, or from a snapshot.

Install from git

  1. 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

  1. SSH to your server

ssh mattl@mattl.io

  1. 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

  1. Check out GNU social into your directory.

cd www/mattl.io git clone https://git.gnu.io/gnu/gnu-social.git .

  1. Make a database.

mysql -u root -p CREATE DATABASE social; GRANT ALL PRIVILEGES ON social.* TO 'social'@'localhost' IDENTIFIED BY 'goodrandompassword'; exit

  1. Visit your website and enter your name, database details, etc.

  2. You're all set!