Installation and Control in Linux



Similar documents
Installation and Control in Linux

Installation and Control in Linux

Installation and Control in Linux

IceWarp Server Windows Installation Guide

IceWarp to IceWarp Server Migration

IceWarp Unified Communications. Installation Guide. Version 10.4

AXIGEN Mail Server. Quick Installation and Configuration Guide. Product version: 6.1 Document version: 1.0

Installing The SysAidTM Server Locally

insync Installation Guide

GWAVA 5. Migration Guide for Netware GWAVA 4 to Linux GWAVA 5

AVG 8.5 Anti-Virus Network Edition

FileMaker Server 7. Administrator s Guide. For Windows and Mac OS

Installation Instruction STATISTICA Enterprise Small Business

Kerio MailServer 6. Administrator s Guide. Kerio Technologies

AVG 9.0 Internet Security Business Edition

OnCommand Performance Manager 1.1

FileMaker Server 8. Administrator s Guide

SysPatrol - Server Security Monitor

Installation Instruction STATISTICA Enterprise Server

DESLock+ Basic Setup Guide Version 1.20, rev: June 9th 2014

RecoveryVault Express Client User Manual

Secure Messaging Server Console... 2

1. Product Information

Online Backup Client User Manual Linux

Online Backup Linux Client User Manual

Online Backup Client User Manual

TSM for Windows Installation Instructions: Download the latest TSM Client Using the following link:

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Installation Guide for contineo

How To Set Up An Icewarp Server

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

VERSION 9.02 INSTALLATION GUIDE.

Kerio Connect. Administrator s Guide. Kerio Technologies

Aradial Installation Guide

Online Backup Client User Manual

AVG Internet Security Business Edition 2012

Avira Update Manager User Manual

SyncThru Database Migration

NSi Mobile Installation Guide. Version 6.2

Configuring MailArchiva with Insight Server

IceWarp Unified Communications. AntiVirus Reference. Version 10.4

2.3 - Installing the moveon management module - SQL version

Business Interaction Server. Configuration Guide Rev A

Bitrix Site Manager. VMBitrix Virtual Machine. Quick Start And Usage Guide

IceWarp Server. Log Analyzer. Version 10

Identikey Server Windows Installation Guide 3.1

Log Analyzer Reference

Expresso Quick Install

Installing and Configuring MySQL as StoreGrid Backend Database on Linux

IceWarp Server Upgrade

Introduction to Mobile Access Gateway Installation

StoreGrid Backup Server With MySQL As Backend Database:

Laptop Backup - Administrator Guide (Windows)

Exchange Migration Guide

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

Out n About! for Outlook Electronic In/Out Status Board. Administrators Guide. Version 3.x

FileMaker Server 11. FileMaker Server Help

IDENTIKEY Server Windows Installation Guide 3.2

MGC WebCommander Web Server Manager

IDENTIKEY Server Windows Installation Guide 3.1

Device Log Export ENGLISH

CloudPortal Business Manager 2.2 POC Cookbook

SMT v4.0 Users Guide (Linux version)

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Migrating helpdesk to a new server

FileMaker Server 14. FileMaker Server Help

White Paper. Installation and Configuration of Fabasoft Folio IMAP Service. Fabasoft Folio 2015 Update Rollup 3

ecopy ShareScan v4.3 Pre-Installation Checklist

DiskPulse DISK CHANGE MONITOR

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Parallels Plesk Automation

NetIQ Sentinel Quick Start Guide

SonicWALL CDP 5.0 Microsoft Exchange User Mailbox Backup and Restore

EZblue BusinessServer The All - In - One Server For Your Home And Business

IceWarp Server Quick Start Guide

RBackup Server Installation and Setup Instructions and Worksheet. Read and comply with Installation Prerequisites (In this document)

Eylean server deployment guide

Kaspersky Endpoint Security 8 for Linux INSTALLATION GUIDE

escan SBS 2008 Installation Guide

Training module 2 Installing VMware View

Storage Sync for Hyper-V. Installation Guide for Microsoft Hyper-V

MS SQL Server Database Management

Administrator Manual

ACE Management Server Administrator s Manual VMware ACE 2.6

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.2

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

JAMF Software Server Installation Guide for Linux. Version 8.6

Installation Guide for FTMS and Node Manager 1.6.0

StoreGrid Backup Server With MySQL As Backend Database:

Moving to Plesk Automation 11.5

OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup

FileMaker Server 10 Help

Sophos Mobile Control Installation guide. Product version: 3.5

StreamServe Persuasion SP4

FileMaker Server 13. FileMaker Server Help

Migrating TimeForce To A New Server

Installation & Maintenance Guide

QUANTIFY INSTALLATION GUIDE

Bitrix Site Manager ASP.NET. Installation Guide

Transcription:

IceWarp Server Installation and Control in Linux Version 10 Printed on 17 August, 2009

i Contents IceWarp Server Installation and Control in Linux 1 V10 New Features... 2 Differences between Windows and Linux Versions... 3 Before Installation... 4 Installation Package... 5 Running... 6 Installation Step-by-Step on CentOS 5.3... 7 Using MYSQL Database for Web Client Pro... 28 Installing Avast Anti-Virus Library... 29 New License Registration... 32 Controlling IceWarp Server in Linux... 37 Starting server and/or services... 37 Stopping server and/or services... 37 Service icewarpd functionality... 37 Commands table... 37 IceWarp Server Administration... 39 Installation of Aspell Dictionaries... 40 IceWarp Server - Dynamic Library Dependencies... 41 Differences between Windows and Linux Version... 44 Migration from Windows to Linux... 45 Index 47

1 C H A P T E R 1 IceWarp Server Installation and Control in Linux This document describes how to install IceWarp Server and control its services in Linux. In This Chapter V10 New Features... 2 Differences between Windows and Linux Versions... 3 Before Installation... 4 Installation Package... 5 Running... 6 Installation Step-by-Step on CentOS 5.3... 7 Controlling IceWarp Server in Linux... 37 IceWarp Server Administration... 39 Installation of Aspell Dictionaries... 40 IceWarp Server - Dynamic Library Dependencies... 41 Differences between Windows and Linux Version... 44 Migration from Windows to Linux... 45

2 C H A P T E R 2 V10 New Features Debian support Portable Ubuntu support (requires openssl, libmysqlclient and aspell libraries). ODBC support on Linux with unixodbc (Oracle, Postgre SQL) php_tidy for PHP purple module for IM and libpurple, purpleserv new menu item added to Wizard: Display licence information support for PDO MySQL in PHP support for UTF-8 in PDO SQLite in PHP unified API makes all available functions accessible through apiobjectcall interface Mail Log Analyzer available (log importer only), requires to compile and install ODBC drivers

3 C H A P T E R 3 Differences between Windows and Linux Versions Linux version and Windows one are the same feature-to-feature, including: LDAP and ActiveDirectory integration Avast! anti-virus with AutoUpdates Commtouch Anti-Spam LIVE engine (ctasd) MLA Mail Log Analyzer (importer daemon) SQLite3 database engine installed and used by default PHP5 with XCache, php_tidy and common libraries MySQL 5.1 native support (requires libmysqlclient) command line tool with direct access to API and server constants the same unified IceWarpServer API library (RPC, PHP, apiobjectcall) the documentation applies with some abstraction if using WebAdmin There are however differences given by the platform architecture: Administration GUI is non-native but runs under Wine installation script instead of installer wizard PHP is installed separately UnixODBC and DB driver installation required for Oracle 11, Postgre SQL 8, Firebird 2.1 no support for FastCGI and FastISAPI multi-threaded web server modes

4 C H A P T E R 4 Before Installation 1. Check available space on your disc, min. 150 MB is required. 2. Please check if your system has installed required packages. The IceWarp Server Dynamic Library Dependencies (see "IceWarp Server - Dynamic Library Dependencies" on page 41) chapter lists these packages, you can install only packages that are required by selected features. 3. Stop and remove from the init process every program which can use any network port required for the server. For example sendmail listens on the port 25 and the SMTP service would not be able to start. 4. You can create a new user for the server, for example "icewarp". If the server should listen on a privileged port, you can install this server under the unprivileged "icewarp" user and then start it under the root. The server will drop its privileges from the root to the installed user, but will be able to listen on the privileged ports.

5 C H A P T E R 5 Installation Package The installation package is in.tar.gz format. The latest package can be always found on http://www.icewarp.com. Example: IceWarpServer-10.0.0_(2009-02-10)_RHEL5.3.tar.gz 1. Extract the package: [linux]$ tar -xzf IceWarpServer-10.0.0_(2009-02-10)_RHEL5.3.tar.gz 2. Chdir to the created directory: [linux]$ cd IceWarpServer-10.0.0_(2009-02-10)_RHEL5.3 3. Start the installation: [linux]$./install.sh 4. Follow the onscreen instructions.

6 C H A P T E R 6 Running After installation, at least one domain and one user must be created first, otherwise the server will not work. You can use wizard.sh in the installation directory to create the initial domain and user. The initial user should be System Administrator one so you can log in into WebAdmin and manage settings. The IceWarp Server uses database for storing informations for accounts, antispam and groupware. Default databases are: Accounts: uses file system Antispam and groupware: SQLite You can change database type in wizard or using the Remote Administration tool for Windows or using WebAdmin. Also UnixODBC is supported, but you must compile the latest version from www.unixodbc.com. The server was tested with UnixODBC with Oracle and PostgreSQL. Default listening port for webserver is 32000. Default http addresses are: Webmail: http://localhost:32000/webmail Admin: http://localhost:32000/admin RPC: http://localhost:32000/rpc/ If you have problem running the server, please check log files in the./logs directory, there can be found logged errors of unsuccessful port binding or required library loading error.

7 C H A P T E R 7 Installation Step-by-Step on CentOS 5.3 To install IceWarp Server on CentOS 5.3, follow these steps: 1. Check available disk space in volumes using df -h. 2. Verify installed packages using rpm -qa.

8 Installation and Control in Linux IceWarp Server 3. Check for services startup's using chkconfig --list grep on. 4. Turn off Auto-Start for clashing services, ie. Sendmail using chkconfig --level 0123456 sendmail off.

Installation Step-by-Step on CentOS 5.3 9 5. Stop clashing services, ie. Sendmail using /etc/rc.d/init.d/sendmail stop. 6. Optionally, create a user for IceWarp Server installation (both username and password are case sensitive).

10 Installation and Control in Linux IceWarp Server 7. If not already installed, install mysql.

Installation Step-by-Step on CentOS 5.3 11

12 Installation and Control in Linux IceWarp Server 8. Set MySQL to Auto-Start using chkconfig mysqld on and then start the service immediately using service mysqld start.

Installation Step-by-Step on CentOS 5.3 13 9. Set MySQL root password. 10. Create tables for IceWarp Server in MySQL.

14 Installation and Control in Linux IceWarp Server 11. Verify tables created in MySQL. 12. Begin IceWarp Server installation on the root or created user i.e. IceWarp.

Installation Step-by-Step on CentOS 5.3 15 13. Run the IceWarp Wizard immediately after installation or at a later stage by executing./wizard.sh from the /install_volume/merak ie. /opt/merak.

16 Installation and Control in Linux IceWarp Server NOTE that if you do not run the Wizard from the installer, you may need to manually start the IceWarp services using "/etc/rc.d/init.d/merak start". 14. Change storage setup to MySQL [3] for Accounts, AntiSpam and GroupWare.

Installation Step-by-Step on CentOS 5.3 17

18 Installation and Control in Linux IceWarp Server

Installation Step-by-Step on CentOS 5.3 19

20 Installation and Control in Linux IceWarp Server 15. Create the initial domain and Administrative User [1].

16. IceWarp Server installation done! Installation Step-by-Step on CentOS 5.3 21

22 Installation and Control in Linux IceWarp Server Logs are available at /root/merak-install.log & /root/merak-install-error.log. Next, verify that primary IceWarp Server services are operating properly.

17. Check services startup using chkconfig --list grep on. Installation Step-by-Step on CentOS 5.3 23

24 Installation and Control in Linux IceWarp Server 18. Check MySQL tables.

Installation Step-by-Step on CentOS 5.3 25

26 Installation and Control in Linux IceWarp Server 19. Check IceWarp Web Client Basic, Web Client Pro, Web Admin and Remote Console login.

Installation Step-by-Step on CentOS 5.3 27

28 Installation and Control in Linux IceWarp Server Using MYSQL Database for Web Client Pro 1. Change setting in IceWarp Server to use icewarp_webmail database in MySQL.

Installation Step-by-Step on CentOS 5.3 29 2. After logging into Web Client Pro, IceWarp Server will create the necessary tables Installing Avast Anti-Virus Library 1. The libavastengine.so file is included in the IceWarp Server installation and is located in <pathtoicewarp>/avast/.

30 Installation and Control in Linux IceWarp Server 2. There should also be a link in /usr/lib to the latest libavastengine.so file. If you do not see the libavastengine.so link in the /usr/lib, try the following : cd /usr/lib in -s <pathtoicewarp>/avast/libavastengine.so libavastengine.so.

Installation Step-by-Step on CentOS 5.3 31 Once this link has been established, you should be able to run the Anti-Virus engine update to download the latest definitions.

32 Installation and Control in Linux IceWarp Server New License Registration 1. Start the./wizard.sh from <pathtoicewarp> and go to [2] License Operations.

Installation Step-by-Step on CentOS 5.3 33 2. Select [5] Export reference key to file, save the file to <filename>.xml and send it to to your IceWarp Partner for processing of your new license key. 3. Once your NEW license has been processed, it will be e-mailed to you. Copy & paste the license block into <pathtoicewarp>/config/license.key.

34 Installation and Control in Linux IceWarp Server

Installation Step-by-Step on CentOS 5.3 35 4. You may then review and verify your license using the wizard.sh [1] Display License Information.

36 Installation and Control in Linux IceWarp Server

37 C H A P T E R 8 Controlling IceWarp Server in Linux Starting server and/or services [linux]$./icewarpd.sh --start starts "icewarpd" and automatically starts all services, except PHP, which is started when first HTTP request arrives. [linux]$./icewarpd.sh --start control gw im pop3 smtp all starts the selected service or all services. If "icewarpd" is not already running, this command does not start it. If the control is started, it starts PHP on the first HTTP request. Stopping server and/or services [linux]$./icewarpd.sh --stop stops all running services, stops "icewarpd" and also PHP. This is the command for complete server shutdown. [linux]$./icewarpd.sh --stop control gw im pop3 smtp all stops selected service or all services. This command causes PHP stop together with control and does not stop "icewarpd". Service icewarpd functionality When the "icewarpd daemon" is running, it: checks every 1 minute whether all started services are running. If not, service is re-started. Commands table Action \ Platform RHEL 4 and 5 Other distributions Start all services and icewarpd [pc]$ service icewarp start [pc]$./icewarpd.sh --start Stop all services and icewarpd [pc]$ service icewarp stop [pc]$./icewarpd.sh --stop Restart all services and icewarpd [pc]$ service icewarp restart - Start specific service [pc]$./icewarpd.sh --start x [pc]$./icewarpd.sh --start x Stop specific service [pc]$./icewarpd.sh --stop x [pc]$./icewarpd.sh --stop x Check specific service [pc]$./icewarpd.sh --check x [pc]$./icewarpd.sh --check x Run wizard [pc]$./icewarpd.sh [pc]$./icewarpd.sh

38 Installation and Control in Linux IceWarp Server Possible services are: control, gw, im, pop3, smtp, all.

39 C H A P T E R 9 IceWarp Server Administration Via Win32 GUI - download and install the latest Win32 GUI from http://www.icewarp.com (http://www.icewarp.com), connect to IceWarp Server the same way you would do for Windows MailServer. commandline wizard used for quick setup and easy tasks, scriptable for more complex tasks. Wizard can create the initial account, generate unique SSL certificate and set up database connection, install license and manage IceWarp Server services. cd /opt/icewarp./wizard Web administation frontend browse to http://<your.server.here>:32000/admin/

40 C H A P T E R 10 Installation of Aspell Dictionaries IceWarp Server uses Aspell (version 0.60.6) as a spell checker. It requires dictionaries for version 0.6 (or higher). You can download these dictionaries (free) from http://aspell.net (http://aspell.net). To install a dictionary, use the./scripts/install_aspell_dictionary.sh script. Use the dictionary file name as a command line parameter. Example of the command for the Czech dictionary installation: [linux]$./scripts/install_aspell_dictionary.sh /home/user/aspell6-cs-20040614-1.tar.bz2 After dictionary installation, this new dictionary will not be available in WebMail. To fix it, you have to add a record about this dictionary to the WebMail configuration file:./config/_webmail/spellchecker.xml The record format is as follows: <aspell_dictionary_id>name_in_webmail</aspell_dictionary_id> Example: New IceWarp Server installation has in the./config/_webmail/spellchecker.xml file one record for implicit English dictionary that is included in the installation: <en>english</en> After installation of the Czech dictionary, it is necessary to add the following record: <cs>czech</cs> Use similar records for other languages. NOTE that the./config/_webmail/spellchecker.xml file is created after the first login to WebMail and after displaying of the dialog for spell checker setting. This dialog is accessible via the Settings menu item within the email composer window.

41 C H A P T E R 11 IceWarp Server - Dynamic Library Dependencies Dynamic library Mail Server service and provided functionality Package which provides dynamic library RHEL 5 Debian 5 libc.so.6 System interface glibc libc6 libpthread.so.0 System interface glibc libc6 libgds.so libgds.so.0 libfbclient.so FireBird database FireBird database libmysqlclient.so libmysqlclient.so.14 libmysqlclient.so.15 MySQL database mysql mysql-client libsqlite3.so libsqlite3.so.0 SQLite database IceWarp Server IceWarp Server libz.so.1 Control: HTTP gzip zlib zlib1g Control: Backup libgd.so.2 Control: captcha gd libgd2-noxpm OR Smtp: captcha libgd2-xpm libgd.so Control: captcha gd libgd2-noxpm OR Smtp: captcha libgd2-xpm

42 Installation and Control in Linux IceWarp Server libiconv2.so All services: native conversion between any charset glibc libc6 (MIME class, Versit class etc.) libiconv.so All services: native conversion between any charset glibc libc6 (MIME class, Versit class etc.) libldap.so Groupware, Control, API: LDAP integration, sync openldap openldap-devel liblber.so Groupware, Control, API: LDAP integration, sync openldap openldap-devel libldap2-dev libldap2-dev libcap.so Bind ports under 1024 when started as root but libcap liblcap2-dev running as non privileged user libcap-devel libpcre.so All services: any regex pattern match and replace in pcre libpcre3-dev libpcre.so.0 different parts of sources (mod_rewrite, rules etc.) libpcre.so.1 libpcre.so.2 libpcre.so.3 libssl.so All services: SSL, TLS features for all services including openssl libssl-dev libssl.so.4 SSL Tunnel, certificate verification and others. libssl.so.5 libssl.so.6 libcrypto.so All services: SSL, TLS features for all services including openssl libcrypto.so.4 SSL Tunnel, certificate verification and others. libcrypto.so.5 libcrypto.so.6 libymsgauth.so IM "Yahoo IM Gateway" used for login hash creation IceWarp Server IceWarp Server

IceWarp Server - Dynamic Library Dependencies 43 libphp4.so libphp5.so PHP and icewarpphp extension: php integration IceWarp Server IceWarp Server libavastengine.so Pop3 Smtp: Antivirus check Avast IceWarp Server IceWarp Server symcsapi.so Pop3 Smtp: Antivirus check Symantec IceWarp Server IceWarp Server libdb.so All services: DB access to accounts (if running in db db4 libdb4.2-dev OR mode) and spam engine. libdb4.5-dev OR libdb4.6-dev

44 C H A P T E R 12 Differences between Windows and Linux Version LDAP is not currently available for Linux. Windows version uses Avast! Antivirus engine. Linux version uses AVG7 Antivirus engine. Windows version uses PHP5 for built-in web service. Linux version uses PHP4. Atomic clock sync only works under root (not recommended). Windows version uses ODBC, Linux version uses MySQL.

45 C H A P T E R 13 Migration from Windows to Linux 1. Save Windows configuration into MCB file (Backup configuration). 2. In Linux, restore configuration in WebAdmin. 3. The correct paths are converted and set automatically by IceWarp Server, so you do not have to set them. 4. Mount Windows drive and manually copy the email folders into Linux destination directory (by default /opt/icewarp/mail).

47 Index A Anti-Spam 6 Aspell 40 L libraries 41 S server start 37 server stop 37 W WebMail 6