RoboCup开发环境安装

来源:互联网 发布:多源数据集成 编辑:程序博客网 时间:2024/06/05 09:52
安装Ubuntu系统

1.登录http://10.11.1.157/

2.下载Ubuntu10.04 64位镜像文件

3.安装系统

4.更新系统源。修改源主要是通过修改更新服务器和添加一些其他软件资源的服务器来提高更新速度和安装一些额外软件(电脑要连上学校局域网)

    1)打开终端(Applications->Accessories->Terminal)

    2)sudo gedit /etc/apt/sources.list

    3)复制下面对应版本的源内容。如需要,请自行备份。
        
        #Ubuntu 12.04 Precise Pangolin
        deb [arch=amd64] http://10.11.1.157/ubuntu/ precise main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ precise-backports main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ precise-proposed main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ precise-security main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ precise-updates main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/gnurubuntu/rubuntu/ubuntu/ precise main

        #Ubuntu 10.04 Lucid Lynx
        deb [arch=amd64] http://10.11.1.157/ubuntu/ lucid main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ lucid-backports main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ lucid-proposed main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ lucid-security main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/ubuntu/ lucid-updates main restricted universe multiverse
        deb [arch=amd64] http://10.11.1.157/gnurubuntu/rubuntu/ubuntu/ lucid main
        
        #Ubuntu 10.04 i386
        deb http://mirrors.ustc.edu.cn/ubuntu/ lucid main restricted universe multiverse
        deb http://mirrors.ustc.edu.cn/ubuntu/ lucid-backports main restricted universe multiverse
        deb http://mirrors.ustc.edu.cn/ubuntu/ lucid-proposed main restricted universe multiverse
        deb http://mirrors.ustc.edu.cn/ubuntu/ lucid-security main restricted universe multiverse
        deb http://mirrors.ustc.edu.cn/ubuntu/ lucid-updates main restricted universe multiverse
        deb http://ppa.launchpad.net/gnurubuntu/rubuntu/ubuntu/ lucid main

    3)sudo apt-get update(如果失败,请检查网络)
    
    4)sudo apt-get install
    
    5)sudo apt-get install libboost-all-dev build-essential qt-creator rcssserver rcsslogplayer rcssmonitor

5.准备阶段

    1)sudo apt-get install nautilus-gksu         // 把“管理员打开选项”添加到右键菜单中

    2)sudo apt-get install nautilus-open-terminal      // 把终端添加到右键菜单中

    3)sudo apt-get install rar unrar p7zip         // 安装解压缩程序,这些程序需要注销后才能生效
    
    
6.运行球队

    1)准备球队代码(如果自己电脑上没有,可以找其他人相互传一下)
    
    2)对代码进行编译,链接。(在终端输入:make cleanall,然后make.如果还有不清楚可以查看帮助Readme文档)
    
    3)在终端输入下面代码启动球队:
    
        rcssserver ( 启动server )

        rcsslogplayer ( 启动播放器 )

        ./start.sh ( 在球队目录,上球队,如果提示权限问题,右键->属性->权限->允许以程序执行文件,记得要现把第二步通过哦 )
        

附:1.实验室无线网帐号密码:yushan2d

   2.刚接触Linux的同学,可以用root用户登录 (创建root用户:sudo passwd root ,注销 ),减少权限带来的麻烦。对Linux熟悉的同学就不必使用root用户了。
   
   3.对于英文界面,大家可以在System->System Manage->Language Support中将界面改成简体中文,然后注销重启。(可能在修改中遇到小问题,大家自己摸索。如果还是不行,可以尝试
   
     在终端输入:sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language-pack-zh-base language-support-zh
     
     再执行上面的过程...)
     
   4.设置类似QQ输入法:打开System->Preferences->IBus Preferences设置输入法属性,系统默认系一个输入法为:Ctrl + Space,有的是 Alt+Shift_L,可以把换成Ctrl+Shift 或 Ctrl

     +Space。然后选择“输入法“表单,打开“选择输入法",找到“汉语“中的第四项“拼ping"。(如果有的机器不行,终端输入:sudo apt-get install ibus-gtk ibus-qt4 ibus-pinyin
     
     ibus-pinyin-db-open-phrase ,注销.

   5.ubuntu下的vi 不好用的处理方法,特别是方向键用不了,sudo apt-get install vim(我测试时要在root用户下才可以...)
   
   


原创粉丝点击