||
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-essential,automake,checkinstall。你可以通过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(同样参数设置,可以一次编译,多次运行,得出不同随机图)
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-9-24 12:37
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社