Changes between Version 6 and Version 7 of ClickImage
- Timestamp:
- Sep 15, 2011 5:52:10 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClickImage
v6 v7 1 = Ubuntu 804-click =1 = Ubuntu with Click = 2 2 3 3 [[TOC]] 4 4 5 Ubuntu804-click is an OS image with support for [http://read.cs.ucla.edu/click The Click Modular Router]. 5 We have two OS images with support for [http://read.cs.ucla.edu/click The Click Modular Router]: Ubuntu804-click and Ubuntu1004-click20. 6 7 We support click 1.8 (in Ubuntu804-click) and click 2.0 (in Ubuntu1004-click20). 8 9 === Ubuntu804-click === 6 10 7 11 Ubuntu804-click is based on Ubuntu804-STD with the following modifications … … 11 15 * click and kernel source in /usr/src 12 16 17 === Ubuntu1004-click20 === 18 19 Ubuntu1004-click20 is based on Ubuntu1004-STD with the following modifications 20 * loads as a full disk image with about 12 GB free on / 21 * click 2.0 installed in /usr/local 22 * click source in /usr/src 23 13 24 == Using click == 14 25 15 click 1.8.0 is installed in {{{/usr/local}}}. If you do not require custom modules, the imageshould be usable out of the box.26 click is installed in {{{/usr/local}}}. If you do not require custom modules, the images should be usable out of the box. 16 27 17 28 === Running the example === … … 19 30 For a simple example, download [attachment:test.click test.click] and copy it to your home directory on users. 20 31 21 On a node running Ubuntu804-click , run the following command:32 On a node running Ubuntu804-click or Ubuntu1004-click20, run the following command: 22 33 23 34 {{{ … … 37 48 == Building custom modules == 38 49 39 The source for click is in {{{/usr/src/click-1.8.0}}} .50 The source for click is in {{{/usr/src/click-1.8.0}}} or {{{/usr/src/click-2.0}}}. 40 51 41 You must always give configure the path to the kernel source (see below).52 Custom modules are typically built in the local elements folder. Copy your source files into {{{/usr/src/click-1.8.0/elements/local}}} or {{{/usr/src/click-2.0/elements/local}}} and give configure the {{{--enable-local}}} flag. 42 53 43 Custom modules are typically built in the local elements folder. Copy your source files into {{{/usr/src/click-1.8.0/elements/local}}} and give configure the {{{--enable-local}}} flag. 44 54 === Ubuntu804-click === 55 In click 1.8, you must give configure the path to the kernel source. 45 56 {{{ 46 57 $ sudo -s … … 49 60 }}} 50 61 62 === Ubuntu1004-click20 === 63 {{{ 64 $ sudo -s 65 # cd /usr/src/click-2.0 66 # ./configure --enable-local 67 }}} 68 69 === Building and installing === 51 70 At this point building and installing is as simple as: 52 71