Linux搭建apache简易媒体服务器
2011-10-13 16:44
453 查看
简介:
系统环境:loongson-2f、中标普华linux5、linux2.6.27.6内核
工具包:httpd-2.0.64.tar.bz2
1、工具包获取:
进入网址http://www.apache.org/dist/httpd,下载httpd-2.2.21.tar.bz2工具包。
2、工具包安装:
# tar jxf httpd-2.0.64.tar.bz2
# cd httpd-2.0.64
#./configure --prefix=/home/1b-tools/apache2_install --enable-module=so --sharedstatedir=/home/1b-tools/apache2_install/apache_share
# make && make install
# cd ./apache2_insatll/bin
# ./apachect1 start
# cd ./apache_insatll/htdoc
#rm * -rf && cp /music/1.mp3 ./
执行以上步骤后,IE打开http://服务器地址,在网页上就能看到文件1.mp3,使用mplayer http://服务器地址/1.mp3 可播放媒体库音频。
备注:使用2F测试运行apache服务器,内存占用率会越来越高,因此长时间使用apache需定时释放内存。
系统环境:loongson-2f、中标普华linux5、linux2.6.27.6内核
工具包:httpd-2.0.64.tar.bz2
1、工具包获取:
进入网址http://www.apache.org/dist/httpd,下载httpd-2.2.21.tar.bz2工具包。
2、工具包安装:
# tar jxf httpd-2.0.64.tar.bz2
# cd httpd-2.0.64
#./configure --prefix=/home/1b-tools/apache2_install --enable-module=so --sharedstatedir=/home/1b-tools/apache2_install/apache_share
# make && make install
# cd ./apache2_insatll/bin
# ./apachect1 start
# cd ./apache_insatll/htdoc
#rm * -rf && cp /music/1.mp3 ./
执行以上步骤后,IE打开http://服务器地址,在网页上就能看到文件1.mp3,使用mplayer http://服务器地址/1.mp3 可播放媒体库音频。
备注:使用2F测试运行apache服务器,内存占用率会越来越高,因此长时间使用apache需定时释放内存。
相关文章推荐
- Linux中基于apache httpd的svn服务器搭建与配置
- Linux+Apache+SVN搭建SVN服务器(CentOS)
- linux中apache服务器的搭建与配置
- linux下个人权限的Apache服务器的php的yii搭建
- linux、apache、svn服务器的搭建
- 搭建简易的c语言CGI和Apache服务器的开发环境
- Linux 学习 - Apache + SVN 搭建服务器(Ubuntu 14.04)
- linux下apache+php(fastcgi)web服务器的搭建
- 在Linux上用Apache搭建Git服务器
- 组网不求人!搭建简易Linux局网服务器
- 搭建linux下apache web服务器 dns服务器
- 搭建简易的c语言CGI和Apache服务器的开发环境
- linux : gerrit搭建配置服务器+git简单操作+apache代理配置+部分遇到的错误及处理
- Linux上Apache服务器的搭建与配置
- linux上nginx+apache 搭建 svn服务器
- linux 下 Apache+Svn 服务器搭建
- Linux服务器的搭建之<Apache>(一)
- linux上nginx+apache 搭建 svn服务器
- 搭建简易Linux局网服务器
- Linux下搭建Apache服务器