aboutsummaryrefslogtreecommitdiff
path: root/www/webtrees21/files/pkg-message.in
blob: 25ef3f3538f4cbede84af6f020068f880397478f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[
{ type: install
  message: <<EOM
The following configuration will need to be done prior to using
webtrees for the first time:

1. For installation on the apache web server, add the following to your
   apache site configuration, and reload the web server:

	Alias /webtrees %%WWWDIR%%/

	### Add the AcceptPathInfo directive only for Apache 2.0.30
	### or later.
	AcceptPathInfo On

	<Directory %%WWWDIR%%>
		AllowOverride None
		Order Allow,Deny
		Allow from all
	</Directory>

2. For installation on the nginx web server, add the following to your
   nginx site configuration, and reload the web server:

	location /webtrees {
		alias %%WWWDIR%%;
		index  index.php;
	}

	location ~ \.php$ {
		fastcgi_pass   unix:/var/run/php-fpm-www.socket;
		fastcgi_param  HTTPS on;
		fastcgi_index  index.php;
		fastcgi_param  SCRIPT_FILENAME $request_filename;
		include        fastcgi_params;
	}

3. Webtrees uses a MySQL database.  Configure a MySQL webtrees user
   and database using commands such as (substitute PASSWD for something
   of your own choosing):

	mysql> create user webtrees@localhost identified by PASSWD;
	mysql> create database webtrees;
	mysql> grant all on webtrees.* to webtrees@localhost;

4. Configure webtrees by browsing to the webtrees URL:
	http://your.server.com/webtrees/
   and you should be taken to the setup wizard, which will lead you
   through setting up webtrees: asking for the database server, database
   user and database name, and then assist you in creating a webtrees
   admin account, etc.
EOM
}
]