one. Install ubuntu system in win7 environment
http://jingyan.baidu.com/article/60ccbceb18624464cab197ea.html
Note: In the fourth step of installation, select the item "Installing ubuntu system and coexist with win7 system", which can eliminate the subsequent partitions and make installation more convenient.
two. Install jdk8
http://hi.baidu.com/270460591/item/5a6a9bcf8f352e4dbdef69cd
Note: Change the configuration file to add it in ~/.bashrc
export JAVA_HOME=/home/liwh/Tools/jdk1.8.0_31
PATH=$JAVA_HOME/bin:$PATH
Environmental variables take effect
source ~/.bashrc
three. Install intellij IDE14
1. Download intellij IDEA14, the download address is: http://www.jetbrains.com/idea/download/
2. After downloading, put it in your own folder and unzip it to the current directory.
3. Enter the bin folder under the folder, find idea.sh, and run it using the terminal command.
Four. Install gradle
1. Download the latest gradle version on the official website: http://www.gradle.org/downloads
2. Unzip the installation package to the specified directory
3. Open the environment file sudo gedit ~/.bashrc
4. Write to the environment file
export GRADLE_HOME=/home/liwh/Tools/gradle-2.2.1
PATH=$GRADLE_HOME/bin:$PATH
5. Environment variables take effect
source ~/.bashrc
6. Check whether the installation is successful
Gradle -v
five. Install maven
1. Download maven: http://maven.apache.org/download.cgi
2. Copy to /usr/src
3. Configure environment variables, open ~/.bashrc, and add
MAVEN_HOME=/usr/src/apache-maven-3.0.3
PATH=${MAVEN_HOME}/bin:${PATH}
4.source~/.bashrc
5. Confirm whether the installation is successful mvn -v
six. Install tomcat8
1. Download tomcat8: http://tomcat.apache.org/download-80.cgi
2. Unzip to the specified directory
3. Run sudo startup.sh in the decompressed directory and start tomcat
7. Install npm
sudo apt-get install npm
eight. Install nodejs via npm
sudo npm install npm -g.
Test: Run npm -v. The version should be higher than 2.1.8.
9. Install gulp
sudo npm install --global gulp
10. Install bower
sudo npm install -g bower
The above are the installation environment steps for Ubuntu AngularJS development. We will continue to organize relevant information in the future. Thank you for your support for this site!