Install and configure DominoServer on Linux

Source: Internet
Author: User
Tags server installation and configuration
Linux-based DominoServer installation and configuration-Linux Enterprise Application-Linux server application information. The following is a detailed description. Linux-based Domino Server installation and configuration
  
As part of IBM's comprehensive support for Linux, its Domino Server began to provide Linux-based versions starting from R5.0.2. This article describes how to install and configure the Domino Server on Linux.
  
   I. Requirements and preparations for system software and hardware Environments
  
Hardware environment requirements
  
The Linux Domino Server does not have high requirements on the system hardware and is not described in detail. Note that you must ensure sufficient hard disk space (> 500 mb) and try to increase the number of Swap partitions as much as possible (preferably three times the RAM space ).
  
Operating System Requirements
  
Domino Server requires Linux Kernel2.2.5 or later. If your Linux Kernel version does not meet this requirement, you must first upgrade the Linux Kernel.
  
Compile and install the environment
  
Libstdc ++-2.9 and glibc-2.1.1 (or a later version) are required during the compilation and installation of Domino Server, which are part of the Linux development and compilation environment, each Linux release contains these two modules. If you did not select the two modules during Linux installation, you can find the installation programs for the two modules in the installation disk/RPMS directory, and then use the following commands to install them respectively.
> Rpm-I libstdc ++-2.9.0-12. i386.rpm
> Rpm-I glibc-2.1.1-6.i386.rpm
  
Running Environment
  
The operating environment of the Domino Server is special. It must include libjitc in the Linux system resource library (/lib. so file, which is actually a java JIT compiler provided by IBM and included in IBM Developer Kit for Linux. This is a JIT compiler provided by IBM. It is generally not included in various Linux releases. First, you can find the original code package of JDK (jre1_sdkcan also be downloaded rpm(.rpm) ..tar(.tar.gz) in http: // www.ibm.com/devcon. For example, IBMJava-JRE-1.1.8-1.0.i386.rpm, use the following command to install
> Rpm-I IBMJava-JRE-1.1.8-1.0.i386.rpm
  
Find the libjitc. so file in the "/usr/jre118/lib/linux/native_threads" directory and copy the file to the/lib directory.
> Cp/usr/jre118/lib/linux/native_threads/libjitc. so/lib/libjitc. so
  
If you find the original code package of .tar).tar.gz, run the tar command to unpackage the package and then copy it to the/lib directory. The installation process is no different from the RPM package.
  
By now, the hardware and software conditions for Domino Server Installation have been met.
  
   2. Domino Server Installation
  
Create users and user groups
  
During the installation of Domino Server, a user and user group are required. In fact, the user and user group have no actual relationship with the user of notes, it only allows administrators to determine which user and user group owns all the systems and data directories after the Domino Server is installed from the perspective of the Linux operating system ). By default, Domino Server users and user groups are both "notes". Creation Method: Use the root account to log on and use the command
  
> Adduser notes
  
Create a notes account. The notes user group is also automatically created.
  
Install
  
Download the original code 5011lis.tar(or 5011lns.tar) of Domino server. The specific name may vary with the compression format, but the installation method is the same.
  
/Usr/src/directory, and then use
  
> Tar xvf 5011lis.tar
  
To unpack the package, all the original code can be found in the/usr/src/5011lis/directory. Find the subdirectory of the installand license.txt files in the source code directory generated after the package is decompressed, enter the subdirectory, and run
  
>./Install
  
The installation process begins. The process includes seven interactive steps, which are briefly described as follows:
  
A. whether to accept the license agreement. No way. You must select [yes].
  
B. Select the Server type. The function should be [Enterprise Server]> [Application Server]> [Mail Server]. If you are a Domino Server administrator, the difference should be very clear;
  
C. Select the application installation directory. The default value is [/opt/lotus/].
  
D. Do you want to install the second Domino Server on this machine in the future? You can select the Server based on your actual needs;
  
E. Data storage directory. The default value is [/local/notesdata/].
  
F. determine the user. The default value is [notes], which has been explained before;
  
G. determine the user group. The default value is [notes].
  
After all the options are set, the system provides a summary list of all options. After confirmation, the installation starts.
  
   3. Domino Server configuration
  
After the installation is complete, the previously set "notes" User Account can start to play a role, the following steps can exit the root identity, use the notes user to log on again, you can also choose not to switch. Add system search path:
> Path = $ path:/opt/lotus/bin:/local/notesdata
  
This step is not a necessary step. If you are too lazy, it is good to think twice.
  
Server Configuration
  
Enter the data storage directory
> Cd/local/notesdata
  
Start the server configuration program
>/Opt/lotus/bin/http httpsetup
  
These two commands are cumbersome at first glance, but necessary because the httpsetup command is in the/opt/lotus/bin/http directory, the data required during running is stored in the/local/notesdata/directory of the Domino Server. The service program actually starts a Web service, you can configure the Server on the local machine or other machines through a browser. The configuration URL is http: // yourserverip: 8081/, and yourserverip is the IP address of the machine where the Domino Server is installed, if you have DNS or other name resolution services, you can also use the host name instead. Then, you can see the long-overdue Domino Server configuration screen through the browser. There is almost no difference with the Windows NT-based Domino Server configuration screen, and the configuration process is basically similar. This process is completely a Domino Server configuration process. The differences between different operating system versions are not detailed. However, since the configuration and management of the Linux-based Domino Server will be carried out through a browser in the future, the second step in the configuration process of the first startup of the Domino Server should be emphasized, select the service type of the Domino Server.
  
The server configuration program can only run once. You can no longer configure the server by using the preceding command. Therefore, be careful in the configuration process. Never give up on this step. After the configuration is complete, the configuration program will automatically stop and the system will return to the prompt state. At this time, all three necessary id files have been generated, among which server. id and cert. id is stored in the data directory (/local/notesdata/), user. the id is attached to names. in the nsf personal document, detach it in the following steps.
  
Start Domino Server
  
Since Domino Server also provides HTTP services, if other HTTP service programs, such as apache, have been started in the system, they must be stopped, otherwise, two identical HTTP Services will conflict with each other by using the same port.
> Cd/local/notesdata
>/Opt/lotus/bin/server
  
After the service is started, you can access your machine again through a browser
Http: // yourserverip or http: // yourservername
  
Note that this is not port 8081, but the default HTTP port (usually 80). If you can see the default Domino page, it indicates that the Domino Server has started to work!
  
Detach user. id
  
Following the previous step, transfer:
Http: // yourserverip/names. nsf
  
On this page, enter through the "people" connection, find the user. id attached to the page, and click Download to local. Then you can use it to connect to and configure the notes client.
  
So far, the installation and configuration of the entire Domino Server are complete. However, since all operations on the Domino Server and the notes client must be performed through the GUI, there is no literal command, this makes the various application systems developed using notes unable to replicate in terms of system and environment setup, greatly increasing the difficulty of system transplantation.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.