Created
November 15, 2012 13:01
-
-
Save xmzhao/4078538 to your computer and use it in GitHub Desktop.
gccgo + peacock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gccgo] | |
http://gcc.gnu.org/install/ | |
安装gmp|mpfr|mpc后(./configure --prefix=/data1/home/xueminzhao/gcc4.7.1/install/gmp|mpfr|mpc, make install) | |
export gmp|mpfr|mpc的lib到LD_LIBRARY_PATH | |
然后运行 | |
./configure \ | |
--prefix=/data1/home/xueminzhao/gcc4.7.1/install/gcc \ | |
--with-local-prefix=/data1/home/xueminzhao/gcc4.7.1/install/gcc \ | |
--disable-debug \ | |
--disable-multilib \ | |
--enable-threads \ | |
--enable-languages="c,c++,go" \ | |
--enable-stage1-checking \ | |
--enable-plugin \ | |
--disable-nls \ | |
--enable-lto \ | |
--enable-gold=default \ | |
--with-system-zlib \ | |
--with-gmp=/data1/home/xueminzhao/gcc4.7.1/install/gmp \ | |
--with-mpfr=/data1/home/xueminzhao/gcc4.7.1/install/mpfr \ | |
--with-mpc=/data1/home/xueminzhao/gcc4.7.1/install/mpc | |
make bootstrap -j12 | |
make install | |
[hadoop] | |
conf/core-site.xml: | |
<configuration> | |
<property> | |
<name>fs.default.name</name> | |
<value>hdfs://localhost:9000</value> | |
</property> | |
<property> | |
<name>hadoop.tmp.dir</name> | |
<value>/data1/home/xueminzhao/go/hdfsdir</value> | |
<description>Abaseforothertemporarydirectories.</description> | |
</property> | |
</configuration> | |
conf/hdfs-site.xml: | |
<configuration> | |
<property> | |
<name>dfs.replication</name> | |
<value>1</value> | |
</property> | |
</configuration> | |
conf/mapred-site.xml: | |
<configuration> | |
<property> | |
<name>mapred.job.tracker</name> | |
<value>localhost:9001</value> | |
</property> | |
</configuration> | |
nohup ssh 10.1.152.71 -L 36000:10.1.152.71:36000 & | |
netstat -tan (查看端口) | |
datanode 起不来: chmod 755 hdfsdir/dfs/data | |
hadoop namenode -format | |
http://10.1.152.71:50070 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment