Editing
FreeBSD Admin
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
'''EZJail''' * Update ports: ezjail-admin update -P * Upgrade release: Erst das Host System upgraden [https://www.freebsd.org/releases/11.0R/announce.html] freebsd-update upgrade -r 11.0-RELEASE freebsd-update install <reboot the system> freebsd-update install <rebuild third-party software> - if necessary freebsd-update install Dann über ezjail-admin die Jails [https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html] ezjail-admin update -b ezjail-admin update -i ezjail-admin update -u ezjail-admin update -U -s 10.1-RELEASE mergemaster -iFUP -D /usr/jails/www Original Dateien werden in /var/tmp/mergemaster/preserved... gespeichert '''Ports''' * Update outdated installed ports portmaster -b -a * Um möglichst pkg zu verwenden: portmaster -PP * List outdated ports pkg_version -vIL= * Uninstall all unused pkgs pkg_cutleaves '''Mail''' * sendmail from Jail Sendmail im Jail mit Smarthost Im Jail rennt nur ein 1 Sendmail, falls der Smarthost nicht erreichbar ist. /etc/rc.conf sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="YES" /etc/mail/freebsd.submit.mc dnl FEATURE(`msp')dnl FEATURE(`msp',`[172.16.3.6]')dnl submit.cf bauen und starten: cd /etc/mail make make install make start Der Smarthost muss den Hostnamen des Jails kennen, z.B. in /etc/mail/local-host-names [http://www.bsdforen.de/threads/jails-sendmail-n%C3%B6tig.24289/] '''Fail2ban''' PF um IP Adressen zu blockieren - diese werden in Tabelle fail2ban eingetragen. Action pf-jan.conf entsprechend [http://www.effu.se/2011/03/Integrating-PF-with-Fail2ban-0.9] anpassen. '''GELI/ZFS''' export NEWDISK=diskid/DISK-WD-WCC1P1093240 gpart create -s gpt $NEWDISK gpart add -t freebsd-swap -s 16776320 $NEWDISK gpart add -t freebsd-zfs -s 104857600 $NEWDISK gpart add -t freebsd-zfs -s 3785394144 $NEWDISK gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 $NEWDISK geli init -K geli.key -J - /dev/${NEWDISK}p4 geli attach -j - -k /root/geli.key /dev/${NEWDISK}p4
Summary:
Please note that all contributions to Jan's Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Jan's Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information