Jamers Posted December 27, 2014 Report Share Posted December 27, 2014 于2014年7月5日发布于百度空间:http://hi.baidu.com/zomew/item/b8bc1b05c0ee8bd572e676ca FREEBSD10在2014.1就发行了,之前一直没去看,最近安装过程中,发现N多改动,特此备忘! 原来熟悉的sysinstall已经没有了,取而代之的是bsdinstall/bsdconfig两个命令。 Apache安装得挺顺利,再按原来的方式把PHP安装完,居然没办法解析PHP文件,找了N多地方,才发现PHP的apache模块独立出来了,直接到 /usr/ports/www/mod_php55 安装完后解决。 在FREEBSD9之前,我都是用cvsup升级ports树的,现在用portsnap速度快很多 fetch/extract/update 升级ports的时候默认单线程,慢得想死的心都有了,换!axel /usr/ports/ftp/axel 默认安装带ee编辑器了 以下为备忘内容: axel /usr/ports/ftp/axel/ ee /etc/make.conf FETCH_CMD=axel FETCH_BEFORE_ARGS=-n 10 FETCH_AFTER_ARGS= DISABLE_SIZE=yes apache /usr/ports/www/apache24/ mysql /usr/ports/databases/mysql56-server/ php /usr/ports/lang/php55/ php-ext /usr/ports/lang/php55-extensions/ mod_php /usr/ports/www/mod_php55/ ftp /usr/ports/ftp/pureftpd/ #SSHD仅允许密钥登录 ee /etc/ssh/sshd_config Protocol 2 # Authentication: LoginGraceTime 2m PermitRootLogin no #StrictModes yes MaxAuthTries 6 MaxSessions 10 RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile .ssh/authorized_keys # Change to no to disable PAM authentication ChallengeResponseAuthentication no UsePAM no Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now