- 论坛徽章:
- 0
|
前序:
http://www.freebsdchina.org/forum/viewtopic.php?t=46193
http://freebsd.chinaunix.net/bbs ... ;page=1#pid10799726
这个问题一直困扰着我,大家给的建议是升级为nginx,而我是新手,想请大家如何升级,我在百度和谷歌搜索了很多文章,没有找到。
说明下我服务器情况:
系统配置:
- cpu:P4 3.0双线程
- 内存:1G*2
- 硬盘:SATA 160G
复制代码
环境配置:
- Freebsd 7.2
- PHP5.2.9
- MYSQL5.0.81
- APACHE2.2.11
复制代码
我的分区:
- / 512m
- /swap 4g
- /tmp 2g
- /var 50g
- /usr 5g
- /www 100g
复制代码
软件都是使用ports安装的。
卸载是使用哪个比较合适:
- make deinstall clean
- pkg_delete apache-version
复制代码
我参考了以下一些文章,但是还是不知道用哪个命令会比较适合我?
http://www.freebsdchina.org/forum/topic_14336.html
http://bbs3.chinaunix.net/thread-602459-1-1.html
我的PKG_INFO的输出:
- ccer@king[/usr/home/ccer]# pkg_info
- ZendOptimizer-3.3.0.a An optimizer for PHP code
- apache-2.2.11_4 Version 2.2.x of Apache web server with prefork MPM.
- autoconf-2.62 Automatically configure source code on many Un*x platforms
- autoconf-wrapper-20071109 Wrapper script for GNU autoconf
- automake-1.10.1 GNU Standards-compliant Makefile generator (1.10)
- automake-wrapper-20071109 Wrapper script for GNU automake
- bigreqsproto-1.0.2 BigReqs extension headers
- ca_root_nss-3.11.9_2 The root certificate bundle from the Mozilla Project
- compat6x-i386-6.4.604000.200810 A convenience package to install the compat6x li braries
- curl-7.19.5 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
- cvsup-without-gui-16.1h_4 File distribution system optimized for CVS (non-GUI ve rsion
- expat-2.0.1 XML 1.0 parser written in C
- freetype2-2.3.9_1 A free and portable TrueType font rendering engine
- gettext-0.17_1 GNU gettext package
- gmake-3.81_3 GNU version of 'make' utility
- help2man-1.36.4_3 Automatically generating simple manual pages from program o
- inputproto-1.5.0 Input extension headers
- jpeg-6b_7 IJG's jpeg compression utilities
- kbproto-1.0.3 KB extension headers
- libICE-1.0.4_1,1 Inter Client Exchange library for X11
- libSM-1.1.0_1,1 Session Management library for X11
- libX11-1.2.1,1 X11 library
- libXau-1.0.4 Authentication Protocol library for X11
- libXaw-1.0.5_1,1 X Athena Widgets library
- libXdmcp-1.0.2_1 X Display Manager Control Protocol library
- libXext-1.0.5,1 X11 Extension library
- libXmu-1.0.4,1 X Miscellaneous Utilities libraries
- libXp-1.0.0,1 X print library
- libXpm-3.5.7 X Pixmap library
- libXt-1.0.5_1 X Toolkit library
- libcheck-0.9.6 A unit test framework for C
- libiconv-1.11_1 A character set conversion library
- libltdl-1.5.26 System independent dlopen wrapper
- libmcrypt-2.5.8 Multi-cipher cryptographic library (used in PHP)
- libpthread-stubs-0.1 This library provides weak aliases for pthread functions
- libsigsegv-2.5 Handling page faults in user mode
- libtool-1.5.26 Generic shared library support script
- libxcb-1.2_1 The X protocol C-language Binding (XCB) library
- libxml2-2.7.3 XML parser library for GNOME
- libxslt-1.1.24_2 The XSLT C library for GNOME
- m4-1.4.12,1 GNU m4
- mhash-0.9.9 An easy-to-use library for strong hashes such as MD5 and SH
- mysql-client-5.0.81 Multithreaded SQL database (client)
- mysql-scripts-5.0.81 Multithreaded SQL database (scripts)
- mysql-server-5.0.81 Multithreaded SQL database (server)
- p5-DBD-mysql50-4.010 MySQL 5.0 driver for the Perl5 Database Interface (DBI)
- p5-DBI-1.60.7 The perl5 Database Interface. Required for DBD::* modules
- p5-Storable-2.18 Persistency for perl data structures
- p5-gettext-1.05_2 Message handling functions
- pcre-7.9 Perl Compatible Regular Expressions library
- perl-5.8.9_2 Practical Extraction and Report Language
- php5-5.2.9 PHP Scripting Language
- php5-ctype-5.2.9 The ctype shared extension for php
- php5-curl-5.2.9 The curl shared extension for php
- php5-dom-5.2.9 The dom shared extension for php
- php5-exif-5.2.9 The exif shared extension for php
- php5-extensions-1.3 A "meta-port" to install PHP extensions
- php5-filter-5.2.9 The filter shared extension for php
- php5-ftp-5.2.9 The ftp shared extension for php
- php5-gd-5.2.9 The gd shared extension for php
- php5-gettext-5.2.9 The gettext shared extension for php
- php5-hash-5.2.9 The hash shared extension for php
- php5-iconv-5.2.9 The iconv shared extension for php
- php5-json-5.2.9 The json shared extension for php
- php5-mbstring-5.2.9 The mbstring shared extension for php
- php5-mcrypt-5.2.9 The mcrypt shared extension for php
- php5-mhash-5.2.9 The mhash shared extension for php
- php5-mysql-5.2.9 The mysql shared extension for php
- php5-mysqli-5.2.9 The mysqli shared extension for php
- php5-pcre-5.2.9 The pcre shared extension for php
- php5-pdo-5.2.9 The pdo shared extension for php
- php5-pdo_sqlite-5.2.9 The pdo_sqlite shared extension for php
- php5-posix-5.2.9 The posix shared extension for php
- php5-session-5.2.9 The session shared extension for php
- php5-simplexml-5.2.9 The simplexml shared extension for php
- php5-spl-5.2.9 The spl shared extension for php
- php5-sqlite-5.2.9 The sqlite shared extension for php
- php5-tokenizer-5.2.9 The tokenizer shared extension for php
- php5-xml-5.2.9 The xml shared extension for php
- php5-xmlreader-5.2.9 The xmlreader shared extension for php
- php5-xmlwriter-5.2.9 The xmlwriter shared extension for php
- php5-zip-5.2.9 The zip shared extension for php
- php5-zlib-5.2.9 The zlib shared extension for php
- pkg-config-0.23_1 A utility to retrieve information about installed libraries
- png-1.2.35 Library for manipulating PNG images
- printproto-1.0.4 Print extension headers
- python25-2.5.4_1 An interpreted object-oriented programming language
- t1lib-5.1.2_1,1 A Type 1 Rasterizer Library for UNIX/X11
- unrar-3.80,5 Extract, view & test RAR archives
- xcb-proto-1.4 The X protocol C-language Binding (XCB) protocol
- xcmiscproto-1.1.2 XCMisc extension headers
- xextproto-7.0.5 XExt extension headers
- xf86bigfontproto-1.1.2 XFree86-Bigfont extension headers
- xorg-macros-1.2.1 X.Org development aclocal macros
- xproto-7.0.15 X11 protocol headers
- xtrans-1.2.3 Abstract network code for X
复制代码
先请各位兄弟,比较有时间的帮我把大致思路用命令走一遍贴出来;比较没时间的帮我分析下思路,由于小弟是新手,而且服务器已经在生产运行,马虎不得,所以恳请各位兄弟指点,小弟万分感谢! |
|