NOI 评价体系 arbiter 安装方法 常见的问题 移植

#!/bin/bash

AppPath="$PWD"   读取当前文件夹

echo "Arbiter is installing..."
sudo apt-get install qt3-dev-tools libqt3-compat-headers libqt3-headers libqt3-mt-dev  这一个能够单独手动安装,较高版本号非必须的
sudo mkdir -p /usr/bin/filter/     建立评測插件文件夹
sudo cp -r $AppPath/bin/  /usr/
sudo chmod 755 /usr/bin/filter/*   赋予评測插件不论什么人能够运行权限
sudo chmod 755 /usr/bin/arbiter
sudo chmod 755 /usr/bin/arbiter_bash
sudo cp -r $AppPath/share/ /usr/
sudo chmod 755 /usr/share/applications/arbiter.desktop 桌面快捷方式,能够拷贝到自己桌面上

echo "Copying an example to current path"

cp -r $AppPath/example/ ~/     来个小样例
chmod 755 ~/example/filter/*  插件可运行权限

echo "Installing Finished!"
read                                            等待

exit 0                    享用吧


注意不要用root账户,普通管理员帐号就能够了

寻找这一个,它还将被要求检讨的配置应该。。

。。。

版权声明:本文博主原创文章,博客,未经同意不得转载。

posted @ 2015-09-25 10:56  blfshiye  阅读(240)  评论(0编辑  收藏  举报