User templates

From ISPWiki
Revision as of 16:52, 28 September 2018 by Ksenya (talk | contribs) (Bugfix)
Jump to: navigation, search

A Template is a set of predefined parameters that you may use when adding a new user. In this module you can create and manage templates, and choose the modules that will be available for them.

Module «Templates»
T-bullet.gif View a list of templates
T-new.png Create new template
T-edit.png Edit template properties
T-delete.png Delete template

View a list of templates

  • Name - template name that will be displayed in the user add/edit form.
  • Type - type of users this template is used for: User or Reseller.
  • Access to functions - template access permissions.
  • Usage - how many users are created based on this template.
  • Disk - disk space that can be allocated to users.
  • Web-domains - the number of web-domains that can be allocated to users.
  • Domain names - the number of domains that can be allocated to users.
  • Databases - the number of databases that can be allocated to users.
  • Properties:
P-shell.png - Shell access is active for users that can be created based on this template.
P-cgi.png - CGI is active for web-domains of users that can be created based on this template.
P-php.png - PHP is active for for web-domains of users that can be created based on this template.
P-ssi.png - SSI is active for web-domains of users that can be created based on this template.
P-ssl.png - HTTPS is active for for web-domains of users that can be created based on this template.

Create new template

To create a new template, click the "Add" icon and fill out the form:

Basic

Module «Templates»
  • Name - enter the name for the template you want to add.
  • Type - select a user type that can be created based on this template: Reseller or User.
  • Permissions group - select a group selected in the "Access to functions" form.

Limits

Module «Templates»
  • Disk - enter the maximum amount of disk space that can be used by this template.
  • Traffic - enter the maxim amount of traffic that can be consumed by this user.
  • Databases - enter the maximum number of databases that can be used by this template.
  • Database users - enter the maximum number of databases users that can be created by this template.
  • FTP users - enter the maximum number of ftp accounts that can be used by this template.
  • Web-domains - enter the maximum number of Web-domains for this template.
  • Mail domains - enter the maximum number of mail domains that can be used by this template.
  • Mailboxes - enter the maximum number of mailboxes that can be used by this template.
  • Domain names - enter the maximum number of domain zones that can be used by this template.

Resources

Module «Resellers»
  • CPU time - enter the maximum amount of CPU time that reseller's processes can consume.
  • RAM - enter the maximum amount of memory that the reseller's processes can consume.
  • User processes - enter the maximum processes allocated to this reseller.
  • Simultaneous connections per session - enter the maximum number of simultaneous connections this reseller may have to the MySQL database from a specific IP address per hour.
  • Apache handlers - enter the maximum number of Apache handlers for web-domains of this reseller.
  • Simultaneous MySQL-connections - enter the maximum number of connections to the MySQL database per user.
  • MySQL-connections - enter the maximum number of connections to the MySQL database per hour.
  • MySQL queries - enter the maximum number of requests that a user can run per hour.
  • MySQL update query - enter the maximum number of MySQL updates a user can execute per hour.

Access

Module «Resellers»
  • SSL - select the check box to enable HTTPS for web-domains of this template.
  • CGI - select the check box to use PHP as CGI for web-domains of this template.
  • PHP as Apache module - select the check box to use PHP as an Apache module for web-domains of this template.
  • PHP as CGI - select the check box to activate PHP scripts for the web-domains of this template. The scripts will be executed in the same way as CGI scripts - with privileges of the web-domain's owner
  • PHP as FastCGI (Nginx + PHP-FPM) - select the check box to activate PHP scripts for the web-domains of this template. The scripts will be executed with user privileges using FastCGI (Nginx will resend requests to the PHP-FPM processes manager ) allowing for better performance. Update the web-server after the PHP parameters are modified.
  • Shell access - select the check box to allow shell access to the server.

Edit template properties

To edit a template, locate the template you wish to edit, click the "Edit" icon and modify the settings you want to change.

Delete template

To delete a template, select it from the list and click the "Delete" icon. Confirm that you want to delete the selected template by clicking OK in the following form.

Bugfix

Attention!

in versions 5.169.3 and 5.172 we released the bugfix to enable the backup option in all the user templates without applying it to the existing users.

It allows for the backward compatibility of creating users based on user templates before the version 5.162.

If you don't want to apply this bugfix in your control panel, before updating ISPmanager to the version mentioned above, add fix_preset_backup into the file /usr/local/mgr5/var/fixlist_ispmgr.