博文

目前显示的是标签为“Memcached”的博文

Freebsd9.0安装Nginx+PHP-FPM+MySQL+eAccelerator+Memcached+phpMyAdmin

图片
更新 ports 第一种方式: portsnap (自带) 首先修改/etc/portsnap.conf SERVERNAME=portsnap.cn.freebsd.org 1.下载压缩的 Ports 套件快照到 /var/db/portsnap # portsnap fetch 2.假如是首次运行 Portsnap, 则需要将快照释放到 /usr/ports: # portsnap extract 如果您已经有装好的 /usr/ports 而只想更新, 则应执行下面的命令: # portsnap update 完成后需要退出终端重新登陆。 复制cvsup更新配置文件 # cp /usr/share/examples/cvsup/ports-supfile /etc/supfile 下面是我使用的配置,屏蔽了desktop等一些服务器用不到的软件包,源已经改成中国镜像,速度比国外的主服务器要快很多 # $FreeBSD: release/9.0.0/share/examples/cvsup/ports-supfile 219858 2011-03-22 04:31:35Z glebius $ # # This file contains all of the “CVSup collections” that make up the # FreeBSD-current ports collection. # # CVSup (CVS Update Protocol) allows you to download the latest CVS # tree (or any branch of development therefrom) to your system easily # and efficiently (far more so than with sup, which CVSup is aimed # at replacing). If you’re running CVSup interactively, and are # currently using an X display server, you should run CVSup as follows # to keep your CVS tree up-to-date: # # cvsup ...