Quick Nav
See Also
Installing on Linux
The Appweb install distribution for LINUX is published in three formats:
- Native RPM format for RPM based systems such as Fedora
- Native Debian format for Debian based systems such as Ubuntu
- Tar format for custom/self installs
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
- 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.
- Then start the installation with administrator privilege:
sudo ./install
Installing the Self-Install Image
- Uncompress and extract the image:
tar xvfz appweb-VERSION-DIST-LINUX-i686.tar.tar.gz
- Then start the installation with administrator privilege:
sudo ./install
Removing Appweb
- Change directory to the installation directory for Appweb. This is usually /usr/lib/appweb
- 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 appwebor get the command help via:
appweb --help