Parallels H-Sphere Documentation System Administrator Guide

 

H-Sphere VPS Templates

(HS VPS version 1.2 and up)
 
 

Related Docs:   VPS Installation FreeVPS Documentation

Last modified: 27 Dec 2007

 

WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

VPS template is a predefined set of RPMs to install a certain service, tool or application.

Templates are installed to VPS upon its creation or to a live VPS. Basically, template is a structured file with the list of RPM packages, including their names, full version and platform architecture.

All VPS templates are located in the $VPSCONFIGS/$LINUXCODE directory. Default location:

Red Hat Linux release 7.3: /hsphere/local/config/vserver/RH73
Red Hat EL 3, CentOS 3.x, White Box EL 3: /hsphere/local/config/vserver/RHES3

VPS templates have the following filename format:
rpm_<template_name>.cfg
where <template_name> may contain any characters possible in Unix file names, except '_' and '.'.

RPM files listed in the templates must be located either in your $LINUXRPMS directory (this location can be configured by runnung the vps-configure.pl script), or in the H-Sphere packages directory $HSINSTALLPKG/$LINUXCODE:
Red Hat Linux 7.3: /hsphere/install/pkg/RH73
Red Hat EL 3, CentOS 3.x, White Box EL 3: /hsphere/install/pkg/RHES3

VPS Template Creation and Modification

RPM files listed in template file must satisfy all dependences during their installation.

To configure, modify, create new templates, run the vps-configure.pl script. You will see the following prompt:

        Application Templates available to install:

        1 - [ ] dns-server
        2 - [ ] development-tools
        3 - [ ] ftp-server
        4 - [ ] mail-server
        5 - [ ] mysql-server
        6 - [ ] news-server
        7 - [ ] perl-full
        8 - [ ] pgsql-server
        9 - [ ] samba-server
        10 - [ ] system-tools
        11 - [ ] web-server
        -------
        [ a ] - add template
        [ d ] - delete template
        [ c ] - change template installation order
                (must satisfy package dependences during installation)
        [ n ] - new template
        [ m ] - modify template
        [ s ] - save and exit
        [ e ] - exit without saving
        -------

Enter the number of a template to be turned on/off, or choose any of the options:

  • [ a ] - add template - select this option to add an existing template to be available for VPS installation.
  • [ d ] - delete template - select this option to delete an existing template from the list of available templates for VPS installation.
  • [ n ] - new template - select this option to create your own custom template. Here you will be promted for the template name and the names of RPM packages to be included into the template. Package names listed in the template must be each in new line. When you finish, press Ctrl+D.
  • [ m ] - modify template - use this option to modify the list of packages included to the template.

Then, you save the list and exit ([ s ]), or exit without save ([ e ]).

Default Templates

base

Core VPS Linux installation. It includes:

- vps kernel;
- networking support;
- OpenSSH connection;
- basic tools and libraries;
- service configuration tools;
- cron, scheduling tasks support;
- utility to control the network packet filtering code in Linux kernel;
- system logging management tools;
- man pages (documentation) from Linux Documentation Project (LDP);
- Perl high-level programming language;
- Aspell spelling checker;
- Python programming language;
- Sendmail - widely used Mail Transport Agent (MTA).

samba-server

Windows file server. This package group allows you to share files between Linux and MS Windows&tm; systems.

It includes:

- samba protocol for sharing files, printers, and other information (such as available files and printers);
- CUPS (Common UNIX Printing System): portable printing layer for UNIX operating systems.

ftp-server

These tools allow you to run FTP server on VPSs.

They include:

- fast, read-only, anonymous FTP server;
- FTP server daemon.

pgsql-server

PostgreSQL database server. This package group includes packages useful for use with PostgreSQL.

It includes:

- advanced Object-Relational database management system (DBMS) - PostgreSQL server;
- an implementation of DBI for PostgreSQL for Perl;
- a dynamic shared object (DSO) that can be compiled in to the Apache Web server to add PostgreSQL database support to PHP.

web-server

These tools allow you to run a Web server on VPS:

- powerful, full-featured, efficient, and freely-available Apache Web server;
- PHP - an HTML-embedded scripting language;
- a utility to convert Active Server Page (ASP) files run on the Microsoft IIS Web server, to PHP pages;
- additional modules to give Apache Web server the ability to understand the DAV (Distributed Authoring and Versioning) protocol of HTTP extensions, to incorporate a Perl interpreter into the Apache Web server, to provide strong cryptography for the Apache Web server via Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols;
- Web server log analysis program - Webalizer;

dns-server

This package group allows you to run DNS name server (BIND) on the system.

It includes:

- BIND (Berkeley Internet Name Domain) - an implementation of the DNS (Domain Name System) protocols. BIND includes a DNS server (named) which resolves host names to IP addresses; a resolver library (routines for applications to use when interfacing with DNS); and tools for verifying that the DNS server is operating properly;
- configuration files that will make BIND, the DNS name server, act as a simple caching nameserver.

mysql-server

MySQL database server. This package group contains packages to be used with MySQL.

It includes:

- a multi-user, multi-threaded SQL database server;
- a MySQL interface for Perl;
- a dynamic shared object that will add MySQL database support to PHP.

mail-server

These packages allow you to configure an IMAP or Postfix mail server.

They include:

- server daemons for both the IMAP (Internet Message Access Protocol) and POP (Post Office Protocol) mail access protocols;
- Mail Transport Agent (MTA), supporting LDAP, SMTP AUTH (SASL) - Postfix.

news-server

This group allows you to configure the system as a news server.

It includes:

- an automatic spam filter for Usenet news servers and routers - Cleanfeed;
- the inews program;
- INN (InterNetNews) is a complete system for serving Usenet news and/or private newsfeeds.

perl-full

Additional modules for Perl programming languages.

It includes:

- Expat C library for parsing XML;
- database access Application Programming Interface;
- module for the handling of tar archives;
- library which allows you to handle bit vectors, sets (of integers);
- module providing an interface for testing and setting process limits and priorities;
- module provides support for the https protocol under LWP;
- date/time manipulation modules;
- various XML partner modules for Perl;
- module for perl to parse and extract information from HTML documents.

system-tools

This group is a collection of various tools for the system, such as the client for connecting to SMB shares and tools to monitor network traffic.

It includes:

- arbitrary precision numeric processing arithmetic language and an interactive arbitrary precision stack based calculator;
- LiSt Open Files tool to list information about files that are open and running on a Linux/UNIX system;
- utility to decode and encode multilingual streams using many coding systems;
- Pax - the POSIX standard archive tool;
- Pinfo - an info file (or man page) viewer with a user interface similar to the Lynx Web browser interface;
- procinfo command to get system data from the /proc directory;
- stat utility;
- superuser do (sudo);
- symlinks utility;
- tree utility;

development-tools

These tools include core development tools such as automake, gcc, python, and debuggers.

They include:

- Autoconf - tool for configuring source code and Makefiles;
- public domain LALR parser generator;
- CVS (Concurrent Version System) is a version control system;
- Berkeley DB version 1,2,3 (4);
- utility that allows you to show dialog boxes in TTY (text mode) interfaces;
- diff and diffstat - compares/reads the output of files;
- various DocBook documentations;
- Scanners programs which can recognize lexical patterns in text;
- the cc and gcc GNU compilers for compiling C code;
- C++ support to the GNU C compiler;
- gd graphics library.


Related Docs:   VPS Installation FreeVPS Documentation



© Copyright 2017. Parallels Holdings. All rights reserved.