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
いつも悩むバージョン選び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 と一個古いんだそうな。
Total access 509:本日 3:昨日 0