平淡生活

          平淡的生活

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            4 Posts :: 0 Stories :: 8 Comments :: 0 Trackbacks

          2007年6月5日 #

          ??? 已經(jīng)全面的將我的工作,開發(fā),生活都升級到了ubuntu7.04上了,折騰了將近3天,總算是跑起來了。也試著習慣了ubuntu,為了安裝我的佳的美 utv-330電視盒,一直忙活到了4點多才弄好。主要是就是一個驅(qū)動的問題,找了n多網(wǎng)頁才找到了解決的問題的方法,備忘如下:
          ???
          For Ubuntu’s Feisty Fawn :

          sudo?apt-get?install?mercurial?linux-headers-$(uname?-r)?linux-source?build-essential

          cd?
          /lib/firmware

          wget?http
          ://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz

          tar?xvzf?firmware_v4
          .tgz

          hg?clone?http
          ://mcentral.de/hg/~mrec/v4l-dvb-experimental

          cd?v4l
          -dvb-experimental

          make

          make?install

          reboot

          sudo?modprobe?em2880
          -dvb


          If on the next reboot, the card stops working the em2880-dvb module is not being loaded properly in Feisty. To fix this :

          cd /etc/modprobe.d
          sudo gedit dvbstick

          then add this line to the new dvbstick file :
          install em28xx /sbin/modprobe --ignore-install em28xx; /bin/sleep 2; /sbin/modprobe em2880-dvb

          reboot and it should be back up and running.

          —————————————————————————————————–
          For Ubuntu’s Edgy Eft :
          sudo?su

          apt
          -get?install?mercurial?linux-headers-$(uname?-r)?linux-source?build-essential

          cd?
          /lib/firmware

          wget?http
          ://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz

          tar?xvzf?firmware_v4
          .tgz

          hg?clone?http
          ://mcentral.de/hg/~mrec/v4l-dvb-kernel


          cd?v4l
          -dvb-kernel

          make

          make?install

          reboot

          sudo?modprobe?em2880
          -dvb

          If on the next reboot, the card stops working the em2880-dvb module is not being loaded properly in Edgy. To fix this :

          cd /etc/modprobe.d
          sudo gedit dvbstick

          then add this line to the new dvbstick file :
          install em28xx /sbin/modprobe --ignore-install em28xx; /bin/sleep 2; /sbin/modprobe em2880-dvb

          reboot and it should be back up and running.

          —————————————————————————————————–
          For Fedora Core 6 :

          You should first make sure you have the development tools installed. Applications —> Add / Remove Software —>Development —> Development Tools.

          su -

          yum install mercurial

          cd /lib/firmware

          wget http://konstantin.filtschew.de/v4l-firmware/firmware_v4.tgz

          tar xvzf firmware_v4.tgz

          hg clone http://mcentral.de/hg/~mrec/v4l-dvb-kernel


          cd v4l-dvb-kernel

          make

          make install

          reboot

          sudo modprobe em2880-dvb

          If on reboot, the card stops working the em2880-dvb module is not being loaded properly in FC6. To fix this :

          cd /etc/modprobe.d
          sudo gedit dvbstick

          then add this line to the new dvbstick file :

          install em28xx /sbin/modprobe --ignore-install em28xx; /bin/sleep 2; /sbin/modprobe em2880-dvb

          From there I just had to add the new tuner to MythTV via mythtv-setup in Ubuntu Edgy Eft and then the Hauppage HVR-950 worked smoothly in Linux with MythTV & ATSC HDTV (Although, I could never get the unit to play analog cable tv channels).

          posted @ 2007-06-05 00:25 平淡生活 閱讀(5033) | 評論 (8)編輯 收藏

          轉自vxii

          一、安裝apache2+php5+mysql
          sudo?apt-get?install?apache2?php5-mysql?libapache2-mod-php5?mysql-server

          二、設置mysql密碼

          mysqladmin?-u?root?password?新密碼


          三、安裝phpmyadmin

          sudo?apt-get?install?phpmyadmin

          測試:http://localhost/phpmyadmin/

          四、其它操作:
          編輯測試頁:

          sudo?gedit?/var/www/testphp.php


          <?
          phpinfo()
          ?>



          啟動Apache
          $?sudo?/usr/sbin/apache2ctl?start

          停止Apache

          $?sudo?/usr/sbin/apache2ctl?stop

          重啟Apache

          $?sudo?/etc/init.d/apache2?restart


          如果只是用于本地開發(fā),加強安全性,設置如下:

          $?gksudo?
          "gedit?/etc/apache2/ports.conf"
          $?password
          :

          更改ports.conf
          Listen 127.0.0.1:80
          保存文件之后,并重啟apache。這時,只有通過127.0.0.1才能訪問Apache。

          posted @ 2007-06-05 00:10 平淡生活 閱讀(312) | 評論 (0)編輯 收藏

          2006年8月31日 #

          1.用spring 發(fā)Email
          JavaMailSenderImpl?jmsi=new?JavaMailSenderImpl();
          ??jmsi.setHost(
          "smtp.**.com")
          ??jmsi.setUsername(
          "username@xx.com");
          ??jmsi.setPassword(
          "***");
          ??jmsi.setDefaultEncoding(
          "GBK");
          ??Properties?pt?
          =??new?Properties();
          ??pt.setProperty(
          "mail.smtp.auth","true");
          ??jmsi.setJavaMailProperties(pt);

          ---如果發(fā)信服務器用了smtp身份認證必須加上后3句;
          2.spring 的定時器
          一定要下quartz,剛開始以為spring已經(jīng)整合好了.
          posted @ 2006-08-31 22:37 平淡生活 閱讀(189) | 評論 (0)編輯 收藏

          2006年8月7日 #

          2006年8月7日
          posted @ 2006-08-07 11:53 平淡生活 閱讀(163) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 从江县| 茶陵县| 行唐县| 萍乡市| 环江| 定结县| 介休市| 连城县| 新津县| 陕西省| 凌源市| 苍梧县| 阜城县| 宁晋县| 富裕县| 石城县| 孙吴县| 准格尔旗| 治县。| 松原市| 玉屏| 海南省| 桃江县| 阿荣旗| 雷山县| 招远市| 平凉市| 响水县| 盐山县| 沂南县| 班玛县| 无为县| 习水县| 台东市| 金寨县| 云和县| 泰和县| 贵溪市| 新密市| 大冶市| 信宜市|