#!/bin/shlinux
CUR_TIME=`date +"%Y%m%d-%H:%M:%S"`
#install ntfs-3gchrome
echo -e "$CUR_TIME \n" |tee -a logcentos
wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz;google
tar zxf ntfs-3g_ntfsprogs-2017.3.23.tgz;cd ntfs-3g_ntfsprogs-2017.3.23 ;chmod 755 * ;url
./configure && make && make installcentos7
# change yum sourcecode
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
rem
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum install -y epel-release
rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
#install google chromeget
echo -e " [google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub" > /etc/yum.repos.d/google-chrome.repoit
yum install -y google-chrome-stable