Installing on Linux

The Embedthis Appweb install distributions for LINUX are published in three formats

  • an RPM format

  • a Debian dpkg format

  • a tar format for custom/self installs

It is recommended that you use the RPM format if your system supports the RPM package standard.

  • The RPM image is: appweb-VERSION-BUILD-DIST-LINUX-i386.rpm.tar.gz

  • The Debian image is: appweb-VERSION-BUILD-DIST-LINUX-i386.rpm.tar.gz

  • The Self install image is: appweb-VERSION-BUILD-DIST-LINUX-i386.tar.tar.gz

The RPM and Debian formats will register the Appweb installation with the system's software manager so that you can query, verify, and easily manage the software on your system. The self-install format consists of tar archives that you can manually extract for maximum control over the placement of the product files. 

All distribution images contains a binary distribution, documentation and samples in the one package. 

Installing the RPM Image

  1. Login as root

  2. Uncompress the image by typing

    gunzip appweb-VERSION-BUILD-DIST-LINUX-i386.rpm.tar.gz

  3. Extract the top level files by typing

    tar xvf appweb-VERSION-BUILD-DIST-LINUX-i386.rpm.tar

  4. ./install

Installing the Debian Image

  1. Login as root

  2. Uncompress the image by typing

    gunzip appweb-VERSION-BUILD-LINUX-i386.rpm.tar.gz

  3. Extract the top level files by typing

    tar xvf appweb-VERSION-BUILD-LINUX-i386.rpm.tar

  4. ./install

Installing the Self-Install Image

  1. Login as root

  2. gunzip appweb-VERSION-BUILD-LINUX-i386.self.tar.gz

  3. tar xvf appweb-VERSION-BUILD-LINUX-i386.self.tar

  4. cd {Desired-Directory-For-Binaries}

  5. gunzip appweb-VERSION-BUILD-LINUX-i386.tar.gz

  6. tar xvf appweb-VERSION-BUILD-LINUX-i386.tar

  7. cd {Desired-Directory-For-Documentation}

  8. gunzip appweb-doc-VERSION-BUILD.tar.gz

  9. tar xvf appweb-doc-VERSION-BUILD.tar

Removing Appweb

  1. Login as root

  2. Change directory to the installation directory for Appweb. This is usually /etc/appweb

  3. Run the remove script in the install directory for Appweb by typing "./remove"

Running Appweb

The Appweb product installation will automatically start Appweb before it completes. Thereafter, Appweb will automatically start if the system is rebooted.

If you wish to stop Appweb, type

service appweb stop

You can restart Appweb by

service appweb start

Alternatively, you may also run Appweb manually

  1. cd /etc/appweb

  2. ./appweb -l stdout:2

Appweb is configured by default to listen on port 7777. To test that it is serving pages, point your browser at http://localhost:7777. To tailor the Embedthis Appweb configuration, including the default port, you may wish to edit the appweb.conf configuration file. .


© Embedthis Software LLC, 2003-2009. All rights reserved. Embedthis is a trademark of Embedthis Software LLC.