-
最近文章
近期评论
- ETiV 在 修改XDebug 上的评论
文章归档
分类目录
功能
月归档:六月 2010
man 7 ports, FreeBSD ports使用方法简介
PORTS(7) FreeBSD Miscellaneous Information Manual PORTS(7) NAME ports – contributed applications DESCRIPTION The FreeBSD Ports Collection offers a simple way for users and adminis- trators to install applications. Each port contains any patches neces- sary to make the original application source code compile and run on BSD. Compiling an application is as simple as typing make build in the port directory! The Makefile automatically fetches the application source code, either from a local disk or via FTP, unpacks it on your system, applies the patches, and compiles it. If all goes well, simply type make install to install the application. It is possible to download and use ports from the FreeBSD repository that are newer than the installed system; however it is important to install the appropriate “Upgrade Kit” from http://www.FreeBSD.org/ports/ first! The portcheckout(1) (ports/ports-mgmt/portcheckout) script (also a port, of course!) will help to download new ports. For more information about using ports, see “Packages and Ports” in The FreeBSD Handbook, (file:/usr/share/doc/en_US.ISO8859-1/books/handbook/ports.html or http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/ports.html). For information about creating new ports, see The Porter’s Handbook (file:/usr/share/doc/en_US.ISO8859-1/books/porters-handbook/index.html or http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/porters-handbook/). TARGETS Some of the targets work recursively through subdirectories. This lets you, for example, install all of the “biology” ports. The targets that do this are build, checksum, clean, configure, depends, extract, fetch, install, and package. The following targets will be run automatically by each proceeding target in order. That is, build will be run (if necessary) by install, and so on all the way to fetch. Usually, you will only use the install target. config Configure OPTIONS for this port using dialog(1). fetch Fetch all of the files needed to build this port from the sites listed in MASTER_SITES and PATCH_SITES. See FETCH_CMD, MASTER_SITE_OVERRIDE and MASTER_SITE_BACKUP. checksum Verify that the fetched distfile’s checksum matches the one the port was tested against. Defining NO_CHECKSUM will skip this step. depends Install (or compile if only compilation is necessary) any … 继续阅读
发表在 Uncategorized
25 条评论
FreeBSD探索(1)
我不打算写一系列的”教学”, 因为我深知自己对于Unix/Linux世界的了解基本没有, 也没有资格去教别人如何如何. 写下这些, 只能算是我对FreeBSD的学习笔记, 或者, 探险日志(我估计现在写下的内容, 搞不好日后的某一天会引起什么重大的问题…) 所以如果作为读着的您, 发现了什么错误的话, 还劳请指出. 我会感谢您一百零八辈祖宗的. 还是先说一说我为什么选择FreeBSD吧. Linux有着如此众多的发行版: Ubuntu, RedHat, CentOS…除了RH我没有尝试过之外, Ubuntu给我的感觉是太简单, 过于简单, 一个apt-get install可以走遍世界, 丝毫没有从源代码编译过来的快感. CentOS的东西则是太陈旧了…我不追PHP5.3, 但怎么也要给我个5.0吧. 还有就是Linux套件一般会安装不少的实用程序, 而我又是个有洁癖的人(包括FreeBSD, 我发现装了没用的内容, 采用的不是pkg_delete, 而是直接插U盘, 重新格式化, 安装.), 对于我根本用不到的”实用程序”, 根本不想去安装… 当然, 这缩小了我对服务器操作系统的选择范围, gentoo 或者 FreeBSD. 这两个只是在我知识涉猎范围内的… gentoo, … 继续阅读
Happy birthday to Vavay.COM For Its 9-year-old
As the title, and… My new blog is BLOWED-UP. I’ll record the knowledge about FreeBSD and Kohana, a PHP framework. OK, I’m going to INSTALL FreeBSD.
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
发表在 Uncategorized
留下评论