标签:
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