What does OpenApp NAP include?
OpenApp NAP consists of the following software:
- OpenPanel with mod-keepalived, mod-iptables, mod-pptpd, mod-backup, mod-smtp
Installing OpenApp NAP
- Please note that OpenApp always expects a clean install! /var/www/ and directories like that might be deleted by OpenApp
- Make sure that you have the OpenPanel sources in your sources.list and your softwarelist is up to date. Follow instructions on OpenPanel and APT
- Now install OpenApp NAP
apt-get install openapp-nap
- During the install, you will get some questions:
- The type of configuration you want. Select 'Internet Site' (press enter). OpenApp will configure postfix later on
- System mail name. This should be the hostname of your system and should already be entered (press enter). OpenApp can configure this later on
- Set a password for OpenPanel
openpanel-cli "update user password=<your password>"
- You can now login at https://<your ipaddress>:4089/ with the password entered in the previous step
- You are now in the OpenPanel-interface of your machine. Here, you can easily configure backups, outgoing email and optional software upgrades.
- For configuring Loadbalancing, Firewalling and Pptpd, please refer to the pages:
Updating OpenApp NAP
OpenApp will run apt-get update and apt-get dist-upgrade every night if you enable it in the 'Upgrades'-tab. That will upgrade all the software on the machine and may install new packages when needed. That includes the packages for Keepalived, Pptpd and IPTables.
Backing up OpenApp NAP
When you configure backups via OpenPanel, OpenApp-backup will run daily/weekly/montly and leave a executable file in /var/backups/. To restore from this file, please read about OpenApp Backup.
Building an image
To build an image for OpenApp NAP (so that you have pre-configured everything for your user) take the following steps:
- Follow Installing OpenApp NAP
/var/openpanel/tools/openapp-smtp-configure-postfix "<hostname of the machine>" "<true|false smarthost>" "<smarthost, if former value is true>" "<admin emailaddress>"
openpanel-cli "update user password=<password>"