[O] Ubuntu does not access the internet. Manually install ipvs

Source: Internet
Author: User

The development of embedded media mostly uses various open-source things,

To use Android and other frameworks, you must install ipvs and other tools before debugging. This article describes how to manually install elips to Ubuntu without network conditions:

1 download eclips:

Http://www.eclipse.org/downloads/

Here we select the C, C ++ package to download, and then install the following steps:

0 down vote

You can simply download the .tar.gz package from the eclipse website

Http://eclipse.org/downloads? Ostype = Linux,

Extract the package... then change the authorization of the file named eclipse by running the command

$ chmod 777 eclipse

Then everytime you want the IDE to run, just enter into the directory where the IDE is extracted by terminal and type ....

$ ./eclipse

Done...

Of course, the following problems may occur after installation:

About_files artifacts. xml dropins eclipse. ini features libcairo-swt.so P2 readme
About.html configuration eclipse epl-v10.html icon. XPM notice.html plugins

Root @ Ubuntu:/Eclipse/eclipse # chmod 777 eclipse
Root @ Ubuntu:/Eclipse/eclipse #./eclipse

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
Must be available in order to run eclipse. No Java Virtual Machine
Was found after searching the following locations:
/Eclipse/JRE/bin/Java
Java in your current path

The reason is that you must have a Java virtual machine environment.

2. Installation of Java VM

: Http://www.oracle.com/technetwork/java/javase/overview/index.html

This is to be registered. There are a lot of things to write. Oracle is not only a database, but also a database .... It is said that their charges are also the first

So: the following address may be better: http://code.google.com/p/autosetup1/downloads/detail? Name = jdk-6u20-linux-i586.bin & can = 2 & Q =

Install the SDK after obtaining the package:

2.1 root @ Ubuntu:/JDK # sudo chmod A + x jdk-6u20-linux-i586.bin

2.2 root @ Ubuntu:/JDK #./jdk-6u20-linux-i586.bin
Pop-up:

Sun Microsystems, Inc. Binary Code License Agreement

For the Java SE Development Kit (JDK), version 6
... ...

Press ENTER consecutively until the display requirement is "Yes/No,

Please enter "yes" or "no ".
Do you agree to the above license terms? [Yes or No]
Yes

Enter yes and press enter to obtain the jdk1.6.0 _ 20 directory.
OK. JDK has been installed.

Root @ Ubuntu:/JDK # Java-version
The program 'java' can be found in the following packages:
* Gcj-4.4-jre-headless
* Gcj-4.5-jre-headless
* Openjdk-6-jre-headless
Try: APT-Get install <Selected Package>

This is not enough because eclipse still cannot find your Java,

You also need to make the following configuration

1. Configure the environment variable ~ /. Bashrc, add at the end:

Export java_home = <JDK install dir>
Export jre_home = $ java_home/JRE
Export Path = $ java_home/bin: $ jre_home/bin: $ path


2. Create a soft link: $ CD <eclipse dir>
$ Ln-SF $ jre_home JRE
The purpose is to create a link named JRE under the eclipse installation directory and direct it to the JRE directory under the Java installation directory
Run the "root @ Ubuntu:/Eclipse/eclipse #./Eclipse" command to get the Eclipse IDE interface ready.

Ref: 1

Http://blog.csdn.net/luyaowei/article/details/5608974

Ref 2

Http://blog.csdn.net/jokes000/article/details/7548437

Original post: By huang.makin@gmail.com

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.