|
create images folder - /myamiImages
|
|
CentOS info: CentOS release 5.5 (Final)
|
|
root access checked success
|
|
#===================================================
|
|
Run the following Command:
|
|
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-4.noarch.rpm
|
|
--- Run Command Error ---
|
|
warning: /var/tmp/rpm-xfer.72rLVQ: Header V3 DSA signature: NOKEY, key ID 217521f6
|
|
package epel-release-5-4.noarch is already installed
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y update yum*
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install yum-fastestmirror.noarch yum-utils.noarch
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y update
|
|
#===================================================
|
|
|
|
yum update finished..
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install subversion
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
svn co http://ami.scripps.edu/svn/myami/branches/myami-2.1 /tmp/myami/
|
|
#===================================================
|
|
|
|
--- Start install Job Server
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install torque-server torque-scheduler
|
|
--- Run Command Error ---
|
|
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
|
|
Importing GPG key 0x217521F6 "Fedora EPEL <epel@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/chkconfig pbs_server on
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/chkconfig pbs_sched on
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service pbs_server start
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service pbs_sched start
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "s s scheduling=true"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "c q batch queue_type=execution"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "s q batch started=true"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "s q enabled=true"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "s q resources_default.nodes=1"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "s q resources_default.walltime=3600"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
qmgr -c "s s default_queue=batch"
|
|
--- Run Command Error ---
|
|
/bin/sh: qmgr: command not found
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service network restart
|
|
#===================================================
|
|
|
|
--- Start install Processing Server
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install ImageMagick MySQL-python compat-gcc-34-g77 fftw3-devel gcc-c++ gcc-gfortran gcc-objc gnuplot grace gsl-devel libtiff-devel netpbm-progs numpy openmpi-devel python-devel python-imaging python-matplotlib python-tools scipy wxPython xorg-x11-server-Xvfb
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
./pysetup.sh install
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
python setup.py install
|
|
#===================================================
|
|
|
|
setup Leginon configure file
|
|
#===================================================
|
|
Run the following Command:
|
|
python -c "import leginon; print leginon.__path__[0]"
|
|
#===================================================
|
|
|
|
setup Sinedon configure file
|
|
#===================================================
|
|
Run the following Command:
|
|
python -c "import sinedon; print sinedon.__path__[0]"
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
python -c "import pyscope; print pyscope.__path__[0]"
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install torque-mom torque-client
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/chkconfig pbs_mom on
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/chkconfig pbs_mon on
|
|
--- Run Command Error ---
|
|
error reading information on service pbs_mon: No such file or directory
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service pbs_mom start
|
|
#===================================================
|
|
|
|
--- Start install Database Server
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install mysql-server php php-mysql
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/chkconfig mysqld on
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service mysqld restart
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
php /tmp/myami/install/newDBsetup.php -L leginondb -P projectdb -H localhost -U root -E amber@scripps.edu
|
|
--- Run Command Error ---
|
|
PHP Notice: Undefined index: S in /tmp/myami/install/newDBsetup.php on line 37
|
|
PHP Notice: Undefined index: S in /tmp/myami/install/newDBsetup.php on line 41
|
|
PHP Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: NO) in /tmp/myami/install/newDBsetup.php on line 114
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/iptables --insert RH-Firewall-1-INPUT --proto tcp --dport 3306 --jump ACCEPT
|
|
--- Run Command Error ---
|
|
iptables: No chain/target/match by that name
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/iptables-save > /etc/sysconfig/iptables
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/etc/init.d/iptables restart
|
|
#===================================================
|
|
|
|
firewall port 3306 opened
|
|
--- Start install Web Server
|
|
#===================================================
|
|
Run the following Command:
|
|
yum -y install fftw3-devel gcc httpd libssh2-devel php php-mysql phpMyAdmin.noarch php-devel php-gd
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
phpize
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
./configure
|
|
--- Run Command Error ---
|
|
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
make
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
make install
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
wget -c http://pecl.php.net/get/ssh2-0.11.0.tgz
|
|
--- Run Command Error ---
|
|
--2010-10-21 03:28:16-- http://pecl.php.net/get/ssh2-0.11.0.tgz
|
|
Resolving pecl.php.net... 76.75.200.106
|
|
Connecting to pecl.php.net|76.75.200.106|:80... connected.
|
|
HTTP request sent, awaiting response... 200 OK
|
|
Length: 22884 (22K) [application/octet-stream]
|
|
Saving to: `ssh2-0.11.0.tgz'
|
|
|
|
0K .......... .......... .. 100% 73.3K=0.3s
|
|
|
|
2010-10-21 03:28:17 (73.3 KB/s) - `ssh2-0.11.0.tgz' saved [22884/22884]
|
|
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
tar zxvf ssh2-0.11.0.tgz
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
phpize
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
./configure
|
|
--- Run Command Error ---
|
|
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
make
|
|
--- Run Command Error ---
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c: In function 'zif_ssh2_methods_negotiated':
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:503: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:504: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:508: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:509: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:510: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:511: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:516: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:517: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:518: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:519: warning: passing argument 4 of 'add_assoc_string_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c: In function 'zif_ssh2_fingerprint':
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:558: warning: initialization discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c: In function 'zif_ssh2_publickey_add':
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:1045: warning: passing argument 1 of '_efree' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c: In function 'zif_ssh2_publickey_list':
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:1104: warning: passing argument 4 of 'add_assoc_stringl_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:1105: warning: passing argument 4 of 'add_assoc_stringl_ex' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:1113: warning: initialization discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2.c:1114: warning: passing argument 2 of '_zend_hash_add_or_update' discards qualifiers from pointer target type
|
|
/root/Desktop/ssh2-0.11.0/ssh2_sftp.c: In function 'php_ssh2_sftp_dirstream_read':
|
|
/root/Desktop/ssh2-0.11.0/ssh2_sftp.c:273: warning: passing argument 6 of 'php_basename' from incompatible pointer type
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
make install
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
cp -rf /tmp/myami/myamiweb /var/www/html
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service httpd stop
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/service httpd start
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/chkconfig httpd on
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/iptables --insert RH-Firewall-1-INPUT --proto tcp --dport 80 --jump ACCEPT
|
|
--- Run Command Error ---
|
|
iptables: No chain/target/match by that name
|
|
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/sbin/iptables-save > /etc/sysconfig/iptables
|
|
#===================================================
|
|
|
|
#===================================================
|
|
Run the following Command:
|
|
/etc/init.d/iptables restart
|
|
#===================================================
|
|
|
|
firewall port 80 opened
|
|
Installation Finish.
|
|
Myamiweb Started.
|
|
Leginon Started
|