摘要: 1.添加root用户Fedora默认不允许以root用户登录,添加root用户方法为:$ su# vi /etc/pam.d/gdm将auth required pam_succeed_if.souser != root quiet一行注释掉。# vi /etc/pam.d/gdm-password同样将auth required pam_succeed_if.souser != root quiet一行注释掉,就可以用root登录系统了。2.为用户添加sudo权限$ su# chmod +x /etc/sudoers# vi /etc/sudoers在文件最后一行添加your_user_na 阅读全文
posted @ 2011-12-09 19:21 浓得化不开 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 1.安装Tomcat6.0[1]下载从Tomcat官网http://tomcat.apache.org/download-60.cgi 6.0.33 Binary Distributions处下载tar.gz版本。[2]解压$ gzip -d apache-tomcat-6.0.33.tar.gz$ tar xvf apache-tomcat-6.0.33.tar[3]移动将tomcat移动到期望的位置,这里移动到/usr/local目录下$ mv apache-tomcat-6.0.33 /usr/loal/apache-tomcat-6.0.33[4]设置# vim /etc/profil 阅读全文
posted @ 2011-12-05 20:02 浓得化不开 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 1.下载官方网站www.utorrent.com/downloads/linux2.解压$ tar xvf utorrent-server-VERSION.tar3.启动服务器$ cd utorrent-server-VERSION$ ./utserver此处可能遇到./utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory和./utserver: error while loading shared li 阅读全文
posted @ 2011-12-05 15:09 浓得化不开 阅读(2486) 评论(0) 推荐(0) 编辑
摘要: 1.下载从Apache官网http://httpd.apache.org/download下载httpd-NN.tar.gz,NN表示版本号。2.解压$ gzip -d httpd-NN.tar.gz$ tar xvf httpd-NN.tar.gz$ cd httpd-NN3.配置$ ./configure --prefix=[apache dir],这里[apache dir]设置为/usr/local/apache。4.编译$ make5.安装$ make install6.操作启动:$ sudo /usr/local/apache/bin/apachectl -k start,注意要用 阅读全文
posted @ 2011-12-04 21:26 浓得化不开 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 最近的项目需要用Live555架设流媒体服务器,谷歌百度了两天,总算有点进展,小结一下。目前主流的流媒体服务器有:1.Helix Server,功能最强大,收费。2.Darwin Server,稳定,暂无接触。3.Live555,开源免费,据说性能有瓶颈。Live555的核心在Live Media,Live Media的核心在Source和Sink。服务器大致的服务流程是调用Sink的continuePlaying()来向客户发送流媒体数据,而continuePlaying()内调用了Source类的getNextFrame()函数,来获取帧数据。简单来说,Source类主要用于获取要发送的数 阅读全文
posted @ 2011-10-19 21:11 浓得化不开 阅读(2470) 评论(0) 推荐(0) 编辑