Installing Apache with IPKG

System Requirements

IPKG became available with release 7.3 pre 4.

IPKG Configuration

Edit the /etc/ipkg.conf file to match your environment. For example, comment out all the current "src" lines and add the following:

src v0.7.2 http://familiar.handhelds.org/releases/v0.7.2/base/armv4l

In some installations a "option http_proxy" line may be required..

Update Metadata

Entered the following command to update the ipkg metadata.

ipkg -verbose_wget update

It loads a 500K file named v0.7.2 (see the configuration modification above) into /usr/lib/ipkg/lists. It maps names to handheld's packages (for example apache) and describes package dependencies. You can remove this file to save space after the install is done.

There will be warnings about assuming the arm architecture. The -verbose_wget switch enables output like the following:

Connecting to proxy.xx.xxxxx.com:xxx... connected!
Proxy request sent, awaiting response... 200 OK
Length: 514,740 [text/plain]

    0K -> .......... .......... .......... .......... .......... [9%]
   50K -> .......... .......... .......... .......... .......... [19%]
  100K -> .......... .......... .......... .......... .......... [29%]
  150K -> .......... .......... .......... .......... .......... [39%]
  200K -> .......... .......... .......... .......... .......... [49%]
  250K -> .......... .......... .......... .......... .......... [59%]
  300K -> .......... .......... .......... .......... .......... [69%]
  350K -> .......... .......... .......... .......... .......... [79%]
  400K -> .......... .......... .......... .......... .......... [89%]
  450K -> .......... .......... .......... .......... .......... [99%]
  500K -> ..                                                     [100%]

    00:08:42 (8.94 KB/s) - `/tmp/ipkg-ILXOjl/Packages' saved [514740/514740] 

Installing Apache

To install apache type:

ipkg -verbose_wget install apache

ipkg will figure out the dependencies and download five packages and display progress bars like above for each.

Starting Apache

Type

/etc/init.d/apache start