Skip to content

Commit d397c23

Browse files
authored
update information about freebsd, add warning about selinux and (#183)
* update information about freebsd, add warning about selinux and modsecurity * fix formatting
1 parent 752e32b commit d397c23

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

Diff for: General-Installing-Instructions.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ prepared. Both ways have few pros and cons:
117117
[Howto use ports](https://www.freebsd.org/doc/handbook/ports-using.html))
118118

119119
```sh
120-
portsnap fetch extract
121-
portsnap fetch update
122-
cd /usr/ports/databases/mariadb102-server (or mysql57-server)
120+
pkg install git
121+
git clone https://git.FreeBSD.org/ports.git /usr/ports
122+
git -C /usr/ports pull
123+
cd /usr/ports/databases/mariadb106-server (or mysql80-server)
123124
make install
124125
cd /usr/ports/net-mgmt/cacti
125126
make install

Diff for: Requirements.md

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Cacti requires that the following software is installed on your system.
2121
- Optional modules:
2222
- snmp (falls back to NetSNMP)
2323

24+
- Problematic software and configuration
25+
- On Linux OS do not turn on SELinux
26+
- On web server do not turn on ModSecurity
27+
28+
SELinux and ModSecurity can cause problem with ICMP ping, socket connections, ...
29+
2430
- MySQL 5.6 or MariaDB 5.5 or greater
2531
- Timezone support must be enabled
2632

Diff for: Upgrading-Cacti-Under-FreeBSD.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
or
2828

2929
```sh
30-
shell> portsnap fetch update
30+
shell> pkg install git
31+
shell> git clone https://git.FreeBSD.org/ports.git /usr/ports
32+
shell> git -C /usr/ports pull
3133
shell> cd /usr/ports/net-mgmt/cacti
3234
shell> make deinstall clean install
3335
```
@@ -36,6 +38,7 @@
3638
recreate the folder and correct the permissions.
3739

3840
```sh
41+
shell> cd /usr/local/share/cacti
3942
shell> mkdir cache
4043
shell> chown -R cacti cache
4144
```

0 commit comments

Comments
 (0)