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


$ 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

$./ See Tomcat started. Indicates that Tomcat has been started.

$./ 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./
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

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.