Index: /branches/amp_3_7_0/scripts/install.sh
===================================================================
--- /branches/amp_3_7_0/scripts/install.sh	(revision 2435)
+++ /branches/amp_3_7_0/scripts/install.sh	(working copy)
@@ -2,9 +2,14 @@
 
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 
-cd $DIR/all_dep && yum localinstall -y *.rpm
+cd $DIR/all_dep && yum localinstall -y *.rpm --exclude=libtiff --exclude=wget
+# Install or update libtiff
+yum localinstall -y libtiff
+
+# Install or update wget
+yum localinstall -y wget
+
 mv elasticsearch.yml /etc/elasticsearch/elasticsearch.yml
-mv $1_favicon.ico /usr/share/kibana/src/legacy/ui/public/assets/favicons/favicon.ico
 sed -i '77c\      background-image: url("/ui/favicons/icon.png1");' /usr/share/kibana/src/legacy/ui/ui_render/views/ui_app.pug
 sed -i '82c\      margin: 10px !important;' /usr/share/kibana/src/legacy/ui/ui_render/views/ui_app.pug
 
@@ -20,6 +25,6 @@
 echo '* hard nofile 65536' >> /etc/security/limits.conf
 echo 'vm.max_map_count=655360' >> /etc/sysctl.conf
 
-cd $DIR/system && rpm -ivh *.rpm --replacefiles
-cd $DIR/exts && rpm -ivh *.rpm --replacefiles
-/bin/cp -rf /ca/webui/exfiles/python/lib/* /usr/lib/python2.7/site-packages/
+cd $DIR/system && rpm -Uvh *.rpm
+cd $DIR/exts && rpm -Uvh *.rpm
+/bin/cp -rf /ca/webui/exfiles/python/lib/* /usr/lib/python2.7/site-packages/
\ No newline at end of file
