上一篇:Linux内核的VGA模式对照表 - 下一篇:显示TagCloud: 插件Weighted Categories修改版
2006-09
23
版权声明:可以任意转载,但转载时必须标明原作者charlee、原始链接http://tech.idv2.com/2006/09/23/install-apache-mysql-php-under-ubuntu-memo/以及本声明。
下载并安装 httpd 2.2。
$ tar xjvf httpd-2.2.3.tar.bz2 $ cd httpd-2.2.3/ $ ./configure --enable-rewrite --enable-so $ make $ sudo make install
下载并安装 mysql-3.23。
$ sudo tar xzvf mysql-3.23.58-pc-linux-i686.tar.gz -C /usr/local/mysql $ sudo groupadd mysql $ sudo useradd -d /usr/sbin -s /bin/false -g mysql mysql $ sudo chown -R mysql.mysql /usr/local/mysql $ cd /usr/local/mysql $ sudo ./scripts/mysql_install_db $ sudo cp support-files/mysql.server /etc/init.d/mysql $ /etc/init.d/mysqld start
下载并安装 php 5.1.6。
$ sudo apt-get install flex bison libxml2-dev
$ tar xjvf php-5.1.6.tar.bz2
$ cd php-5.1.6/
$ ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd
--with-gettext --with-mysql --with-zlib-dir=/usr/lib
--with-mysql=/usr/local/mysql
添加评论
上一篇:Linux内核的VGA模式对照表 - 下一篇:显示TagCloud: 插件Weighted Categories修改版
