############################################################################### # This script is used to install the iKGT binary installation package on # a RPM installation system through the curl command. # The uasge of this script is: # curl -sSL /ikgt_rpm_curl.sh | bash # It will download and install the iKGT installation package automatically. ############################################################################### #!/bin/bash servername=01.org/sites/default/files/downloads/intel-kernel-guard-technology # get the ikgt1.0-0x8664rpm.tar.gz wget http://${servername}/ikgt1.0-0x8664rpm.tar.gz if [ $? -ne 0 ]; then echo "Exit - fail to download ikgt1.0-0x8664rpm.tar.gz!" exit fi # unzip the ikgt1.0-0x8664rpm.tar.gz tar -xzf ikgt1.0-0x8664rpm.tar.gz cd ikgt_rpm_package chmod a+x *.sh # install iKGT ./ikgt_rpm_install.sh ikgt-1.0-0.x86_64.rpm