<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
  <channel>
    <title>BioInfoServ/BioXubuntu :: Forum</title>
    <link>http://www.bioinfoserv.org/en/</link>
    <description>welcome! :: XOOPS Community Bulletin Board</description>
    <lastBuildDate>Tue, 06 Jan 2009 04:09:10 +1500</lastBuildDate>
    <docs>http://backend.userland.com/rss/</docs>
    <generator>CBB 3.07</generator>
    <category>Forum</category>
    <managingEditor>biowee@163.com</managingEditor>
    <webMaster>biowee@163.com</webMaster>
    <language>en</language>
        <image>
      <title>BioInfoServ/BioXubuntu :: Forum</title>
      <url>http://www.bioinfoserv.org/en/modules/newbb/images/xoopsbb_slogo.png</url>
      <link>http://www.bioinfoserv.org/en/</link>
      <width>92</width>
      <height>52</height>
    </image>
            <item>
      <title>Scibuntu installation script [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=70&amp;forum=8</link>
      <description>configurations and shell scripts:: Scibuntu installation script&lt;br /&gt;
This script is from Scibuntu that makes you scientific applications：&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
#!/bin/bash
# scibuntu - scientific extensions for Ubuntu 6.04 LTS
# by Urban Anjar
#    GUI code and inspiration mostly by Troels Kofoed Jacobsen
# Copyleft, all rights reversed
# Ver: 0.1          061023 - First version
# Ver: 0.2          061030 - More programs, deb-installation loop
# Ver: 0.21         061106 - qalculate-gtk added
# Ver: 0.3-testing  061109 - Allmost total rewrite,
#                            GUI, choice, lots of new programs
# Ver: 0.3-paraxe   061113 - Removed rkward and treeviewx (missing in dapper repository), 
#                            edited spelling error on tree-puzzle
#                            Changed phylo_win-installation according to scibuntu022-alpha
#                   061117   Above fixes by paraxe + improved logging + new license: GPL
#                            see urban.it.hik.se/scibuntu/COPYING
#                   061130   Added ACRODEB to install Acrobat Reader from the
#                            repository instead of downloading from Adobe.com.
#                   061130   Added JabRef and Sun Java
#                   061203   Fixed som typos. Close Synaptic and apt-get. Changed TRUE to FALSE so 
#                            users actively have to choose what to install.
#                   061204   Addet ipython, python-matplotlib and python-scipy.
# Ver 0.4-beta      061210   Celebrating the first Swede in space and all Nobel lauriates we now release our first beta version.
# Ver 0.41-beta     070605   Bug fix thanks to Gast贸n Paris

VER=&amp;quot;0.41&amp;quot;
LOG=&amp;quot;.scibuntu_log&amp;quot;
TEMPDIR=&amp;quot;/tmp/scibuntu-install&amp;quot;

## DEB-packages to be installed

MATHDEB=&amp;quot;qalculate-gtk grace octave gnuplot labplot r-base wxmaxima&amp;quot; 
PHYSDEB=&amp;quot;celestia cernlib cernlib-base cernlib-core cernlib-core-dev cernlib-extras cernlib-montecarlo&amp;quot;
CHEMDEB=&amp;quot;chemtool gromacs gromacs-doc rasmol pymol t-coffee openbabel&amp;quot;
BIODEB=&amp;quot;ncbi-tools-x11 ncbi-tools-bin blast2 clustalw clustalx tree-puzzle&amp;quot; 
DEVDEB=&amp;quot;emacs21 build-essential g77 gfortran gpc sharutils binutils sysutils bioperl python-biopython&amp;quot;
PUBDEB=&amp;quot;tetex-base tetex-bin tetex-extra kile gs gv&amp;quot;
ACRODEB=&amp;quot;acroread acroread-plugins mozilla-acroread&amp;quot;
SCIPYDEB=&amp;quot;ipython python-scipy python-matplotlib&amp;quot;

function logtouch {
     DATE=`date +%y-%m-%d__%H_%M_%S`
     LOG=$LOG$DATE
     touch $LOG
}

function logstart {
     logtouch
     echo &amp;quot;DATE&amp;quot; &amp;gt;&amp;gt; $LOG
     date &amp;gt;&amp;gt; $LOG
     echo -e &amp;quot;\nSCIBUNTU VERSION&amp;quot;&amp;gt;&amp;gt; $LOG
     echo $VER &amp;gt;&amp;gt; $LOG
     echo -e &amp;quot;\nUBUNTU VERSION&amp;quot; &amp;gt;&amp;gt;$LOG
     cat /etc/issue &amp;gt;&amp;gt;$LOG
     echo -e &amp;quot;\nCPU VERSION&amp;quot; &amp;gt;&amp;gt; $LOG
     cat /proc/cpuinfo &amp;gt;&amp;gt; $LOG
     echo -e &amp;quot;\nRAM MEMORY&amp;quot; &amp;gt;&amp;gt; $LOG
     free &amp;gt;&amp;gt; $LOG
     echo -e &amp;quot;\nDISK UTILISATION&amp;quot;&amp;gt;&amp;gt;$LOG
     df &amp;gt;&amp;gt; $LOG
}

function logstop {
     echo &amp;quot;DATE&amp;quot; &amp;gt;&amp;gt; $LOG
     date &amp;gt;&amp;gt; $LOG
     echo -e &amp;quot;\nDISK UTILISATION&amp;quot;&amp;gt;&amp;gt;$LOG
     df &amp;gt;&amp;gt; $LOG
}

function debinstall {
   for P in $PACKAGES; do
       #echo Installing $P
       apt-get install $P -qy | tee --append $LOG | zenity --progress --pulsate --auto-close --text &amp;quot;INSTALLING $P&amp;quot;
       #echo $P ready
   done
}

function phylowininstall {
#Installing non-ubuntu packages
#   echo &amp;quot;Installing phylo_win&amp;quot;
   mkdir $TEMPDIR
   cd $TEMPDIR
   wget ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/phylo_win/phylo_winlinuxPC.tgz | zenity --progress --pulsate --auto-close --text &amp;quot;Downloading Phylo_win&amp;quot;
   tar -xvf phylo_winlinuxPC.tgz  | zenity --progress --pulsate --auto-close --text &amp;quot;Unpacking Phylo_win&amp;quot;
   rm phylo_winlinuxPC.tgz
   mkdir /usr/local/phylo_win
   mv phylo_win*  /usr/local/phylo_win
   mv protein.mase  /usr/local/phylo_win
   ln -s /usr/local/phylo_win/phylo_win /usr/local/bin
   cd -
   rm -rf $TEMPDIR
#   echo &amp;quot;phylo_win ready&amp;quot;
# TODO: Add phylo_win to program menu
}

function jabrefinstall {
   mkdir $TEMPDIR
   cd $TEMPDIR
   wget http://heanet.dl.sourceforge.net/jabref/JabRef-2.1.jar | zenity --progress --pulsate --auto-close --text &amp;quot;Downloading JabRef&amp;quot;
   mkdir /usr/local/jabref
   mv JabRef* /usr/local/jabref
   ln -s /usr/local/jabref/JabRef-2.1.jar /usr/local/bin/jabref
# TODO: Add &amp;quot;java -jar /usr/local/bin/jabref&amp;quot; to program menu
   cd -
   rm -rf $TEMPDIR
}

function javainstall {
   xterm -T &amp;#039;Installing Sun Java&amp;#039; -e &amp;#039;apt-get install -qy sun-java5-jre;update-alternatives --set java /usr/lib/jvm/java-1.5.0-sun/jre/bin/java;echo -e &amp;quot;Press Enter to close this window&amp;quot;;read x;exit&amp;#039;
}

#http://kent.dl.sourceforge.net/sourceforge/salstat/salstat.20031022.tar.gz

function acrobatinstall {
   #echo &amp;quot;Installing Adobe Reader&amp;quot;
   mkdir $TEMPDIR
   cd $TEMPDIR
   wget http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.8/enu/AdobeReader_enu-7.0.8-1.i386.tar.gz| zenity --progress --pulsate --auto-close --text &amp;quot;Downloading AcrobatReader&amp;quot;
   tar -xvf AdobeReader*.tar.gz | zenity --progress --pulsate --auto-close --text &amp;quot;Unpacking AcrobatReader&amp;quot;
   cd AdobeReader
   xterm -e ./INSTALL
   cd -
   rm -rf $TEMPDIR
   #echo &amp;quot;AdobeReader ready&amp;quot;
}

function choose {
       RET=`zenity --list --checklist --width=400 --height=400 \
               --title &amp;quot;Choose applications&amp;quot; \
               --column=&amp;quot;&amp;quot; --column $&amp;quot;Function&amp;quot; --column $&amp;quot;Description&amp;quot; \
               FALSE    $&amp;quot;math&amp;quot; $&amp;quot;Mathematics, statistics and plotting&amp;quot;\
               FALSE    $&amp;quot;phys&amp;quot; $&amp;quot;Physics applications&amp;quot;\
               FALSE    $&amp;quot;chem&amp;quot; $&amp;quot;Chemistry applications&amp;quot;\
               FALSE    $&amp;quot;bio&amp;quot; $&amp;quot;Bioinformatics applications&amp;quot;\
               FALSE    $&amp;quot;devel&amp;quot; $&amp;quot;Development and console tools&amp;quot;\
               FALSE    $&amp;quot;publ&amp;quot; $&amp;quot;Scientific publishing&amp;quot;\
               FALSE    $&amp;quot;jabref&amp;quot; $&amp;quot;Reference Manager (with Sun Java)&amp;quot;\
               FALSE    $&amp;quot;acroread&amp;quot; $&amp;quot;Adobe Reader (unfree)&amp;quot;\
               FALSE    $&amp;quot;scipy&amp;quot; $&amp;quot;Python scientific modules (scipy) and ipython interactive shell&amp;quot;`

       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;math&amp;quot;; then
               math
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;phys&amp;quot;; then
               phys
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;chem&amp;quot;; then
               chem
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;bio&amp;quot;; then
               bio
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;devel&amp;quot;; then
               devel
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;publ&amp;quot;; then
               publ
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;jabref&amp;quot;; then
               jabref
       fi
       if echo &amp;quot;$RET&amp;quot; | grep $&amp;quot;acroread&amp;quot;; then
#              acrobatinstall
               acroread
       fi
}

function math {
   PACKAGES=$MATHDEB
   debinstall
}

function phys {
   PACKAGES=$PHYSDEB
   debinstall
}

function chem {
   PACKAGES=$CHEMDEB
   debinstall
}

function bio {
   PACKAGES=$BIODEB
   debinstall
   phylowininstall
}

function devel {
   PACKAGES=$DEVDEB
   debinstall
}
function publ {
   PACKAGES=$PUBDEB
   debinstall
}
function scipy {
   PACKAGES=$SCIPYDEB
   debinstall
}
function jabref {
    javainstall
    jabrefinstall
}
function acroread {
   PACKAGES=$ACRODEB
   debinstall
}

###MAIN###
logstart
if  test $USER = &amp;quot;root&amp;quot;
then
       if test `ps ax | grep synaptic | wc -l` -gt 1
       then
           zenity --info --title &amp;quot;Scibuntu&amp;quot; --text &amp;quot;Please close all instances of Synaptic or apt-get&amp;quot;
       fi
       choose
       zenity --info --title &amp;quot;Scibuntu&amp;quot; --text &amp;quot;Installation finished&amp;quot;
else
       zenity --info --title &amp;quot;Scibuntu&amp;quot; --text &amp;quot;USAGE: sudo $0&amp;quot;
fi
logstop
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Sat, 21 Jul 2007 16:25:53 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=70&amp;forum=8</guid>
    </item>
        <item>
      <title>how to use vmware for BioInfoServOS? [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=63&amp;forum=1</link>
      <description>Installation, configuration and updating::&lt;font color=&quot;#00CC00&quot;&gt;[solved]&lt;/font&gt; how to use vmware for BioInfoServOS?&lt;br /&gt;
&lt;p&gt;&lt;font size=&quot;-1&quot;&gt;&lt;font color=&quot;#cc0033&quot;&gt;VMWare&lt;/font&gt; is a virtual machine by &lt;a href=&quot;http://www.vmware.com.&quot; target=&quot;_blank&quot;&gt;http://www.vmware.com.&lt;/a&gt; With it , you can run Windows, DOS, LINUX operating system in the same time.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;-1&quot;&gt;This document will show how to use it for BioInfoServOS on windows xp platform.&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;1. &lt;/strong&gt;Download the software of vmware from &lt;font size=&quot;-1&quot;&gt;&lt;a href=&quot;http://www.vmware.com&quot; target=&quot;_blank&quot;&gt;http://www.vmware.com&lt;/a&gt; or from &lt;a href=&quot;../../../softwares/forWindows/VMware-workstation-5.5.3-34685ForWindows.rar&quot; target=&quot;_blank&quot; title=&quot;vmware&quot;&gt;our site&lt;/a&gt; &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;-1&quot;&gt;and download BioInfoServOS Live DVD ISO from &lt;/font&gt;&lt;a href=&quot;../../../../modules/PDdownloads/singlefile.php?cid=3&amp;amp;lid=10&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;ftp://202.204.96.207/BioInfoServOS/BioInfoServLiveDVD1.01.iso&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Install vmware just with double click. It&amp;#39;s suggested &lt;font size=&quot;-1&quot;&gt;not to close the autorun of &lt;/font&gt;&lt;font size=&quot;-1&quot;&gt;CD disk&lt;/font&gt;&lt;font size=&quot;-1&quot;&gt;.&lt;/font&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;3.The interface of vmware:&lt;br /&gt; &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos1.jpg&quot; alt=&quot; &quot; width=&quot;651&quot; height=&quot;608&quot; /&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;&lt;strong&gt;4. &lt;/strong&gt;create new virtual machine&lt;/p&gt;&lt;p&gt; &lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos2.jpg&quot; alt=&quot; &quot; width=&quot;646&quot; height=&quot;614&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;5.&lt;/strong&gt; chose the &amp;quot;typical&amp;quot;:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos3.jpg&quot; alt=&quot; &quot; width=&quot;645&quot; height=&quot;609&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;6.&lt;/strong&gt; choose the type of vmware-ubuntu&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos4.jpg&quot; alt=&quot; &quot; width=&quot;651&quot; height=&quot;609&quot; /&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;7.&lt;/strong&gt; choose the saving place of vmware&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos5.jpg&quot; alt=&quot; &quot; width=&quot;649&quot; height=&quot;612&quot; /&gt;&lt;br /&gt; &lt;strong&gt;&lt;br /&gt;8. &lt;/strong&gt;choose the type of network (bridged networking)&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos6.jpg&quot; alt=&quot; &quot; width=&quot;651&quot; height=&quot;613&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;9.&lt;/strong&gt; choose the disk size of vmware (10G):&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos7.jpg&quot; alt=&quot; &quot; width=&quot;648&quot; height=&quot;611&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;10.&lt;/strong&gt; Finish the settings:  &lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos10.jpg&quot; alt=&quot; &quot; width=&quot;648&quot; height=&quot;610&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;11.&lt;/strong&gt; edit virtual machine setting&lt;/p&gt;&lt;p&gt; &lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos11.jpg&quot; alt=&quot; &quot; width=&quot;650&quot; height=&quot;614&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;12.&lt;/strong&gt; Set the memery. if you want to fast the booting of BioInfoServOS, please set the memery cache as 700-800M.&lt;/p&gt;&lt;p&gt; &lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos12.jpg&quot; alt=&quot; &quot; width=&quot;649&quot; height=&quot;616&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;13.&lt;/strong&gt; Set the boot image of BioInfoServOS as in CD-ROM&lt;/p&gt;&lt;p&gt; &lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos14.jpg&quot; alt=&quot; &quot; width=&quot;648&quot; height=&quot;613&quot; /&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos13.jpg&quot; alt=&quot; &quot; width=&quot;648&quot; height=&quot;615&quot; /&gt; &lt;/p&gt;&lt;p&gt;&lt;strong&gt;14. &lt;/strong&gt;Set the sound card and network &lt;br /&gt;&lt;strong&gt;15. &lt;/strong&gt;Finish the parameter and boot the virtual mache of BioInfoServOS:&lt;/p&gt;&lt;p&gt;  &lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos15(1).jpg&quot; alt=&quot; &quot; width=&quot;650&quot; height=&quot;618&quot; /&gt;&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;16&lt;/strong&gt;. The virtal BIOS setting by F2 key from keyborad. And make sure of booting from the CD-rom.&lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos16.jpg&quot; alt=&quot; &quot; width=&quot;648&quot; height=&quot;609&quot; /&gt; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos17.jpg&quot; alt=&quot; &quot; width=&quot;647&quot; height=&quot;614&quot; /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;17.&lt;/strong&gt; Now reboot the virtual mache of BioInfoServOS:&lt;br /&gt;&lt;br /&gt;  &lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos18.jpg&quot; alt=&quot; &quot; width=&quot;651&quot; height=&quot;613&quot; /&gt;&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;img src=&quot;../../../BioLinux/uploads/newbb/vmware-bioinfoservos19.jpg&quot; alt=&quot; &quot; width=&quot;649&quot; height=&quot;534&quot; /&gt; &lt;/p&gt;</description>
      <pubDate>Wed, 18 Jul 2007 12:15:38 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=63&amp;forum=1</guid>
    </item>
        <item>
      <title>Configurations of ADSL [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=58&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#FF0000&quot;&gt;[bug report]&lt;/font&gt; Configurations of ADSL&lt;br /&gt;
The main configuration files of adsl is in &quot;/etc/ppp&quot;, which included below files:&lt;br /&gt;&lt;br /&gt;/etc/ppp/peers/dsl-provider&lt;br /&gt;/etc/ppp/peers/provider&lt;br /&gt;/etc/ppp/options.php&lt;br /&gt;/etc/ppp/chap-secrets&lt;br /&gt;/etc/ppp/pap-secrets&lt;br /&gt;&lt;br /&gt;You can use the conmmand line of &quot;sudo pon dsl-provider&quot; to set the user name and pass word on the terminal.&lt;br /&gt;&lt;br /&gt;Firstly, the service of &quot;ppp-dns&quot; should be started with succsess. Then the IP address should be configed with &quot;DHCP&quot; rightly. After that, you can edit the configuration files of adsl in &quot;/etc/ppp&quot;.&lt;br /&gt;&lt;br /&gt;The command line of ADSL:&lt;br /&gt;&lt;br /&gt;Gui interface of configurations: sudo pppoeconf&lt;br /&gt;Linking of ADSL: sudo pon dsl-provider&lt;br /&gt;Status of ADLS: plog -f &lt;br /&gt;Status of network card: ifconfig&lt;br /&gt;Halting the adsl：sudo poff -a&lt;br /&gt;&lt;br /&gt;1. the reference of &quot;/etc/ppp/peers/dsl-provider&quot;:&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
noipdefault
defaultroute
replacedefaultroute
hide-password
#if the adsl is not stable, you can open the following parameter, especially &amp;quot;lcp-echo-failure&amp;quot; with bigger number.
#lcp-echo-interval 30 
#lcp-echo-failure 40
noauth
persist
#The max idle time
#mtu 1492
#ADSL DNS from the provider.
usepeerdns
#bind the comunication between network cark and ADLS Modern.
plugin rp-pppoe.so eth0
#ADSL user name
user &amp;quot;adsl33398790&amp;quot;
#ADSL pass word
password &amp;quot;739288202029&amp;quot;
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. /etc/ppp/peers/provider&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# example configuration for a dialup connection authenticated with PAP or CHAP
#
# This is the default configuration used by pon(1) and poff(1).
# See the manual page pppd(8) for information on all the options.

# MUST CHANGE: replace myusername@realm with the PPP login name given to
# your by your provider.
# There should be a matching entry with the password in /etc/ppp/pap-secrets
# and/or /etc/ppp/chap-secrets.
user &amp;quot;myusername@realm&amp;quot;

# MUST CHANGE: replace ******** with the phone number of your provider.
# The /etc/chatscripts/pap chat script may be modified to change the
# modem initialization string.
connect &amp;quot;/usr/sbin/chat -v -f /etc/chatscripts/pap -T ********&amp;quot;

# Serial device to which the modem is connected.
/dev/modem

# Speed of the serial line.
115200

# Assumes that your IP address is allocated dynamically by the ISP.
noipdefault
# Try to get the name server addresses from the ISP.
usepeerdns
# Use this connection as the default route.
defaultroute

# Makes pppd &amp;quot;dial again&amp;quot; when the connection is lost.
persist

# Do not ask the remote to authenticate.
noauth
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;3. /etc/ppp/chap-secrets&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# Secrets for authentication using CHAP
# client	server	secret			IP addresses


#user name
user &amp;quot;adsl33398790&amp;quot;
#password
password &amp;quot;739288202029&amp;quot;

&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;4. /etc/ppp/options.php&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
###############################################################################
# $Id: options.pptp,v 1.1 2005/02/18 01:40:23 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection.  See &amp;quot;man pppd&amp;quot;.
#
# You are expected to change this file to suit your system.  As
# packaged, it requires PPP 2.4.2 or later from http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################

# Lock the port
lock

# Authentication
# We don&amp;#039;t need the tunnel server to authenticate itself
noauth

# We won&amp;#039;t do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
refuse-eap
refuse-chap
refuse-mschap

# Compression
# Turn off compression protocols we know won&amp;#039;t be used
nobsdcomp
nodeflate

# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use.  Note that MPPE
# requires the use of MSCHAP-V2 during authentication)

# http://ppp.samba.org/ the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
require-mppe-128
# }}}

# http://polbox.com/h/hs001/ fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;5. /etc/ppp/pap-secrets&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# system userids with regular passwords here.
#
# ATTENTION: The definitions here can allow users to login without a
# password if you don&amp;#039;t use the login option of pppd! The mgetty Debian
# package already provides this option; make sure you don&amp;#039;t change that.

# INBOUND connections

# Every regular user can use PPP and has to use passwords from /etc/passwd
*	hostname	&amp;quot;&amp;quot;	*

# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd!
guest	hostname	&amp;quot;*&amp;quot;	-
master	hostname	&amp;quot;*&amp;quot;	-
root	hostname	&amp;quot;*&amp;quot;	-
support	hostname	&amp;quot;*&amp;quot;	-
stats	hostname	&amp;quot;*&amp;quot;	-

# OUTBOUND connections

# Here you should add your userid password to connect to your providers via
# PAP. The * means that the password is to be used for ANY host you connect
# to. Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
# If you have different providers with different passwords then you better
# remove the following line.

#	*	password

#user name
user &amp;quot;adsl33398790&amp;quot;
#passwprd
password &amp;quot;739288202029&amp;quot;

&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;6.  /etc/ppp/options&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# /etc/ppp/options
# 
# Originally created by Jim Knoble &amp;lt;jmknoble@mercury.interpath.net&amp;gt;
# Modified for Debian by alvar Bray &amp;lt;alvar@meiko.co.uk&amp;gt;
# Modified for PPP Server setup by Christoph Lameter &amp;lt;clameter@debian.org&amp;gt;
#
# To quickly see what options are active in this file, use this command:
#   egrep -v &amp;#039;#|^ *$&amp;#039; /etc/ppp/options

# Specify which DNS Servers the incoming Win95 or WinNT Connection should use
# Two Servers can be remotely configured
# ms-dns 192.168.1.1
# ms-dns 192.168.1.2

# Specify which WINS Servers the incoming connection Win95 or WinNT should use
# ms-wins 192.168.1.50
# ms-wins 192.168.1.51

# Run the executable or shell command specified after pppd has
# terminated the link.  This script could, for example, issue commands
# to the modem to cause it to hang up if hardware modem control signals
# were not available.
#disconnect &amp;quot;chat -- \d+++\d\c OK ath0 OK&amp;quot;

# async character map -- 32-bit hex; each bit is a character
# that needs to be escaped for pppd to receive it.  0x00000001
# represents &amp;#039;\x01&amp;#039;, and 0x80000000 represents &amp;#039;\x1f&amp;#039;.
asyncmap 0

# Require the peer to authenticate itself before allowing network
# packets to be sent or received.
# Please do not disable this setting. It is expected to be standard in
# future releases of pppd. Use the call option (see manpage) to disable
# authentication for specific peers.
auth

# Use hardware flow control (i.e. RTS/CTS) to control the flow of data
# on the serial port.
crtscts

# Use software flow control (i.e. XON/XOFF) to control the flow of data
# on the serial port.
#xonxoff

# Specifies that certain characters should be escaped on transmission
# (regardless of whether the peer requests them to be escaped with its
# async control character map).  The characters to be escaped are
# specified as a list of hex numbers separated by commas.  Note that
# almost any character can be specified for the escape option, unlike
# the asyncmap option which only allows control characters to be
# specified.  The characters which may not be escaped are those with hex
# values 0x20 - 0x3f or 0x5e.
#escape 11,13,ff

# Don&amp;#039;t use the modem control lines.
#local

# Specifies that pppd should use a UUCP-style lock on the serial device
# to ensure exclusive access to the device.
lock

# Don&amp;#039;t show the passwords when logging the contents of PAP packets.
# This is the default.
hide-password

# When logging the contents of PAP packets, this option causes pppd to
# show the password string in the log message.
#show-password

# Use the modem control lines.  On Ultrix, this option implies hardware
# flow control, as for the crtscts option.  (This option is not fully
# implemented.)
modem

# Set the MRU [Maximum Receive Unit] value to &amp;lt;n&amp;gt; for negotiation.  pppd
# will ask the peer to send packets of no more than &amp;lt;n&amp;gt; bytes. The
# minimum MRU value is 128.  The default MRU value is 1500.  A value of
# 296 is recommended for slow links (40 bytes for TCP/IP header + 256
# bytes of data).
#mru 542

# Set the interface netmask to &amp;lt;n&amp;gt;, a 32 bit netmask in &amp;quot;decimal dot&amp;quot;
# notation (e.g. 255.255.255.0).
netmask 255.255.255.0

# Disables the default behaviour when no local IP address is specified,
# which is to determine (if possible) the local IP address from the
# hostname. With this option, the peer will have to supply the local IP
# address during IPCP negotiation (unless it specified explicitly on the
# command line or in an options file).
#noipdefault

# Enables the &amp;quot;passive&amp;quot; option in the LCP.  With this option, pppd will
# attempt to initiate a connection; if no reply is received from the
# peer, pppd will then just wait passively for a valid LCP packet from
# the peer (instead of exiting, as it does without this option).
#passive

# With this option, pppd will not transmit LCP packets to initiate a
# connection until a valid LCP packet is received from the peer (as for
# the &amp;quot;passive&amp;quot; option with old versions of pppd).
#silent

# Don&amp;#039;t request or allow negotiation of any options for LCP and IPCP
# (use default values).
#-all

# Disable Address/Control compression negotiation (use default, i.e.
# address/control field disabled).
#-ac

# Disable asyncmap negotiation (use the default asyncmap, i.e. escape
# all control characters).
#-am

# Don&amp;#039;t fork to become a background process (otherwise pppd will do so
# if a serial device is specified).
#-detach

# Disable IP address negotiation (with this option, the remote IP
# address must be specified with an option on the command line or in
# an options file).
#-ip

# Disable IPCP negotiation and IP communication. This option should
# only be required if the peer is buggy and gets confused by requests
# from pppd for IPCP negotiation.
#noip

# Disable magic number negotiation.  With this option, pppd cannot
# detect a looped-back line.
#-mn

# Disable MRU [Maximum Receive Unit] negotiation (use default, i.e.
# 1500).
#-mru

# Disable protocol field compression negotiation (use default, i.e.
# protocol field compression disabled).
#-pc

# Require the peer to authenticate itself using PAP.
#+pap

# Don&amp;#039;t agree to authenticate using PAP.
#-pap

# Require the peer to authenticate itself using CHAP [Cryptographic
# Handshake Authentication Protocol] authentication.
#+chap

# Don&amp;#039;t agree to authenticate using CHAP.
#-chap

# Disable negotiation of Van Jacobson style IP header compression (use
# default, i.e. no compression).
#-vj

# Increase debugging level (same as -d).  If this option is given, pppd
# will log the contents of all control packets sent or received in a
# readable form.  The packets are logged through syslog with facility
# daemon and level debug. This information can be directed to a file by
# setting up /etc/syslog.conf appropriately (see syslog.conf(5)).  (If
# pppd is compiled with extra debugging enabled, it will log messages
# using facility local2 instead of daemon).
#debug

# Append the domain name &amp;lt;d&amp;gt; to the local host name for authentication
# purposes.  For example, if gethostname() returns the name porsche,
# but the fully qualified domain name is porsche.Quotron.COM, you would
# use the domain option to set the domain name to Quotron.COM.
#domain &amp;lt;d&amp;gt;

# Enable debugging code in the kernel-level PPP driver.  The argument n
# is a number which is the sum of the following values: 1 to enable
# general debug messages, 2 to request that the contents of received
# packets be printed, and 4 to request that the contents of transmitted
# packets be printed.
#kdebug n

# Set the MTU [Maximum Transmit Unit] value to &amp;lt;n&amp;gt;. Unless the peer
# requests a smaller value via MRU negotiation, pppd will request that
# the kernel networking code send data packets of no more than n bytes
# through the PPP network interface.
#mtu &amp;lt;n&amp;gt;

# Set the name of the local system for authentication purposes to &amp;lt;n&amp;gt;.
# This is a privileged option. With this option, pppd will use lines in the
# secrets files which have &amp;lt;n&amp;gt; as the second field when looking for a
# secret to use in authenticating the peer. In addition, unless overridden
# with the user option, &amp;lt;n&amp;gt; will be used as the name to send to the peer
# when authenticating the local system to the peer. (Note that pppd does
# not append the domain name to &amp;lt;n&amp;gt;.)
#name &amp;lt;n&amp;gt;

# Enforce the use of the hostname as the name of the local system for
# authentication purposes (overrides the name option).
#usehostname

# Set the assumed name of the remote system for authentication purposes
# to &amp;lt;n&amp;gt;.
#remotename &amp;lt;n&amp;gt;

# Add an entry to this system&amp;#039;s ARP [Address Resolution Protocol]
# table with the IP address of the peer and the Ethernet address of this
# system.
proxyarp

# Use the system password database for authenticating the peer using
# PAP. Note: mgetty already provides this option. If this is specified
# then dialin from users using a script under Linux to fire up ppp wont work.
# login

# If this option is given, pppd will send an LCP echo-request frame to the
# peer every n seconds. Normally the peer should respond to the echo-request
# by sending an echo-reply. This option can be used with the
# lcp-echo-failure option to detect that the peer is no longer connected.
lcp-echo-interval 30

# If this option is given, pppd will presume the peer to be dead if n
# LCP echo-requests are sent without receiving a valid LCP echo-reply.
# If this happens, pppd will terminate the connection.  Use of this
# option requires a non-zero value for the lcp-echo-interval parameter.
# This option can be used to enable pppd to terminate after the physical
# connection has been broken (e.g., the modem has hung up) in
# situations where no hardware modem control lines are available.
lcp-echo-failure 4

# Set the LCP restart interval (retransmission timeout) to &amp;lt;n&amp;gt; seconds
# (default 3).
#lcp-restart &amp;lt;n&amp;gt;

# Set the maximum number of LCP terminate-request transmissions to &amp;lt;n&amp;gt;
# (default 3).
#lcp-max-terminate &amp;lt;n&amp;gt;

# Set the maximum number of LCP configure-request transmissions to &amp;lt;n&amp;gt;
# (default 10).
#lcp-max-configure &amp;lt;n&amp;gt;

# Set the maximum number of LCP configure-NAKs returned before starting
# to send configure-Rejects instead to &amp;lt;n&amp;gt; (default 10).
#lcp-max-failure &amp;lt;n&amp;gt;

# Set the IPCP restart interval (retransmission timeout) to &amp;lt;n&amp;gt;
# seconds (default 3).
#ipcp-restart &amp;lt;n&amp;gt;

# Set the maximum number of IPCP terminate-request transmissions to &amp;lt;n&amp;gt;
# (default 3).
#ipcp-max-terminate &amp;lt;n&amp;gt;

# Set the maximum number of IPCP configure-request transmissions to &amp;lt;n&amp;gt;
# (default 10).
#ipcp-max-configure &amp;lt;n&amp;gt;

# Set the maximum number of IPCP configure-NAKs returned before starting
# to send configure-Rejects instead to &amp;lt;n&amp;gt; (default 10).
#ipcp-max-failure &amp;lt;n&amp;gt;

# Set the PAP restart interval (retransmission timeout) to &amp;lt;n&amp;gt; seconds
# (default 3).
#pap-restart &amp;lt;n&amp;gt;

# Set the maximum number of PAP authenticate-request transmissions to
# &amp;lt;n&amp;gt; (default 10).
#pap-max-authreq &amp;lt;n&amp;gt;

# Set the maximum time that pppd will wait for the peer to authenticate
# itself with PAP to &amp;lt;n&amp;gt; seconds (0 means no limit).
#pap-timeout &amp;lt;n&amp;gt;

# Set the CHAP restart interval (retransmission timeout for
# challenges) to &amp;lt;n&amp;gt; seconds (default 3).
#chap-restart &amp;lt;n&amp;gt;

# Set the maximum number of CHAP challenge transmissions to &amp;lt;n&amp;gt;
# (default 10).
#chap-max-challenge

# If this option is given, pppd will rechallenge the peer every &amp;lt;n&amp;gt;
# seconds.
#chap-interval &amp;lt;n&amp;gt;

# With this option, pppd will accept the peer&amp;#039;s idea of our local IP
# address, even if the local IP address was specified in an option.
#ipcp-accept-local

# With this option, pppd will accept the peer&amp;#039;s idea of its (remote) IP
# address, even if the remote IP address was specified in an option.
#ipcp-accept-remote

# Disable the IPXCP and IPX protocols.
# To let pppd pass IPX packets comment this out --- you&amp;#039;ll probably also
# want to install ipxripd, and have the Internal IPX Network option enabled
# in your kernel.  /usr/doc/HOWTO/IPX-HOWTO.gz contains more info.
noipx

# Exit once a connection has been made and terminated. This is the default,
# unless the `persist&amp;#039; or `demand&amp;#039; option has been specified.
#nopersist

# Do not exit after a connection is terminated; instead try to reopen
# the connection.
#persist

# Terminate after n consecutive failed connection attempts.
# A value of 0 means no limit. The default value is 10.
#maxfail &amp;lt;n&amp;gt;

# Initiate the link only on demand, i.e. when data traffic is present. 
# With this option, the remote IP address must be specified by the user on
# the command line or in an options file.  Pppd will initially configure
# the interface and enable it for IP traffic without connecting to the peer. 
# When traffic is available, pppd will connect to the peer and perform
# negotiation, authentication, etc.  When this is completed, pppd will
# commence passing data packets (i.e., IP packets) across the link.
#demand

# Specifies that pppd should disconnect if the link is idle for &amp;lt;n&amp;gt; seconds.
# The link is idle when no data packets (i.e. IP packets) are being sent or
# received.  Note: it is not advisable to use this option with the persist
# option without the demand option.  If the active-filter option is given,
# data packets which are rejected by the specified activity filter also
# count as the link being idle.
#idle &amp;lt;n&amp;gt;

# Specifies how many seconds to wait before re-initiating the link after
# it terminates.  This option only has any effect if the persist or demand
# option is used.  The holdoff period is not applied if the link was
# terminated because it was idle.
#holdoff &amp;lt;n&amp;gt;

# Wait for up n milliseconds after the connect script finishes for a valid
# PPP packet from the peer.  At the end of this time, or when a valid PPP
# packet is received from the peer, pppd will commence negotiation by
# sending its first LCP packet.  The default value is 1000 (1 second).
# This wait period only applies if the connect or pty option is used.
#connect-delay &amp;lt;n&amp;gt;

# Packet filtering: for more information, see pppd(8)
# Any packets matching the filter expression will be interpreted as link
# activity, and will cause a &amp;quot;demand&amp;quot; connection to be activated, and reset
# the idle connection timer. (idle option)
# The filter expression is akin to that of tcpdump(1)
#active-filter &amp;lt;filter-expression&amp;gt;

# ---&amp;lt;End of File&amp;gt;---
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;7. /etc/ppp/pppoe_on_boot&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
#!/bin/sh

PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
export PATH

modprobe -q pppoe

exec pppd call dsl-provider
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;8. Command line for examples&lt;br /&gt;&lt;br /&gt;status: plog -f&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
Jul 15 16:36:44 BioInfoServOS pppd[7314]: Using interface ppp0
Jul 15 16:36:44 BioInfoServOS pppd[7314]: Connect: ppp0 &amp;lt;--&amp;gt; eth0
Jul 15 16:36:44 BioInfoServOS pppd[7314]: Remote message: Authentication success,Welcome!
Jul 15 16:36:44 BioInfoServOS pppd[7314]: PAP authentication succeeded
Jul 15 16:36:44 BioInfoServOS pppd[7314]: peer from calling number 00:E0:FC:D5:7B:4B authorized
Jul 15 16:36:44 BioInfoServOS pppd[7314]: Cannot determine ethernet address for proxy ARP
Jul 15 16:36:44 BioInfoServOS pppd[7314]: local  IP address 219.153.240.83
Jul 15 16:36:44 BioInfoServOS pppd[7314]: remote IP address 219.153.240.1
Jul 15 16:36:44 BioInfoServOS pppd[7314]: primary   DNS address 61.128.128.68
Jul 15 16:36:44 BioInfoServOS pppd[7314]: secondary DNS address 61.128.192.68
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;network card status browser:&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
eth0      Link encap:Ethernet  HWaddr 00:16:D3:36:D8:22
          inet addr:169.254.46.123  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::216:d3ff:fe36:d822/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3750 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1295376 (1.2 MiB)  TX bytes:384338 (375.3 KiB)
          Interrupt:201

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:900 (900.0 b)  TX bytes:900 (900.0 b)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:219.153.240.83  P-t-P:219.153.240.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:349 errors:0 dropped:0 overruns:0 frame:0
          TX packets:341 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:226664 (221.3 KiB)  TX bytes:38296 (37.3 KiB)
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;stattus test of website: ping &lt;a href=&quot;http://www.bioinfoserv.org&quot; target=&quot;_blank&quot;&gt;www.bioinfoserv.org&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;the fecdback of turning off the usepeerdns:&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
 www.bioinfoserv.org
PING www.bioinfoserv.org (61.157.235.176) 56(84) bytes of data.
64 bytes from 61.157.235.176: icmp_seq=1 ttl=54 time=26.6 ms
64 bytes from 61.157.235.176: icmp_seq=2 ttl=54 time=27.4 ms
64 bytes from 61.157.235.176: icmp_seq=3 ttl=54 time=26.4 ms
64 bytes from 61.157.235.176: icmp_seq=4 ttl=54 time=27.4 ms
64 bytes from 61.157.235.176: icmp_seq=5 ttl=54 time=26.4 ms
64 bytes from 61.157.235.176: icmp_seq=6 ttl=54 time=27.5 ms
64 bytes from 61.157.235.176: icmp_seq=7 ttl=54 time=27.1 ms
64 bytes from 61.157.235.176: icmp_seq=8 ttl=54 time=28.1 ms
64 bytes from 61.157.235.176: icmp_seq=9 ttl=54 time=26.4 ms
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The open of usepeerdns&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
 ping www.bioinfoserv.org
PING www.bioinfoserv.org (61.157.235.176) 56(84) bytes of data.
64 bytes from 61.157.235.176: icmp_seq=1 ttl=54 time=123 ms
64 bytes from 61.157.235.176: icmp_seq=2 ttl=54 time=123 ms
64 bytes from 61.157.235.176: icmp_seq=3 ttl=54 time=122 ms
64 bytes from 61.157.235.176: icmp_seq=4 ttl=54 time=122 ms
64 bytes from 61.157.235.176: icmp_seq=5 ttl=54 time=122 ms
64 bytes from 61.157.235.176: icmp_seq=6 ttl=54 time=123 ms
64 bytes from 61.157.235.176: icmp_seq=7 ttl=54 time=122 ms
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Sun, 15 Jul 2007 09:14:03 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=58&amp;forum=8</guid>
    </item>
        <item>
      <title>Spead test of ubuntu repository [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=54&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#00CC00&quot;&gt;[solved]&lt;/font&gt; Spead test of ubuntu repository&lt;br /&gt;
This script is to help to hunt the fastest ubuntu repository, which comes from &lt;br /&gt;&lt;a href=&quot;http://forum.ubuntu.org.cn/about52080.html&amp;highlight=sources.list&quot; target=&quot;_blank&quot;&gt;http://forum.ubuntu.org.cn/about52080.html&amp;highlight=sources.list&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
#!/bin/bash

if [ !$USER = &amp;quot;root&amp;quot; ]; then
echo &amp;quot;$0 must run by sudo&amp;quot;;
exit 1;
fi

echo &amp;quot;Seting $1...&amp;quot;;
MIRRORS=&amp;quot;http://mirror.isp.net.au/ftp/pub/ubuntu/ \
ftp://linux.xjtu.edu.cn/mirror/ubuntu/ubuntu/ \
http://mirror.lupaworld.com/ubuntu/archive/ \
http://ubuntu.cn99.com/ubuntu/ \
ftp://mirror.isp.net.au/pub/ubuntu/ \
ftp://ftp.filearena.net/pub/ubuntu/ \
http://mirror.optus.net/ubuntu/ \
http://ubuntu.inode.at/ubuntu/ \
ftp://ubuntu.inode.at/ubuntu/ \
http://ubuntu.uni-klu.ac.at/ubuntu/ \
ftp://ftp.uni-klu.ac.at/linux/ubuntu/ \
ftp://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ \
http://gd.tuwien.ac.at/opsys/linux/ubuntu/archive/ \
http://ftp.belnet.be/pub/mirror/ubuntu.com/ \
ftp://ftp.belnet.be/pub/mirror/ubuntu.com/ \
http://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ \
ftp://ubuntu.mirrors.skynet.be/pub/ubuntu.com/ \
http://mirror.freax.be/ubuntu/archive.ubuntu.com/ \
http://ftp.interlegis.gov.br/pub/ubuntu/archive/ \
http://ubuntu.c3sl.ufpr.br/ubuntu/ \
ftp://ftp.cs.mun.ca/pub/mirror/ubuntu/ \
http://archive.ubuntu.org.cn/ubuntu/ \
http://archive.ubuntu.cz/ubuntu/ \
ftp://archive.ubuntu.cz/ubuntu/ \
http://mirrors.dk.telia.net/ubuntu/ \
ftp://mirrors.dk.telia.net/ubuntu/ \
http://mirrors.dotsrc.org/ubuntu/ \
ftp://mirrors.dotsrc.org/ubuntu/ \
http://klid.dk/homeftp/ubuntu/ \
ftp://klid.dk/ubuntu/ \
http://ubuntu.mirror.mmd.net/ubuntu/ \
ftp://ubuntu.mirror.mmd.net/ubuntu/ \
http://mir1.ovh.net/ubuntu/ubuntu/ \
ftp://mir1.ovh.net/ubuntu/ubuntu/ \
ftp://debian.charite.de/ubuntu/ \
http://debian.charite.de/ubuntu/ \
http://ftp.inf.tu-dresden.de/os/linux/dists/ubuntu/ \
http://www.artfiles.org/ubuntu.com/ \
http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ \
ftp://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ \
ftp://ftp.join.uni-muenster.de/pub/mirrors/ftp.ubuntu.com/ubuntu/ \
http://ftp.join.uni-muenster.de/pub/mirrors/ftp.ubuntu.com/ubuntu/ \
http://ftp.kfki.hu/linux/ubuntu/ \
ftp://ftp.kfki.hu/pub/linux/ubuntu/ \
ftp://ftp.fsn.hu/pub/linux/distributions/ubuntu/ \
http://komo.vlsm.org/ubuntu/ \
http://kambing.vlsm.org/ubuntu/ \
http://ubuntu.odg.cc/ \
http://ftp.esat.net/mirrors/archive.ubuntu.com/ \
ftp://ftp.esat.net/mirrors/archive.ubuntu.com/ \
http://ftp.heanet.ie/pub/ubuntu/ \
ftp://ftp.heanet.ie/pub/ubuntu/ \
http://ftp.linux.it/ubuntu/ \
ftp://ftp.linux.it/ubuntu/ \
http://na.mirror.garr.it/mirrors/ubuntu-archive/ \
ftp://na.mirror.garr.it/mirrors/ubuntu-archive/ \
http://ubuntu.mithril-linux.org/archives/ \
http://ftp.litnet.lt/pub/ubuntu/ \
ftp://ftp.litnet.lt/pub/ubuntu/ \
ftp://ftp.polytechnic.edu.na/pub/ubuntulinux/ \
ftp://ftp.bit.nl/ubuntu/ \
http://ftp.bit.nl/ubuntu/ \
http://ubuntu.synssans.nl/ \
ftp://ftp.uninett.no/linux/ubuntu/ \
http://ubuntulinux.mainseek.com/ubuntu/ \
ftp://ftp.rnl.ist.utl.pt/ubuntu/ \
http://darkstar.ist.utl.pt/ubuntu/archive/ \
http://ftp.lug.ro/ubuntu/ \
ftp://ftp.lug.ro/ubuntu/ \
http://ftp.roedu.net/mirrors/ubuntu/ \
http://ftp.iasi.roedu.net/mirrors/ubuntu/ \
ftp://ftp.um.es/mirror/ubuntu/ \
ftp://ftp.ubuntu-es.org/ubuntu/ \
http://ftp.acc.umu.se/mirror/ubuntu/ \
ftp://ftp.se.linux.org/pub/Linux/distributions/ubuntu/ \
http://mirror.switch.ch/ftp/mirror/ubuntu/ \
ftp://mirror.switch.ch/mirror/ubuntu/ \
http://apt.nc.hcc.edu.tw/pub/ubuntu/ \
ftp://apt.nc.hcc.edu.tw/pub/ubuntu/ \
ftp://os.nchc.org.tw/ubuntu/ \
ftp://ftp.ee.ncku.edu.tw/pub/ubuntu/ \
http://ubuntu.csie.ntu.edu.tw/ubuntu/ \
http://www.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/ \
ftp://ftp.mirrorservice.org/sites/archive.ubuntu.com/ubuntu/ \
http://ftp.cs.umn.edu/pub/ubuntu/ \
http://mirror.clarkson.edu/pub/distributions/ubuntu/ \
ftp://mirror.clarkson.edu/pub/distributions/ubuntu/ \
http://ubuntu.mirrors.tds.net/ubuntu/ \
ftp://ubuntu.mirrors.tds.net/ubuntu/ \
http://itanix.rutgers.edu/ubuntu/ \
http://www.opensourcemirrors.org/ubuntu/ \
http://ftp.ale.org/pub/mirrors/ubuntu/ \
http://ubuntu.secs.oakland.edu/ \
http://mirror.mcs.anl.gov/pub/ubuntu/ \
ftp://mirror.mcs.anl.gov/pub/ubuntu/ \
http://debian.okey.net/ubuntu/ \
ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/&amp;quot;

TIME=&amp;quot;/usr/bin/time -o timer.txt -f %e&amp;quot;;
URL=&amp;quot;dists/$1/main/binary-i386/Packages.gz&amp;quot;;
WGET=&amp;quot;wget --cache=off -T 20 -t 1 -w 0 -O /dev/null&amp;quot;
PAYTIME=1000;
TEMPTIME=1000;
SITE=&amp;quot;http://cn.archive.ubuntu.com/ubuntu/&amp;quot;;
for mirror in $MIRRORS ; do
echo &amp;quot;Testing $mirror...&amp;quot;
TEMPTIME=`$TIME $WGET $mirror$URL`;
if [ &amp;quot;$?&amp;quot; = 0 ] ; then
TEMPTIME=`cat timer.txt`;
echo &amp;quot;wget $1 : $TEMPTIME CurrMinTime : $PAYTIME&amp;quot;;
TEMPTIME2=`echo &amp;quot;$PAYTIME &amp;gt; $TEMPTIME&amp;quot;|bc`;
if [ $TEMPTIME2 = 1 ] ; then
PAYTIME=&amp;quot;$TEMPTIME&amp;quot;;
SITE=&amp;quot;$mirror&amp;quot;;
echo -e &amp;quot;\033[37;41;1mSet best site ($PAYTIME): $SITE\033[0m&amp;quot;
fi
fi
rm timer.txt;
done
echo &amp;quot;Best site ($PAYTIME): $SITE&amp;quot;;
echo &amp;quot;Backup your sources.list.&amp;quot;
declare -i num;
num=0;
while [ -e /etc/apt/sources.list.$num ];do
num=$num+1;
done
mv /etc/apt/sources.list /etc/apt/sources.list.$num
COMP=&amp;quot;main restricted universe multiverse&amp;quot;;
MAINSITE=&amp;quot;http://archive.ubuntu.org.cn&amp;quot;
echo &amp;quot;deb $SITE $1 $COMP&amp;quot; &amp;gt; /etc/apt/sources.list

echo &amp;quot;deb $SITE $1-security $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
echo &amp;quot;deb $SITE $1-updates $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
if [ $1 = &amp;quot;hoary&amp;quot; ]; then
echo &amp;quot;deb $MAINSITE/ubuntu-cn ubuntu.org.cn $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
echo &amp;quot;deb $MAINSITE/ubuntu hoary-backports $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
echo &amp;quot;deb $MAINSITE/backports hoary-extras $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
fi
echo &amp;quot;Finlish setting sources.list,Run apt-get update now!&amp;quot;;
exit 0
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Notes: The above url adress can be added according to your favorites. This script will edit the file on &quot;etc/sources.list&quot;. If you don&#039;t want this fuction, you can edit out of these words:&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
mv /etc/apt/sources.list /etc/apt/sources.list.$num
COMP=&amp;quot;main restricted universe multiverse&amp;quot;;
MAINSITE=&amp;quot;http://archive.ubuntu.org.cn&amp;quot;
echo &amp;quot;deb $SITE $1 $COMP&amp;quot; &amp;gt; /etc/apt/sources.list

echo &amp;quot;deb $SITE $1-security $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
echo &amp;quot;deb $SITE $1-updates $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
if [ $1 = &amp;quot;hoary&amp;quot; ]; then
echo &amp;quot;deb $MAINSITE/ubuntu-cn ubuntu.org.cn $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
echo &amp;quot;deb $MAINSITE/ubuntu hoary-backports $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list
echo &amp;quot;deb $MAINSITE/backports hoary-extras $COMP&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list 
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After you save the script to &quot;/usr/bin&quot; as a file name of &quot;setfastsources&quot;, change the rights of execution as:&lt;br /&gt;&lt;br /&gt;sudo chmod +x /usr/bin/setfastsources&lt;br /&gt;&lt;br /&gt;Then execution the script on dapper as &quot;sudo setfastsources dapper&quot;, on edgy as &quot;sudo setfastsources edgy&quot; and on feistyas &quot;sudo setfastsources feisty&quot;.&lt;br /&gt;&lt;br /&gt;Besides, &quot;apt-spy&quot; can also do the same work.</description>
      <pubDate>Wed, 11 Jul 2007 06:02:54 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=54&amp;forum=8</guid>
    </item>
        <item>
      <title>Hiweed-Linux control Center [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=47&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#00CC00&quot;&gt;[solved]&lt;/font&gt; Hiweed-Linux control Center&lt;br /&gt;
This script is for system control-center with thunar manager in hiweed-linux.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://forum.ubuntu.org.cn/about46526.html&quot; target=&quot;_blank&quot;&gt;http://forum.ubuntu.org.cn/about46526.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
#!/bin/bash
#
# hiweed-contral-center
#
# Author: JiahuaHuang &amp;lt;jhuangjiahua(at)gmail.com&amp;gt;
# Licence: LGPL
#
#
#
# Providing a intergrated contol center
# 
#

#Base_dir=$HOME/.hiweed/
Base_dir=$HOME/Desktop/
Settings_dir=$Base_dir/Setting/
Admin_dir=$Settings_dir/SystemManagment/
Xfce_dir=$Settings_dir/xfceDesktop Setting/

rm -f $Settings_dir/* $Settings_dir/*/*
mkdir -p $Settings_dir $Admin_dir $Xfce_dir

echo &amp;gt; $Admin_dir/.directory &amp;#039;[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Admin
Name[zh_CN]=System managment
BgImage=
Icon=settings&amp;#039;

do_settings(){
  SETTINGS=`egrep -R &amp;#039;Categories&amp;#039; /usr/share/applications/ \
  | grep -v System \
  | grep Settings \
  | grep -v Utility \
  | grep -v XFCE \
  | cut -d: -f1`
  echo Settings:
  #echo $SETTINGS
  cp $SETTINGS $Settings_dir
}

do_admins(){
  ADMINS=`egrep -R &amp;#039;Categories&amp;#039; /usr/share/applications/ \
  | grep System \
  | grep Settings \
  | grep -v Utility \
  | cut -d: -f1`
  echo Admins:
  #echo $ADMINS
  cp -f $ADMINS $Admin_dir
}

do_xfce(){
 XFCE=`egrep -R &amp;#039;Categories&amp;#039; /usr/share/applications/ \
 | grep XFCE \
 | cut -d: -f1`
 echo XFCE:
 #echo $XFCE
 cp -f $XFCE $Xfce_dir
}

do_settings_xfce(){
 cd /usr/share/applications/
 XFCE=&amp;#039;&amp;#039;
 XFCE=&amp;quot;$XFCE xfce-ui-settings.desktop&amp;quot;
# XFCE=&amp;quot;$XFCE xfce4-autostart-editor.desktop&amp;quot;
 XFCE=&amp;quot;$XFCE xfprint-manager.desktop&amp;quot;
 XFCE=&amp;quot;$XFCE xfce-keyboard-settings.desktop&amp;quot;
 XFCE=&amp;quot;$XFCE xfce-display-settings.desktop&amp;quot;
 XFCE=&amp;quot;$XFCE xfce-backdrop-settings.desktop&amp;quot;

 echo Settings_XFCE:
 #echo $XFCE
 cp -f $XFCE $Settings_dir
}

do_settings
do_admins
do_xfce
do_settings_xfce

[ &amp;quot;$1&amp;quot; = &amp;#039;-q&amp;#039; ] &amp;&amp; exit 0

thunar $Settings_dir  || nautilus $Settings_dir || konqueror $Settings_dir

exit 0
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Mon, 09 Jul 2007 02:24:12 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=47&amp;forum=8</guid>
    </item>
        <item>
      <title>menu.lst from grub [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=40&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#00CC00&quot;&gt;[solved]&lt;/font&gt; menu.lst from grub&lt;br /&gt;
&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify &amp;#039;saved&amp;#039; instead of a number. In this case, the default entry
# is the entry saved with the command &amp;#039;savedefault&amp;#039;.
# WARNING: If you are using dmraid do not change this entry to &amp;#039;saved&amp;#039; or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		5

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password [&amp;#039;--md5&amp;#039;] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command &amp;#039;lock&amp;#039;
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda2 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,1)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title		BioInfoServOS 2.6.15-28-386
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-28-386 root=/dev/sda2 ro vga=792 quiet splash
initrd		/boot/initrd.img-2.6.15-28-386
savedefault
boot

title		BioInfoServOS 2.6.15-28-386 (Recovery)
root		(hd0,1)
kernel		/boot/vmlinuz-2.6.15-28-386 root=/dev/sda2 ro single
initrd		/boot/initrd.img-2.6.15-28-386
boot

##title		BioInfoServOS 2.6.15-23-386
##root		(hd0,1)
##kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda2 ro quiet splash
##initrd		/boot/initrd.img-2.6.15-23-386
##savedefault
##boot

##title		BioInfoServOS 2.6.15-23-386 (recovery mode)
##root		(hd0,1)
##kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda2 ro single
##initrd		/boot/initrd.img-2.6.15-23-386
##boot

title		Memtest86+
root		(hd0,1)
kernel		/boot/memtest86+.bin 
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title		Microsoft Windows XP Home Edition
root		(hd0,0)
savedefault
makeactive
chainloader	+1
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Sun, 08 Jul 2007 11:04:41 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=40&amp;forum=8</guid>
    </item>
        <item>
      <title>fstab in Ubuntu 7.04 [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=39&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#00CC00&quot;&gt;[solved]&lt;/font&gt; fstab in Ubuntu 7.04&lt;br /&gt;
UUID was intruduced into Ubuntu 7.04&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# &amp;lt;file system&amp;gt; &amp;lt;mount point&amp;gt;   &amp;lt;type&amp;gt;  &amp;lt;options&amp;gt;       &amp;lt;dump&amp;gt;  &amp;lt;pass&amp;gt;
proc            /proc           proc    defaults        0       0
# /dev/sda1 -- converted during upgrade to edgy
UUID=d72fd170-80fb-43da-b079-e51cd1a06a7c / reiserfs defaults 0 1
# /dev/sda3 -- converted during upgrade to edgy
UUID=6b4fad21-6ce4-40d1-9042-f7894420d2ba /boot ext3 defaults 0 2
# /dev/sda4 -- converted during upgrade to edgy
UUID=c9946833-d79a-49d2-a565-2eb5f81b1340 /home reiserfs defaults 0 2
# /dev/sdb1 -- converted during upgrade to edgy
UUID=6884DF8584DF5462 /media/sdb1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sdb2 -- converted during upgrade to edgy
UUID=6f796414-ca8c-467a-8bdf-8690eee8a147 /media/sdb2 xfs defaults 0 2
# /dev/sdb3 -- converted during upgrade to edgy
UUID=4466-DBF1 /media/sdb3 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sda2 -- converted during upgrade to edgy
UUID=52fac974-9ebd-4355-8bca-82a8e6763ba3 none swap sw 0 0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Every disk UUID can be traced as:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
ls -l /dev/disk/by-uuid
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Sun, 08 Jul 2007 11:02:37 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=39&amp;forum=8</guid>
    </item>
        <item>
      <title>xorg.conf [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=38&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#FF0000&quot;&gt;[bug report]&lt;/font&gt; xorg.conf&lt;br /&gt;
这是thinkPadR60e DE2的xorg配置文件，已经开启3D桌面。&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type &amp;quot;man /etc/X11/xorg.conf&amp;quot; at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section &amp;quot;Files&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/misc&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/cyrillic&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/100dpi/:unscaled&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/75dpi/:unscaled&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/Type1&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/100dpi&amp;quot;
	FontPath	&amp;quot;/usr/share/X11/fonts/75dpi&amp;quot;
	# path to defoma fonts
	FontPath	&amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;
EndSection

Section &amp;quot;Module&amp;quot;
	Load	&amp;quot;i2c&amp;quot;
	Load	&amp;quot;bitmap&amp;quot;
	Load	&amp;quot;ddc&amp;quot;
	Load	&amp;quot;dri&amp;quot;
	Load	&amp;quot;extmod&amp;quot;
	Load	&amp;quot;freetype&amp;quot;
	Load	&amp;quot;glx&amp;quot;
	Load	&amp;quot;int10&amp;quot;
	Load	&amp;quot;type1&amp;quot;
	Load	&amp;quot;vbe&amp;quot;
EndSection

Section &amp;quot;InputDevice&amp;quot;
	Identifier	&amp;quot;Generic Keyboard&amp;quot;
	Driver		&amp;quot;kbd&amp;quot;
	Option		&amp;quot;CoreKeyboard&amp;quot;
	Option		&amp;quot;XkbRules&amp;quot;	&amp;quot;xorg&amp;quot;
	Option		&amp;quot;XkbModel&amp;quot;	&amp;quot;pc104&amp;quot;
	Option		&amp;quot;XkbLayout&amp;quot;	&amp;quot;us&amp;quot;
EndSection

Section &amp;quot;InputDevice&amp;quot;
	Identifier	&amp;quot;Configured Mouse&amp;quot;
	Driver		&amp;quot;mouse&amp;quot;
	Option		&amp;quot;CorePointer&amp;quot;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/input/mice&amp;quot;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;ExplorerPS/2&amp;quot;
	Option		&amp;quot;ZAxisMapping&amp;quot;		&amp;quot;4 5&amp;quot;
	Option		&amp;quot;Emulate3Buttons&amp;quot;	&amp;quot;true&amp;quot;
EndSection

Section &amp;quot;InputDevice&amp;quot;
	Identifier	&amp;quot;Synaptics Touchpad&amp;quot;
	Driver		&amp;quot;synaptics&amp;quot;
	Option		&amp;quot;SendCoreEvents&amp;quot;	&amp;quot;true&amp;quot;
	Option		&amp;quot;Device&amp;quot;		&amp;quot;/dev/psaux&amp;quot;
	Option		&amp;quot;Protocol&amp;quot;		&amp;quot;auto-dev&amp;quot;
	Option		&amp;quot;HorizScrollDelta&amp;quot;	&amp;quot;0&amp;quot;
EndSection

Section &amp;quot;InputDevice&amp;quot;
  Driver        &amp;quot;wacom&amp;quot;
  Identifier    &amp;quot;stylus&amp;quot;
  Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/wacom&amp;quot;          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        &amp;quot;Type&amp;quot;          &amp;quot;stylus&amp;quot;
  Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;               # Tablet PC ONLY
EndSection

Section &amp;quot;InputDevice&amp;quot;
  Driver        &amp;quot;wacom&amp;quot;
  Identifier    &amp;quot;eraser&amp;quot;
  Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/wacom&amp;quot;          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        &amp;quot;Type&amp;quot;          &amp;quot;eraser&amp;quot;
  Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;               # Tablet PC ONLY
EndSection

Section &amp;quot;InputDevice&amp;quot;
  Driver        &amp;quot;wacom&amp;quot;
  Identifier    &amp;quot;cursor&amp;quot;
  Option        &amp;quot;Device&amp;quot;        &amp;quot;/dev/wacom&amp;quot;          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        &amp;quot;Type&amp;quot;          &amp;quot;cursor&amp;quot;
  Option        &amp;quot;ForceDevice&amp;quot;   &amp;quot;ISDV4&amp;quot;               # Tablet PC ONLY
EndSection

Section &amp;quot;Device&amp;quot;
	Identifier	&amp;quot;Intel Corporation Mobile Integrated Graphics Controller&amp;quot;
	Driver		&amp;quot;i810&amp;quot;
	BusID		&amp;quot;PCI:0:2:0&amp;quot;
EndSection

Section &amp;quot;Monitor&amp;quot;
	Identifier	&amp;quot;Generic Monitor&amp;quot;
	Option		&amp;quot;DPMS&amp;quot;
EndSection

Section &amp;quot;Screen&amp;quot;
	Identifier	&amp;quot;Default Screen&amp;quot;
	Device		&amp;quot;Intel Corporation Mobile Integrated Graphics Controller&amp;quot;
	Monitor		&amp;quot;Generic Monitor&amp;quot;
	DefaultDepth	24
	SubSection &amp;quot;Display&amp;quot;
		Depth		1
		Modes		&amp;quot;1024x768&amp;quot;
	EndSubSection
	SubSection &amp;quot;Display&amp;quot;
		Depth		4
		Modes		&amp;quot;1024x768&amp;quot;
	EndSubSection
	SubSection &amp;quot;Display&amp;quot;
		Depth		8
		Modes		&amp;quot;1024x768&amp;quot;
	EndSubSection
	SubSection &amp;quot;Display&amp;quot;
		Depth		15
		Modes		&amp;quot;1024x768&amp;quot;
	EndSubSection
	SubSection &amp;quot;Display&amp;quot;
		Depth		16
		Modes		&amp;quot;1024x768&amp;quot;
	EndSubSection
	SubSection &amp;quot;Display&amp;quot;
		Depth		24
		Modes		&amp;quot;1024x768&amp;quot;
	EndSubSection
EndSection

Section &amp;quot;ServerLayout&amp;quot;
	Identifier	&amp;quot;Default Layout&amp;quot;
	Screen		&amp;quot;Default Screen&amp;quot;
	InputDevice	&amp;quot;Generic Keyboard&amp;quot;
	InputDevice	&amp;quot;Configured Mouse&amp;quot;
	InputDevice     &amp;quot;stylus&amp;quot; &amp;quot;SendCoreEvents&amp;quot;
	InputDevice     &amp;quot;cursor&amp;quot; &amp;quot;SendCoreEvents&amp;quot;
	InputDevice     &amp;quot;eraser&amp;quot; &amp;quot;SendCoreEvents&amp;quot;
	InputDevice	&amp;quot;Synaptics Touchpad&amp;quot;
EndSection

Section &amp;quot;DRI&amp;quot;
	Mode	0666
EndSection
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Sun, 08 Jul 2007 09:51:35 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=38&amp;forum=8</guid>
    </item>
        <item>
      <title>apache2.conf [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=37&amp;forum=8</link>
      <description>configurations and shell scripts::NONE apache2.conf&lt;br /&gt;
&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
# Based upon the NCSA server configuration files originally by Rob McCool.
# Changed extensively for the Debian package by Daniel Stone &amp;lt;daniel@sfarc.net&amp;gt;
# and also by Thom May &amp;lt;thom@debian.org&amp;gt;.

# ServerRoot: The top of the directory tree under which the server&amp;#039;s
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at &amp;lt;URL:http://www.apache.org/docs/mod/core.html#lockfile&amp;gt;);
# Service directory of apche2

ServerRoot &amp;quot;/etc/apache2&amp;quot;

# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
# DISK. The PID of the main server process is automatically appended to
# the filename. 

LockFile /var/lock/apache2/accept.lock

# PidFile: The file in which the server should record its process
# identification number when it starts.

PidFile /var/run/apache2.pid

# Timeout: The number of seconds before receives and sends time out.

Timeout 300

# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to &amp;quot;Off&amp;quot; to deactivate.

KeepAlive On

# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.

MaxKeepAliveRequests 100

# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.

KeepAliveTimeout 15

##
## Server-Pool Size Regulation (MPM specific)
## 

# prefork MPM
# StartServers ......... number of server processes to start
# MinSpareServers ...... minimum number of server processes which are kept spare
# MaxSpareServers ...... maximum number of server processes which are kept spare
# MaxClients ........... maximum number of server processes allowed to start
# MaxRequestsPerChild .. maximum number of requests a server process serves
&amp;lt;IfModule prefork.c&amp;gt;
StartServers         5
MinSpareServers      5
MaxSpareServers     10
MaxClients          20
MaxRequestsPerChild  0
&amp;lt;/IfModule&amp;gt;

# pthread MPM
# StartServers ......... initial  number of server processes to start
# MaxClients ........... maximum  number of server processes allowed to start
# MinSpareThreads ...... minimum  number of worker threads which are kept spare
# MaxSpareThreads ...... maximum  number of worker threads which are kept spare
# ThreadsPerChild ...... constant number of worker threads in each server process
# MaxRequestsPerChild .. maximum  number of requests a server process serves
&amp;lt;IfModule worker.c&amp;gt;
StartServers         2
MaxClients         150 
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
&amp;lt;/IfModule&amp;gt;

# perchild MPM
# NumServers ........... constant number of server processes
# StartThreads ......... initial  number of worker threads in each server process
# MinSpareThreads ...... minimum  number of worker threads which are kept spare
# MaxSpareThreads ...... maximum  number of worker threads which are kept spare
# MaxThreadsPerChild ... maximum  number of worker threads in each server process
# the max links from every sevice
&amp;lt;IfModule perchild.c&amp;gt;
NumServers           5
StartThreads         5
MinSpareThreads      5
MaxSpareThreads     10
MaxThreadsPerChild  20
MaxRequestsPerChild  0
AcceptMutex fcntl
&amp;lt;/IfModule&amp;gt;

#the type of service when it started
User www-data
Group www-data

# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b \&amp;quot;%{Referer}i\&amp;quot; \&amp;quot;%{User-Agent}i\&amp;quot;&amp;quot; combined
LogFormat &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b&amp;quot; common
LogFormat &amp;quot;%{Referer}i -&amp;gt; %U&amp;quot; referer
LogFormat &amp;quot;%{User-agent}i&amp;quot; agent


# #apache logo
ErrorLog /var/log/apache2/error.log

# apache modules:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
#Include /usr/lib/apache2/modules/*.so

# configuration file
Include /etc/apache2/httpd.conf

# service port
Include /etc/apache2/ports.conf

# Include generic snippets of statements
Include /etc/apache2/conf.d/[^.#]*

#Let&amp;#039;s have some Icons, shall we?
Alias /icons/ &amp;quot;/usr/share/apache2/icons/&amp;quot;
&amp;lt;Directory &amp;quot;/usr/share/apache2/icons&amp;quot;&amp;gt;
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
&amp;lt;/Directory&amp;gt;

# Set up the default error docs.
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 &amp;quot;The server made a boo boo.&amp;quot;
#ErrorDocument 404 /missing.html
#ErrorDocument 404 &amp;quot;/cgi-bin/missing_handler.pl&amp;quot;
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# Putting this all together, we can Internationalize error responses.
#
# We use Alias to redirect any /error/HTTP_&amp;lt;error&amp;gt;.html.var response to
# our collection of by-error message multi-language collections.  We use 
# includes to substitute the appropriate text.
#
# You can modify the messages&amp;#039; appearance without changing any of the
# default HTTP_&amp;lt;error&amp;gt;.html.var files by adding the line;
#
#   Alias /error/include/ &amp;quot;/your/include/path/&amp;quot;
#
# which allows you to create your own set of files by starting with the
# /usr/local/apache2/error/include/ files and
# copying them to /your/include/path/, even on a per-VirtualHost basis.
#

&amp;lt;IfModule mod_negotiation.c&amp;gt;
&amp;lt;IfModule mod_include.c&amp;gt;
    Alias /error/ &amp;quot;/usr/share/apache2/error/&amp;quot;

#apache helps
    &amp;lt;Directory &amp;quot;/usr/share/apache2/error&amp;quot;&amp;gt;
        AllowOverride None
        Options IncludesNoExec
        AddOutputFilter Includes html
        AddHandler type-map var
        Order allow,deny
        Allow from all
        LanguagePriority en es de fr
        ForceLanguagePriority Prefer Fallback
    &amp;lt;/Directory&amp;gt;

    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
    ErrorDocument 410 /error/HTTP_GONE.html.var
    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
    ErrorDocument 415 /error/HTTP_SERVICE_UNAVAILABLE.html.var
    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var

&amp;lt;/IfModule&amp;gt;
&amp;lt;/IfModule&amp;gt;

#the type of interpretative codes
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml

# UserDir is now a module
#UserDir public_html
#UserDir disabled root

#&amp;lt;Directory /home/*/public_html&amp;gt;
#	AllowOverride FileInfo AuthConfig Limit
#	Options Indexes SymLinksIfOwnerMatch IncludesNoExec
#&amp;lt;/Directory&amp;gt;

#rights of the directory
AccessFileName .htaccess

&amp;lt;Files ~ &amp;quot;^\.ht&amp;quot;&amp;gt;
    Order allow,deny
    Deny from all
&amp;lt;/Files&amp;gt;

UseCanonicalName Off

TypesConfig /etc/mime.types
DefaultType text/plain

#Forbiding to look up the server name
HostnameLookups Off

IndexOptions FancyIndexing VersionSort

AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*

# This really should be .jpg.

AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core

AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^


# This is from Matty J&amp;#039;s patch. Anyone want to make the icons?
#AddIcon /icons/dirsymlink.jpg ^^SYMDIR^^
#AddIcon /icons/symlink.jpg ^^SYMLINK^^

DefaultIcon /icons/unknown.gif

ReadmeName README.html
HeaderName HEADER.html

#forbiding to read the files with wildcard characters
IndexIgnore .??* *~ *# HEADER* RCS CVS *,t

AddEncoding x-compress Z
AddEncoding x-gzip gz tgz

AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .et
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddLanguage pl .po
AddLanguage ko .ko
AddLanguage pt .pt
AddLanguage no .no
AddLanguage pt-br .pt-br
AddLanguage ltz .ltz
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddLanguage ru .ru
AddLanguage tw .tw
AddLanguage zh-tw .tw

LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv tw

#default coding
#AddDefaultCharset	ISO-8859-1

AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb	
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5        .Big5       .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251   .win-1251
AddCharset CP866       .cp866
AddCharset KOI8-r      .koi8-r .koi8-ru
AddCharset KOI8-ru     .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8       .utf8

AddCharset GB2312      .gb2312 .gb 
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5	       .big5 .b5
AddCharset EUC-TW      .euc-tw	
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis

#php codes explaining
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

AddType application/x-tar .tgz

# To use CGI scripts outside /cgi-bin/:
#
#AddHandler cgi-script .cgi

#HTML codes explaining

&amp;lt;FilesMatch &amp;quot;\.shtml(\..+)?$&amp;quot;&amp;gt;
    SetOutputFilter INCLUDES
&amp;lt;/FilesMatch&amp;gt;

# If you wish to use server-parsed imagemap files, use
#
#AddHandler imap-file map

BrowserMatch &amp;quot;Mozilla/2&amp;quot; nokeepalive
BrowserMatch &amp;quot;MSIE 4\.0b2;&amp;quot; nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch &amp;quot;RealPlayer 4\.0&amp;quot; force-response-1.0
BrowserMatch &amp;quot;Java/1\.0&amp;quot; force-response-1.0
BrowserMatch &amp;quot;JDK/1\.0&amp;quot; force-response-1.0

#
# The following directive disables redirects on non-GET requests for
# a directory that does not include the trailing slash.  This fixes a 
# problem with Microsoft WebFolders which does not appropriately handle 
# redirects for folders with DAV methods.
#

BrowserMatch &amp;quot;Microsoft Data Access Internet Publishing Provider&amp;quot; redirect-carefully
BrowserMatch &amp;quot;^WebDrive&amp;quot; redirect-carefully
BrowserMatch &amp;quot;^gnome-vfs&amp;quot; redirect-carefully 
BrowserMatch &amp;quot;^WebDAVFS/1.[012]&amp;quot; redirect-carefully

# Allow server status reports, with the URL of http://servername/server-status
# Change the &amp;quot;.your_domain.com&amp;quot; to match your domain to enable.

# Allow remote server configuration reports, with the URL of
#  http://servername/server-info (requires that mod_info.c be loaded).
# Change the &amp;quot;.your_domain.com&amp;quot; to match your domain to enable.
#forbiding look up the information of service
&amp;lt;Location /server-info&amp;gt;
   SetHandler server-info
   Order deny,allow
   Deny from all
   Allow from .your_domain.com
&amp;lt;/Location&amp;gt;

# the right of download from the directory
&amp;lt;IfModule mod_limitipconn.so&amp;gt;
&amp;lt;Location /var/www/softwares&amp;gt; #Permiting to visit the direcroty
MaxConnPerIP 4 #max links
&amp;lt;/Location&amp;gt;
&amp;lt;/IfModule&amp;gt;

Include /etc/apache2/sites-enabled/[^.#]*
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;this configuration file serves as a root directory on &quot;/etc/apache2&quot; and port of &quot;80&quot;, plus the bandwidth module of &quot;libapache2-mod-cband&quot; and the directory rights module of &quot;mod_limitipconn.so&quot;&lt;br /&gt;&lt;br /&gt;This two of modules can be installed as &quot;sudo apt-get install libapache2-mod-cband mod_limitipconn.so&quot;.</description>
      <pubDate>Sun, 08 Jul 2007 07:56:15 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=37&amp;forum=8</guid>
    </item>
        <item>
      <title>The script of &quot;ape to WAV&quot; [by admin]</title>
      <link>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=36&amp;forum=8</link>
      <description>configurations and shell scripts::&lt;font color=&quot;#00CC00&quot;&gt;[solved]&lt;/font&gt; The script of &quot;ape to WAV&quot;&lt;br /&gt;
this script from &quot;http://forum.ubuntu.org.cn/about62376.html&amp;highlight=%E8%84%9A%E6%9C%AC&quot;.&lt;br /&gt;&lt;br /&gt;Save the script as &quot;apetowav&quot; in &quot;/usr/bin&quot; and excute it to finish your demands before you do &quot;sudo apt-get install mac wavsplit&quot;.&lt;br /&gt;&lt;div class=&quot;xoopsCode&quot;&gt;&lt;code&gt;&lt;pre&gt;
#!/bin/sh
PARAM=$#
if [ $PARAM -eq 2 ]; then
echo &amp;quot;&amp;quot;
echo &amp;quot;&amp;quot;
echo &amp;quot;***********************************&amp;quot;
echo *****Step 1 Convert ape to wav*****
echo &amp;quot;***********************************&amp;quot;
echo &amp;quot;&amp;quot;
echo &amp;quot;&amp;quot;
mac $1 `echo $1 | sed -e &amp;#039;s/.ape$//&amp;#039;`.wav -d
echo &amp;quot;****************************************&amp;quot;
echo *****Step 2 Split wav to many files*****
echo &amp;quot;****************************************&amp;quot;
echo &amp;quot;&amp;quot;
echo &amp;quot;&amp;quot;
wavsplit `echo $1 | sed -e &amp;#039;s/.ape$//&amp;#039;`.wav `cat $2 | grep &amp;quot;INDEX 00&amp;quot; | awk &amp;#039;{printf(&amp;quot;%s &amp;quot;,$3)}&amp;#039;`
echo &amp;quot;*******************************************&amp;quot;
echo *****Step 3 Rename filename to chinese*****
echo &amp;quot;*******************************************&amp;quot;
cat $2 | grep &amp;quot;TITLE&amp;quot; | awk &amp;#039;{printf(&amp;quot;%sn&amp;quot;,$2)}&amp;#039; | iconv -f GB2312 -t UTF-8&amp;gt; tmp.txt
i=1
while read line
do
if [ &amp;quot;$line&amp;quot; != &amp;quot;&amp;quot; ] &amp;&amp; [ $i != 1 ]; then
linelen=`expr ${#line} - 2`
j=`expr $i - 1`
jlen=`expr ${#j} `
mv `echo $1 | sed -e &amp;#039;s/.ape$//&amp;#039;`/`expr substr 0$j $jlen 2`.wav `echo $1 | sed -e &amp;#039;s/.ape$//&amp;#039;`/`echo $line |sed &amp;#039;s/&amp;quot;//&amp;#039; | sed &amp;#039;s/&amp;quot;//&amp;#039;| sed &amp;#039;s/r//&amp;#039;`.wav
fi
i=`expr $i + 1`
done &amp;lt; tmp.txt
echo &amp;quot;&amp;quot;
echo ******Convert succes*****
rm tmp.txt
rm `echo $1 | sed -e &amp;#039;s/.ape$//&amp;#039;`.wav
else
echo -e &amp;quot;usage: ape2wav filename(ape) filename(cue)&amp;quot;
echo -e &amp;quot;usage:toavi music01.ape music01.ape.cue&amp;quot;
fi
&lt;/pre&gt;&lt;/code&gt;&lt;/div&gt;</description>
      <pubDate>Fri, 06 Jul 2007 09:04:32 +1500</pubDate>
      <guid>http://www.bioinfoserv.org/en/modules/newbb/viewtopic.php?topic_id=36&amp;forum=8</guid>
    </item>
      </channel>
</rss>