Quick Nav
See Also
Installing on MAC OS X
The Appweb install distribution for LINUX is published in two formats:
- Native DMG/PKG format
- Tar format for custom/self installs
It is recommended that you use the DMG/PKG package as it will register the software with the system's software package manager. The self-install format consists of tar archives that you can manually extract for maximum control over the placement of the product files.
Both distribution images 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 DMG Image
- Double click on the DMG image.
- Double click on the appweb.mpkg file icon.
Installing the Self-Install Image
- Run the Terminal application
- Uncompress and extract the files:
tar xvfz appweb-VERSION-Apple-MACOSX-i386.tar.tar.gz
- Start the installation with administrator privilege:
-
sudo ./install
Removing Appweb
- Run a terminal and change directory to the installation directory for Appweb. This is typically "/etc/appweb".
- Run the remove script in the install directory for Appweb by typing
sudo ./uninstall
Running Appweb
Appweb will start when the installation procedure completes and 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:
sudo launchctl unload -w /Library/LaunchDaemons/com.embedthis.appweb.plist
To restart Appweb:
sudo launchctl load -w /Library/LaunchDaemons/com.embedthis.appweb.plist
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