Sluldの作業.(2017年6月)
- Backup /usr/local/www
- Backup /usr/local/etc/apache22
- Configure in /usr/ports/www/apache24
- make in /usr/ports/www/apache24
- /usr/local/etc/rc.d/apache22 stop
- edit /etc/rc.conf:
- -apache22_enable="YES"
- +apache24_enable="YES"
- make deinstall in /usr/ports/www/apache22
- make install in /usr/ports/www/apache24
- Configure /usr/local/etc/apache24/httpd.conf
- /usr/local/etc/rc.d/apache24 start
Verdandi, Urdの作業.(2018年4月)
共通
- /home/private/server-backup/backup-freebsd.sh: + backup_tar WWW/apache24 WWW.apache24
- # mkdir /WWW/apache24
- /WWW/apache24# tar cvf - -C /WWW/apache22 server ssl.crl ssl.crt ssl.key local | tar xf -
- /etc/make.conf: DEFAULT_VERSION+=apache=2.4
- /etc/rc.conf: + apache24_enable="YES"
- # pkg delete apache22
- httpd-2.4.?/modules/mappers/mod_dav.cを修正.
- /usr/ports/www/apache24# make install (+AUTHNZ_LDAP, +LDAP)
- /WWW/apache24# tar cvf - -C /usr/local/etc/apache24 . | tar xf -
- /usr/local/etc# mv apache24 apache24.org
- /usr/local/etc# ln -s /WWW/apache24
- Configure /WWW/apache24/httpd.conf
- Configure /WWW/apache24/local/*.conf
- /WWW/credential/script/update-users.sh: apache22 → apache24
- ~root/cron/update-pki.sh: apache22 → apache24
- /etc/rc.conf: - apache22_enable="YES"