码迷,mamicode.com
首页 > 其他好文 > 详细

Storm(1) - Setting Up Development Environment

时间:2016-07-12 21:31:02      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:

Setting up your development environment

1. download j2se 6 SDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html

chmod 775 jdk-6u35-linux-64.bin
yes | jdk-6u35-linux-64.bin
mv jdk1.6.0_35 /opt
ln -s /opt/jdk1.6.0_35/bin/java /usr/bin
ln -s /opt/jdk1.6.0_35/bin/javac /usr/bin
export JAVA_HOME=/opt/jdk1.6.0_35
export PATH=$PATH:$JAVA_HOME/bin

2. install Git

sudo apt-get install git

3. install Maven

sudo apt-get install mvn

4. install Puppet, Vagrant, and VirtualBox

sudo apt-get install virtualbox puppet vagrant

5. install Eclipse

sudo apt-get install eclipse

Distributed version control

1. create project directory

mkdir FirstGitProject
cd FirstGitProject
git init

2. create some filess in the repository

touch README.txt
vim README.txt

3. review the status of the repository

git status

4. add all files and folders manually

git add README.txt

5. commit the file

git commit -a -m "The first commit"

6. add the remote repository to local repository and push the changes

git remote add origin https://[user]@bitbucket.org/[user]/firstgitproject.git

git push origin master

Storm(1) - Setting Up Development Environment

标签:

原文地址:http://www.cnblogs.com/thlzhf/p/5664826.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!