Changeset 103 for drbl-biocluster


Ignore:
Timestamp:
Sep 10, 2009, 9:06:57 PM (15 years ago)
Author:
jazz
Message:
  • update download URLs.
  • add init.d script of openPBS/Torque
File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-biocluster/BioCluster_Setup.sh

    r102 r103  
    3737########
    3838sudo apt-get -f install libc6-dev g77 gfortran liblapack-dev
    39 if [ ! -e gee_4.13-13.tar.gz ]; then
    40   wget http://cran.r-project.org/src/contrib/gee_4.13-13.tar.gz
    41   sudo R CMD INSTALL gee_4.13-13.tar.gz
    42 fi
    43 if [ ! -e nlme_3.1-92.tar.gz ]; then
    44   wget http://cran.r-project.org/src/contrib/nlme_3.1-92.tar.gz
    45   sudo R CMD INSTALL nlme_3.1-92.tar.gz
     39if [ ! -e gee_4.13-14.tar.gz ]; then
     40  wget http://cran.r-project.org/src/contrib/gee_4.13-14.tar.gz
     41  sudo R CMD INSTALL gee_4.13-14.tar.gz
     42fi
     43if [ ! -e nlme_3.1-94.tar.gz ]; then
     44  wget http://cran.r-project.org/src/contrib/nlme_3.1-94.tar.gz
     45  sudo R CMD INSTALL nlme_3.1-94.tar.gz
    4646fi
    4747if [ ! -e lattice_0.17-25.tar.gz ]; then
     
    9191set server resources_default.nodes = 1
    9292set server scheduling = True
     93set server acl_host_enable = True
     94set server acl_hosts = *
    9395EOF
    9496  sudo /opt/torque/bin/qmgr < torque_conf
     
    103105  sudo /opt/torque/sbin/pbs_mom
    104106  sudo /opt/torque/bin/pbsnodes -a
     107  sudo cp contrib/init.d/debian.pbs_mom /etc/init.d/pbs_mom
     108  sudo cp contrib/init.d/debian.pbs_sched /etc/init.d/pbs_sched
     109  sudo cp contrib/init.d/debian.pbs_server /etc/init.d/pbs_server
    105110  cd ..
    106111fi
     
    122127  echo "Installing Ganglia ...."
    123128  sudo apt-get install gmetad ganglia-monitor
    124   sudo apt-get install rrdtool librrds-perl librrd-dev apache2 libapache2-mod-php5 php5-gd apache2-mpm-prefork apache2-utils apache2.2-common libapr1 libaprutil1 libmysqlclient15off libpq5 mysql-common openssl-blacklist ssl-cert
     129  sudo apt-get install rrdtool librrds-perl librrd2-dev apache2 libapache2-mod-php5 php5-gd apache2-mpm-prefork apache2-utils apache2.2-common libapr1 libaprutil1 libmysqlclient15off libpq5 mysql-common openssl-blacklist ssl-cert
    125130  echo "deb http://free.nchc.org.tw/debian testing main" > testing.list
    126131  sudo mv testing.list /etc/apt/sources.list.d/
     
    174179# 安裝 wwwBLAST
    175180########
    176 if [ ! -e wwwblast-2.2.20-ia32-linux.tar.gz ]; then
    177   wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/LATEST/wwwblast-2.2.20-ia32-linux.tar.gz
    178   tar zxvf wwwblast-2.2.20-ia32-linux.tar.gz
     181if [ ! -e wwwblast-2.2.21-ia32-linux.tar.gz ]; then
     182  wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/LATEST/wwwblast-2.2.21-ia32-linux.tar.gz
     183  tar zxvf wwwblast-2.2.21-ia32-linux.tar.gz
    179184fi
    180185#####################################################################
     
    213218case "$1" in
    214219  clean)
    215     sudo rm -rf add_path ape_2.3-1.tar.gz biocLite.R BioConductor.R blast gee_4.13-13.tar.gz GPG-KEY-DRBL lattice_0.17-25.tar.gz mito.nt.gz mpiblast-1.5.0-pio mpiBLAST-1.5.0-pio.tgz mpich2-1.0.8p1 mpich2-1.0.8p1.tar.gz nlme_3.1-92.tar.gz Rmpi_0.5-7.tar.gz torque-2.3.6 torque-2.3.6.tar.gz wwwblast-2.2.20-ia32-linux.tar.gz
     220    sudo rm -rf add_path ape_2.3-2.tar.gz biocLite.R BioConductor.R blast gee_4.13-14.tar.gz GPG-KEY-DRBL lattice_0.17-25.tar.gz mito.nt.gz mpiblast-1.5.0-pio mpiBLAST-1.5.0-pio.tgz mpich2-1.0.8p1 mpich2-1.0.8p1.tar.gz nlme_3.1-94.tar.gz Rmpi_0.5-7.tar.gz torque-2.3.6 torque-2.3.6.tar.gz wwwblast-2.2.21-ia32-linux.tar.gz
    216221    exit 0;
    217222    ;;
Note: See TracChangeset for help on using the changeset viewer.