summaryrefslogtreecommitdiff
path: root/docs/centos-installation.markdown
blob: 316166ae854c2399f9be8127da693bc86cb3b5fb (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Centos Installation
===================

Centos 7
--------

Install PHP and Apache:

```bash
yum install -y php php-mbstring php-pdo unzip wget
```

By default Centos 7 use PHP 5.4.16 and Apache 2.4.6.

Restart Apache:

```bash
systemctl restart httpd.service
```

Install Kanboard:

```bash
cd /var/www/html
wget http://kanboard.net/kanboard-latest.zip
unzip kanboard-latest.zip
chown -R apache:apache kanboard/data
rm kanboard-latest.zip
```

If SeLinux is enabled, be sure that the Apache user can write to the directory data:

```bash
chcon -R -t httpd_sys_content_rw_t /var/www/html/kanboard/data
```

You can also disable SeLinux if you don't need it.

Centos 6.5
----------

Install PHP and Apache:

```bash
yum install -y php php-mbstring php-pdo unzip wget
```

By default Centos 6.5 use PHP 5.3.3 and Apache 2.2.15.

Enable short tags:

- Edit the file `/etc/php.ini`
- Change the line `short_open_tag = On`

Restart Apache:

```bash
service httpd restart
```

Install Kanboard:

```bash
cd /var/www/html
wget http://kanboard.net/kanboard-latest.zip
unzip kanboard-latest.zip
chown -R apache:apache kanboard/data
rm kanboard-latest.zip
```

Go to `http://your_server/kanboard/`.