Brief tutorial on running UbuntuLinux on NexusOne

Source: Internet
Author: User
Paste the effect first! What can be done: almost all Ubuntu (linux) software can be run on nexusone, such as programming students. After compiling C, C ++, or Java, you can directly operate on your mobile phone. Of course, after the Android-sdk is installed, you can write the android program on N1. Please go to the tutorial! You do not need to continue looking at it: 1. If the SD card is smaller than 2 GB, unzip the ubuntu system package to 2 GB. If the SD card is smaller than 2, replace the card.

Paste the effect first!

What can be done:
Run almost all Ubuntu (linux) software on nexusone,
For example, if you are a programmer, You can compile C language, C ++, or Java on your phone.
Of course, after installing the Android-sdk, you can write android programs on N1,
Go to the tutorial!

You do not need to continue reading:
1. If the SD card is less than 2 GB, unzip the ubuntu system package to 2 GB. If the SD card is less than 2 GB, change the card.
2. You don't need to say that you don't have a host with no rooted. Go to root first.

Preparations:
1. ubuntu system package

Download the bootubuntu small file and use this file to decompress the file and replace it with the same one.

2. busybox linux Instruction Set
Search for busybox in the market, download and install it,
After detecting it as a root machine, click Install to Install it, which is very simple.

3. terminal
Download from market

4. vncserver
Same as above


Official start:

!! Make sure your phone is connected to IOT platform !!

1. Decompress ubuntu to the root directory of the SD card.


 

!!! Replace the downloaded small file !!!

2. Open the installed terminal

Input
"Su" Press ENTER
"Cd/sdcard/ubuntu" Press ENTER
"Sh./ubuntu. sh" Press ENTER
Wait and run.
"Bootubuntu" Press ENTER

---- Ubuntu is successfully installed. The interface program and server are installed.


"Apt-get update" and press ENTER
Apt-get install tightvncserver press ENTER
Y press ENTER
Apt-get install lxde press ENTER
Y press ENTER

Export USER = root press ENTER
Vncserver-geometry 1024 × 800 press ENTER
Enter a password (will be used later) and press Enter.

Cat>/root/. vnc/xstartup press ENTER
#! /Bin/sh press ENTER
Xrdb $ HOME/. Xresources press ENTER
Xsetroot-solid gray press ENTER
Icewm & press ENTER
Lxsession press ENTER
Press both the navigation ball and d and press Enter.

Cat> front carriage return
Export USER = root press ENTER
Cd/press ENTER
Rm-r-f tmp press ENTER
Mkdir tmp press ENTER
Cd/press ENTER
Vncserver-geometry 1024 × 800 press ENTER
Press both the navigation ball and d and press Enter.

Cat front/root/. bashrc> temp press ENTER
Cp temp/root/. bashrc press ENTER

3. Open vncserver and enter the port you just set to 5901.
Then click connect.

That's all.

Try again later
Start terminal first
Su press ENTER
Bootubuntu press ENTER
Enable the vncserver connection.


----------------------------------------------------------------------
UPDate:
I will answer your questions!
You can call and do anything when running this operation.
This Ubuntu implementation method is a virtual machine, and Ubuntu is just like a program,
You can also press the Home Key to switch to the Home page to do your own work.

There are still a lot of details in it. I have studied it for a few days and you may not understand it. Despite asking questions, I will try my best to help you solve it!
I now implement C Programming in ubuntu, which is very convenient. I don't need to bring this book in class.

----------------------------------------------------------------------
Enjoy !!
Followe my twitter @ mabo_c

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.