added notes
This commit is contained in:
parent
a42ea302b6
commit
6b10eee957
30
FreeBSD/TD/Note pf.txt
Normal file
30
FreeBSD/TD/Note pf.txt
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Pour installer postfix et nginx
|
||||||
|
|
||||||
|
# pkg install nginx postfix
|
||||||
|
|
||||||
|
Activer les services
|
||||||
|
# echo "nginx_enable=YES" >> /etc/rc.conf
|
||||||
|
# echo "postfix_enable=YES" >> /etc/rc.conf
|
||||||
|
|
||||||
|
Lancer les services
|
||||||
|
/usr/local/etc/rc.d/nginx start
|
||||||
|
/usr/local/etc/rc.d/postfix start
|
||||||
|
|
||||||
|
Activer pf au démarrage
|
||||||
|
# echo "pf_enable=YES" >> /etc/rc.conf
|
||||||
|
|
||||||
|
Démarrer pf :
|
||||||
|
# /etc/rc.d/pf start
|
||||||
|
ou
|
||||||
|
# pfctl -e
|
||||||
|
# pfctl -f /etc/pf.conf
|
||||||
|
|
||||||
|
Eteindre pf
|
||||||
|
/etc/rc.d/pf stop
|
||||||
|
|
||||||
|
Désactiver les messages dans la console
|
||||||
|
|
||||||
|
Commenter dans /etc/syslog.conf
|
||||||
|
#*.err;kern.warning;auth.notice;mail.crit /dev/console
|
||||||
|
|
||||||
|
/etc/rc.d/syslogd restart
|
15
FreeBSD/TD/Note samba.txt
Normal file
15
FreeBSD/TD/Note samba.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
Pour le démarrage : editer : /etc/rc.conf
|
||||||
|
indiquer samba_server_enable="YES"
|
||||||
|
|
||||||
|
|
||||||
|
Contenu de /usr/local/etc/smb4.conf :
|
||||||
|
[global]
|
||||||
|
|
||||||
|
Pour démarrer samba : /usr/local/etc/rc.d/samba_server start
|
||||||
|
|
||||||
|
|
||||||
|
[public]
|
||||||
|
comment = public
|
||||||
|
path = /mnt/ZFSPOOL
|
||||||
|
guest ok = Yes
|
||||||
|
read only = No
|
Binary file not shown.
Binary file not shown.
16
FreeBSD/TD/installation et gestion services ansible.txt
Normal file
16
FreeBSD/TD/installation et gestion services ansible.txt
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- hosts: torrent
|
||||||
|
tasks:
|
||||||
|
- name: Install Transmission
|
||||||
|
pkgng: name=transmission-daemon state=present
|
||||||
|
- name: Allow all ip
|
||||||
|
copy: src=/usr/local/etc/transmission/home/settings.json dest=/usr/local/etc/transmission/home/settings.json
|
||||||
|
- name: Start Transmission
|
||||||
|
service: name=transmission state=restarted
|
||||||
|
|
||||||
|
- name: Install newsgroup server
|
||||||
|
pkgng: name=sabnzbdplus state=present
|
||||||
|
- name: Config file
|
||||||
|
copy: src=/usr/local/sabnzbd/sabnzbd.ini dest=/usr/local/sabnzbd/sabnzbd.ini
|
||||||
|
- name: Start newsgroup server
|
||||||
|
service: name=sabnzbd state=restarted
|
Loading…
Reference in New Issue
Block a user