Linux installs MySQL, Tomcat and jdk1.7, Android Studio

Source: Internet
Author: User

Linux installs MySQL, Tomcat, and JDK.
First, install MySQL

$ sudo apt-get install Mysql-server

Install MySQL

ii. installation of JDK
Download JDK

Arrival/usr/local

$ sudo mkdir java to create a Java folder (note: Sudo requests root privileges)

$ sudo mv Jdk1.7.0_67/usr/local/java to move the extracted files to the newly built folder

$ sudo vim/etc/profile possible vim editor not installed

So the implementation

$ sudo apt-get install vim

After installation.

Execute the above command to enter the editor

Press I to enter edit state

**export java_home=/usr/java/jdk1.5.0_16
Export classpath=.: J AV AH OM E /JRe/LIb/RT.JaR: Java_home/lib/dt.jar: J AV AH OM E /LIb/TooLs.JaRexPoRTP AT H = PATH: $JAVA _home/bin**

JDK version replaced by the version you downloaded

Then Esc:wq Save exit

Restart Linux

$ java-version

Third, install Tomcat

Tomcat is downloaded and extracted to the specified directory, preferably put together to pull, easy to maintain.

Enter Tomcat/bin

Perform
$./startup.sh See Tomcat started. Indicates that Tomcat has been started.

$./shutdown.sh Stop

Iv. installation of Android Studio

3 Download Android Studio package android-studio-bundle-133.970939-linux.tgz

$ sudo tar zxvf android-studio-bundle-133.970939-linux.tgz(unzip)

The folder name is Android-studio after decompression.

$ sudo mv android-studio/opt/(MOBILE)
$ cd/opt/android-studio/bin/(open folder)
$ sudo./studio.sh(Run)
Ok. Installation Complete

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Linux installs MySQL, Tomcat and jdk1.7, Android Studio

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.