Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

Commit

Permalink
Update INSTALL
Browse files Browse the repository at this point in the history
Step 4 of `Getting it up and running` is not applicable in newer versions.
  • Loading branch information
danialbehzadi committed Jun 18, 2017
1 parent 5ad2f28 commit 16e7b5a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions INSTALL
Expand Up @@ -124,17 +124,7 @@ especially if you've previously installed PHP/MariaDB packages.
that user's default group instead. As a last resort, you can create
a new group like "gnusocial" and add the Web server's user to the group.

4. You should also take this moment to make your 'avatar' and 'file' sub-
directories writeable by the Web server. The _insecure_ way to do
this is:

chmod a+w /var/www/gnusocial/avatar
chmod a+w /var/www/gnusocial/file

You can also make the avatar, and file directories just writable by
the Web server group, as noted above.

5. Create a database to hold your site data. Something like this
4. Create a database to hold your site data. Something like this
should work (you will be prompted for your database password):

mysqladmin -u "root" -p create social
Expand All @@ -147,7 +137,7 @@ especially if you've previously installed PHP/MariaDB packages.
a tool like phpMyAdmin to create a database. Check your hosting
service's documentation for how to create a new MariaDB database.)

6. Create a new database account that GNU Social will use to access the
5. Create a new database account that GNU Social will use to access the
database. If you have shell access, this will probably work from the
MariaDB shell:

Expand All @@ -159,15 +149,15 @@ especially if you've previously installed PHP/MariaDB packages.
to your preferred new database username and password. You may want to
test logging in to MariaDB as this new user.

7. In a browser, navigate to the GNU Social install script; something like:
6. In a browser, navigate to the GNU Social install script; something like:

https://social.example.net/install.php

Enter the database connection information and your site name. The
install program will configure your site and install the initial,
almost-empty database.

8. You should now be able to navigate to your social site's main directory
7. You should now be able to navigate to your social site's main directory
and see the "Public Timeline", which will probably be empty. You can
now register new user, post some notices, edit your profile, etc.

Expand Down

0 comments on commit 16e7b5a

Please sign in to comment.