If your development system is using Fedora or
CentOS, use the following:
<literallayout class='monospaced'>
- $ service httpd reload
+ # service httpd reload
</literallayout>
For Ubuntu and Debian, use the following:
<literallayout class='monospaced'>
- $ /etc/init.d/apache2 reload
+ # /etc/init.d/apache2 reload
</literallayout>
For OpenSUSE, use the following:
<literallayout class='monospaced'>
- $ /etc/init.d/apache2 reload
+ # /etc/init.d/apache2 reload
</literallayout></para></listitem>
<listitem><para>
If you are using Security-Enhanced Linux
host.
This example assumes RPM package types:
<literallayout class='monospaced'>
- $ chcon -R -h -t httpd_sys_content_t tmp/deploy/rpm
+ # chcon -R -h -t httpd_sys_content_t tmp/deploy/rpm
</literallayout></para></listitem>
</orderedlist>
</para>
then you might create a link from your build location
to lighttpd's document-root as follows:
<literallayout class='monospaced'>
- $ ln -s $(PWD)/tmp/deploy/ipk /var/www/lighttpd/BOARD-dir
+ # ln -s $(PWD)/tmp/deploy/ipk /var/www/lighttpd/BOARD-dir
</literallayout>
</para>
distribution.
However, one basic method that starts it by hand is:
<literallayout class='monospaced'>
- $ lighttpd -f /etc/lighttpd/lighttpd.conf
+ # lighttpd -f /etc/lighttpd/lighttpd.conf
</literallayout>
</para>
</section>
Given this example, issue the following commands on the
target:
<literallayout class='monospaced'>
- $ smart channel --add all type=rpm-md baseurl=http://server.name/rpm/all
- $ smart channel --add i585 type=rpm-md baseurl=http://server.name/rpm/i586
- $ smart channel --add qemux86 type=rpm-md baseurl=http://server.name/rpm/qemux86
+ # smart channel --add all type=rpm-md baseurl=http://server.name/rpm/all
+ # smart channel --add i585 type=rpm-md baseurl=http://server.name/rpm/i586
+ # smart channel --add qemux86 type=rpm-md baseurl=http://server.name/rpm/qemux86
</literallayout>
Also from the target machine, fetch the repository
information using this command:
<literallayout class='monospaced'>
- $ smart update
+ # smart update
</literallayout>
You can now use the <filename>smart query</filename>
and <filename>smart install</filename> commands to
On the target machine, fetch (or refresh) the
repository information using this command:
<literallayout class='monospaced'>
- $ opkg update
+ # opkg update
</literallayout>
You can now use the <filename>opkg list</filename> and
<filename>opkg install</filename> commands to find and