在installer里运行
代码: 全选
sudo sh setup.sh
初学者,对脚本不熟悉,请高人指点
setup.sh里面的内容
代码: 全选
#! /bin/csh -f
if ( ! $?DISPLAY ) then
echo ""
echo "Note: The DISPLAY environment variable is not set."
echo " Set this variable to proceed with the graphical"
echo " installation."
echo ""
exit 1
endif
set cmdpath = "$0"
set cmd = "$cmdpath:t"
if ( "$cmd" == "$cmdpath" ) then
set cddir = "."
else
set cddir = "$cmdpath:h"
endif
set cddir_path = $cddir
if ( $cddir_path == "." ) then
set cddir_path = `pwd`
endif
$cddir_path/installer -gui