wuxiaolananhui的个人博客分享 http://blog.sciencenet.cn/u/wuxiaolananhui

博文

ubuntu使用

已有 2721 次阅读 2013-10-4 10:04 |系统分类:科研笔记| ubuntu, graphchi

ubuntu12.04更改root权限 :(ctrl+alt+T)

$ sudo passwd root

两次输入新密码;

$ sudo gedit /etc/lightdm/lightdm.conf

在文件下输入

allow-guest=false  //禁用客人会话

greeter-show-manual-login=true  //开启图形登录

然后重启动,就多了一个login,没有guest,输入root及其密码



在编译源码之前,你要确保你的系统中有相应的编译工具。通常情况下,你需要以下三个工具,build-essentialautomakecheckinstall。你可以通过apt-get命令安装这三个编译工具:

sudo apt-get install build-essential

sudo apt-get install automake

sudo apt-get install checkinstall

我的电脑安装完了就没提示g++错误;方法来自http://blog.csdn.net/lqhbupt/article/details/7768898中介绍



进入graphchi解压目录:cd /usr/src

cd graphchi_v0.1.7.b

make example_apps/pagerank

bin/example_apps/pagerank file lisu_f.txt

【需要注意文件存放路径问题,否则出错】详细见http://developer.51cto.com/art/201212/371821.htm

cd /usr/src

cd  benchmark_2_1

make main

./benchmark(同样参数设置,可以一次编译,多次运行,得出不同随机图)




https://wap.sciencenet.cn/blog-668239-729909.html

上一篇:听荷兰阿姆斯特丹自由大学黄智生教授与武汉大学董慧教授报告
下一篇:ubuntu使用二
收藏 IP: 112.0.48.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-14 08:27

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部