Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

IGEPv5 Ubuntu Distro

75 bytes added, 18:36, 9 March 2014
no edit summary
Ubuntu 12.04.4 LTS (Hard Float) is the default IGEPv5 base distribution (it's included in IGEPv5 Full and Lite).
We will learn about install, use, generate packages, upgrade ...
What we learn in this chapter? Install, play and fun with Ubuntu distro ...
__TOC__
= Host Enviroment =
=== Download Ubuntu 12.04.4 LTS (HF) ===
Ubuntu 12.04.4 LTS can be downloaded from our server at this [http://downloads.isee.biz/pub/igepv5_ce/arm-ubuntu/images/ubuntu-12.04.4-LTS-hf location]. This distribution is based on [https://wiki.ubuntu.com/Core Ubuntu Core]<br>
=== Initial Setup ===
sudo LC_ALL=C chroot .
</pre>
<span style="color: rgb(255, 0, 0);">Note: remember remove the qemu-arm-static file after all.&nbsp;</span>
Now if you execute the command ls -al you should see a similar directory listing like this:
<pre>drwxr-xr-x 2 root root 4096 Feb 3 16:42 bin
drwxr-xr-x 2 root root 4096 Apr 19 2012 boot
and install the package (ex: nano editor)
<pre>apt-get install nano</pre>
Now we can edit the files and tunning the setup
=== Tunning your rootfs ===
We will share some interesting tricks that can be useful for your new rootfs.
==== Login in "root" without need of a password ====
You can edit the file /etc/shadow it should have a similar content like this<pre>root:*:16104:0:99999:7:::</pre>if you want eliminate the need of a password you must remove the * as<pre>root::16104:0:99999:7:::</pre><div><br> </div>==== Network configuration files for 'DHCP' client ==== A few files on your target filesystem need to be taken care of. <br> Steps are as follow:  *Edit your /etc/network/interfaces file and add the bottom 2 lines:
==== Network configuration files for 'DHCP' client ====
A few files on your target filesystem need to be taken care of. <br>
Steps are as follow:
* Edit your /etc/network/interfaces file and add the bottom 2 lines:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
 * If you are behind a firewall inside a 'Corporate Network', the following 2 files may need to be edited to according to your Coporate settings:* Edit your /etc/resolv.conf file and have something similar to this: Remove the "<>&lt;&gt;" symbols and replace by your own corporate DHCP and DNS servers adresses.  domain <&lt;something.dhcp.mycompany.com>&gt; search <&lt;something.dhcp.mycompany.com>&gt; nameserver <&lt;IP address of your DNS server 1>&gt; nameserver <&lt;IP address of your DNS server 2>&gt; * Add the proxy settings: In your /etc/environment file, add something similar to this using your own corporate proxy server address and port number: 
http_proxy="http://myproxy.ext.mycompany.com:80"
https_proxy="http://myproxy.ext.mycompany.com:80"
ftp_proxy="http://myproxy.ext.mycompany.com:80"
no_proxy="localhost,.mycompany.com"
 In your /etc/apt/apt.conf.d/proxy, add similar to this using your own corporate proxy server address and port number: 
Acquire
{
http { Proxy <&lt;corporate apps address>&gt;:<&lt;port number>&gt;; Proxy::<&lt;ubuntu corporate address> &gt; "DIRECT"; }
}
 
 
Test