Embedthis Appweb 3.4.0
Home > Installation > Installing on Linux

Quick Nav

See Also

Installing on Linux

The Appweb install distribution for LINUX is published in three formats:

It is recommended that you use either the native formats (if your system supports it) as these will register the software installation with the system's software manager. The self-install format consists of tar archives that you can manually extract for maximum control over the placement of the product files.

All formats contain a binary distribution, documentation and development headers and libraries in the one package. During installation you will have the option of installing the full distribution or just portions.

Installing the RPM or Debian Images

  1. Uncompress and extract the image:
    tar xvfz appweb-VERSION-DIST-LINUX-i686.FMT.tar.gz
    

    Where VERSION is the current version (e.g. 1.2.3-1), and DIST is the name of the Linux distribution (e.g. fedora), and FMT is either rpm or deb.

  2. Then start the installation with administrator privilege:
    sudo ./install
    

Installing the Self-Install Image

  1. Uncompress and extract the image:
    tar xvfz appweb-VERSION-DIST-LINUX-i686.tar.tar.gz
    
  2. Then start the installation with administrator privilege:
    sudo ./install
    

Removing Appweb

  1. Change directory to the installation directory for Appweb. This is usually /usr/lib/appweb
  2. Run the uninstall script in the install directory for appweb:
    sudo ./uninstall
    

Running Appweb

Appweb will start when the Appweb installation procedure completes and on some systems, will launch your browser directed at the Appweb local home page.Thereafter, Appweb will automatically start if the system is rebooted.

If you wish to manually stop Appweb, type:

/etc/init.d/appweb stop

To restart Appweb:

/etc/init.d/appweb start

Alternatively, you can run appweb manually:

cd /etc/appweb
appweb

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.

To get all the options for Appweb, read the man page via:

man appweb
or get the command help via:
appweb --help

© Embedthis Software LLC, 2003-2012. All rights reserved. Embedthis, Ejscript and Appweb are trademarks of Embedthis Software LLC.