Commit 2d828899 authored by Joachim Mathes's avatar Joachim Mathes

TASK: Add FreeBSD documentation

parent d5906e16
......@@ -37,6 +37,7 @@ Sections
* [Deployment](documentation/deployment.md)
* [PhpStorm](documentation/phpstorm/phpstorm.md)
* [Workflow](documentation/workflow.md)
* [FreeBSD](documentation/freebsd/freebsd.md)
[juggling_schorsch]: documentation/juggling_schorsch.png "Juggling Schorsch"
FreeBSD
=======
![Cool Schorsch][cool_schorsch]
[cool_schorsch]: documentation/cool_schorsch.png "Cool Schorsch"
Services
--------
Show list of all services:
```
service -l
```
Show list of enabled services:
```
service -e
```
Command scripts for service startup
```
ls -la /etc/rc.d
ls -la /usr/local/etc/etc/rc.d
```
Command scripts are wrapped by `service`. Thus `/usr/local/etc/etc/rc.d/nginx start` equals:
```
service nginx start
```
### php-fpm and PHP ###
Manage `php-fpm` service with:
```
service php-fpm status|start|stop|restart
```
For basic php-fpm configuration, see
```
/usr/local/etc/php-fpm.conf
```
Modify php-fpm configuration in
```
/usr/local/etc/php-fpm.d/www.conf
```
PHP configuration is in
```
/usr/local/etc/php.ini
```
### MariaDB ###
Manage `mysql-server` service with:
```
service mysql-server status|start|stop|restart
```
For basic configuration, see
```
/usr/local/etc/my.cnf
```
The database root password can be found in
```
/usr/local/etc/mysql-password
```
### Nginx ###
Manage `nginx` service with:
```
service nginx status|start|stop|restart|reload
```
For basic configuration, see
```
/usr/local/etc/nginx/nginx.conf
```
For proServer specific nginx configuration (TYPO3, NEOS, ...), see files in
```
/usr/local/etc/nginx/include/
```
The nginx server configurations (i.e. vhosts) can be found in
```
/usr/local/etc/nginx/vhosts/
```
### Varnish ###
Manage `varnishd` service with:
```
service varnishd status|start|stop|restart
```
For basic configuration, see
```
/usr/local/etc/rc.conf.d/varnish
```
Put VCL code into
```
/usr/local/etc/varnish/default.vcl
```
### Solr ###
Manage `solr` service with:
```
service solr status|start|stop|restart
```
For basic Solr configuration, see
```
/var/db/solr/solr.xml
```
Logging
-------
Log files can found in
```
/var/log/
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment