CONTENTS
Lastmodified 2023-11-02 (木) 10:38:43
リモートから操作できる様に、/etc/ssh/ssh_config /etc/ssh/sshd_config の設定を変更・確認 以後の操作は、WinSCP と Putty で。
hosts.allow を設定変更する。
# portinstall apache24
mpm は、worker を選択
依存関係の ftp/curl インストールでエラー
# portinstall apache24 : : : : ===> curl-8.4.0 has known vulnerabilities: curl-8.4.0 is vulnerable: curl -- SOCKS5 heap buffer overflow CVE: CVE-2023-38545 WWW: https://vuxml.FreeBSD.org/freebsd/d6c19e8c-6806-11ee-9464-b42e991fc52e.html 1 problem(s) in 1 installed package(s) found. => Please update your ports tree and try again. => Note: Vulnerable ports are marked as such even if there is no update available. => If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes' *** Error code 1 Stop. make[3]: stopped in /usr/ports/ftp/curl *** Error code 1 Stop. make[2]: stopped in /usr/ports/ftp/curl *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/apache24 *** Error code 1 Stop. make: stopped in /usr/ports/www/apache24 egrep: empty (sub)expression ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20231012-25064-pczfy5 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! www/apache24 (new compiler error)
という事の様なので、
root@k214:~ # portinstall -m "DISABLE_VULNERABILITIES=yes" ftp/curl [Reading data from pkg(8) ... - 92 packages found - done]
の後、再び
# portinstall apache24
した。
Apache24 起動用コマンドを書き込む
echo apache24_enable=\"yes\" >> /etc/rc.conf
portinstall security/py-certbot
いつも悩むバージョン選びw
drwxr-xr-x 2 root wheel 512 Oct 10 15:57 mariadb-connector-odbc/ drwxr-xr-x 2 root wheel 512 Oct 10 15:57 mariadb1011-client/ drwxr-xr-x 3 root wheel 512 Oct 12 03:25 mariadb1011-server/ drwxr-xr-x 2 root wheel 512 Oct 10 15:57 mariadb105-client/ drwxr-xr-x 3 root wheel 512 Oct 10 15:57 mariadb105-server/ drwxr-xr-x 2 root wheel 512 Oct 10 15:57 mariadb106-client/ drwxr-xr-x 3 root wheel 512 Oct 10 15:57 mariadb106-server/
今回はこれで↓
# portinstall mariadb106-client # portinstall mariadb106-server
コレですが、 mariadb106-server のほうから先に入れると、client は自動的に入るんだそうなw
phpmyadmin の方は、Ver 4.9 と一個古いんだそうな。Ports で入れるも佳し、本家 https://www.phpmyadmin.net/ からダウンロードするも佳し。
189 16:15 cd /usr/ports/mail/mailman 190 16:15 make install clean 196 16:26 chown -R mailman:mailman /usr/local/mailman/ 199 16:27 /usr/local/mailman/bin/check_perms -f 200 16:27 chown www /usr/local/mailman/archives/private 201 16:27 chmod o-x /usr/local/mailman/archives/private 202 16:27 bin/check_perms -f No problems found
# Put YOUR site-specific settings below this line. DEFAULT_SERVER_LANGUAGE = 'ja' DEFAULT_EMAIL_HOST="k214.kuji-clinic.net" DEFAULT_URL_HOST="k214.kuji-clinic.net" MTA = 'Postfix' USE_MAILMAN_MESSAGE_ID = Yes "SMTPHOST = k214.kuji-clinic.net" MTA = 'Postfix' DEFAULT_SUBJECT_PREFIX = '[%(real_name)s:%%d]' # This and the next three lines added by FreeBSD's post-install script add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) OWNERS_CAN_DELETE_THEIR_OWN_LISTS = yes
203 16:29 /usr/local/etc/rc.d/mailman start
210 16:45 bin/newlist mailman
230 17:38 bin/mmsitepass サイトパスワードを変更する 231 17:39 service mailman restart
Total access 509:本日 3:昨日 0