|
作為IBM系列產品全面支持Linux的一部分,其下的DominoServer從R5.0.2開始,也開始提供基于Linux的版本。本文將以RedHatAS2.1為例,從幾個方面介紹在Linux平臺上進行DominoServer的安裝與配置的整個過程。另外此安裝過程再Redhat 7.3 Redhat 8.0 Redhat 9.0上均通過。 一。安裝前準備: ?、?RedHat AS 2.1 安裝類型選擇: Installation type ---> Advanced Server 當然完全安裝也行。 ②.安裝好后將kernel 升級為2.6.4 ?、?確保有足夠的磁盤空間。和交換分區(qū)(RAM=1G ,SWAP=1G) ?、?確保沒有啟動httpd , sendmail 否則會和Domino 發(fā)生沖突。 ?、?升級IBMJava-SDK 1.4 ,IBMJava-JRE 1.4 ?、?如果把DNS配正常,也就不用下面的配置 [root@rhas3 root]# hostname rhas3 [root@rhas3 root]# vi /etc/hosts add line 172.31.0.101 rhas3.linux.com FQDN名稱 172.31.0.101 rhas3 主機名稱 二安裝并配置Domino Server 1.安裝 創(chuàng)建notes用戶和組,因為Domino Server 默認用戶和用戶組就是”notes” 目的是程序目錄和數據目錄歸notes用戶所擁有,再一個以notes用戶身份運行程序再一定程度上能保證系統(tǒng)安全。這一點再windows系統(tǒng)上是少見的。 #useradd notes #passwd notes 安裝結束后,先前設置的“notes”用戶賬號就可以開始發(fā)揮作用了,以下的步驟可以退出root身份, 新notes登錄后進行,當然也可以不切換。 添加系統(tǒng)搜尋路徑 #su - notes $PATH=$PATH:/local/notesdata 或者編輯.bashrc $vi .bashrc add line PATH=/local/notesdata:$PATH #./install ======================================================================== Domino Server Installation ======================================================================== Welcome to the Domino Server Install Program. Type h for help on how to use this program. Press TAB to begin the installation. ------------------------------------------------------------------------ Type h for help Type e to exit installation Press TAB to continue to the next screen. Domino Server Installation ======================================================================== In order to proceed with the installation of the Domino Server, you must read and agree with the terms and conditions of the Lotus Domino Software Agreement. Press TAB to read the Lotus Domino Software Agreement. ------------------------------------------------------------------------ Type e to exit the Install program. Press ESC to return to the previous screen Press TAB to continue to the next screen. 按TAB鍵繼續(xù) BY DOWNLOADING, INSTALLING, COPYING, ACCESSING, OR USING THE PROGRAM YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON OR A COMPANY OR OTHER LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON, COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS, - DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE PROGRAM; AND - PROMPTLY RETURN THE PROGRAM AND PROOF OF ENTITLEMENT TO THE PARTY FROM WHOM YOU ACQUIRED IT TO OBTAIN A REFUND OF THE AMOUNT YOU PAID. IF YOU DOWNLOADED THE PROGRAM, CONTACT THE PARTY FROM WHOM YOU ACQUIRED IT. "IBM" is International Business Machines Corporation or one of its subsidiaries. "License Infor mation" ("LI") is a document that provides information specific to a Program. The Program‘s LI is available at http://www.ibm.com/software/sla/ . The LI may also be found in a file in the Program‘s directory, by the use of a system command, or as a booklet which accompanies the Program. "Program" is the following, including the original and all whole or partial copies: 1) machine-readable instructions and data, 2) components, 3) >>> Press any key to continue <<< ======================================================================== Domino Server Installation ======================================================================== You may proceed with the installation only if you agree to the terms and conditions of the Lotus Domino Software Agreement. ------------------------------------------------------------------------ Type e to exit the Install program. Press ESC to return to the previous screen. Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------ >>> Do you agree to the terms of the license agreement ? [Yes] 按TAB鍵繼續(xù) The existing Program directory must be specified in order for new Server Partitions to be created. However, existing Data directories do not need to be listed. Any existing Data directories that are listed will be installed to, and old templates in those Partitions will be overwritten. If you wish to add more than one Partition to your existing Domino server, select "Yes" when asked if you want to run multiple server partitions on this system. Otherwise you will only be able to upgrade or install one Data directory. Warning: If you do not have an existing Domino Server on your system, please select "No" for the option to add data directories only. ------------------------------------------------------------------------ Type e to exit the Install program. Press ESC to return to the previous screen. Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------ >>>Do you want to install data directories only? [No ] 按TAB鍵繼續(xù) ======================================================================== Domino Server Installation ======================================================================= Select the type of installation you want. ------------------------------------------------------------------------ Type h for help. Type e to exit the Install program. Press ESC to return to the previous screen. Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ----------------------------------------------------------------------- >>> Select Setup type : [Domino Enterprise Server] 按TAB鍵繼續(xù) ======================================================================== The optional installation feature for template files is designed for users who are installing over a previous version of the Domino Server and wish to keep all previous template files. If this is not an in stallation over an existing Domino Server, all template files must be installed. Warning: To ensure proper operation of your Domino Server, we highly recommend installing all template files. Only select [No] if you are an advanced user and you know that this server already has the latest template files. The Domino Server will not run properly without the latest templates. ------------------------------------------------------------------------ Type e to exit the Install program. Press ESC to return to the previous screen. Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------ >>>Do you want to install all template files for this Domino Server? [Yes] 按TAB鍵繼續(xù) ======================================================================== Domino Server Installation ======================================================================== The option to setup an ASP server refers to the configuration of an Application Service Provider server. This type of server can only be configured after an Enterprise Server installation. Selecting "Yes" below will cause the Domino Setup program to configure the server appropriately for ASP functionality. This will add security features not present in a normal configuration, so do not select "Yes" unless an ASP configuration is specifically required for this server. The default value is "No", which is recommended for performing server upgrades and/or non-ASP installations. ------------------------------------------------------------------------ Type e to exit the Install program. Press ESC to return to the previous screen Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------ >>>Do you want to configure this server with ASP functionality? [No ] 這里可不要選YES否則HTTP起不來。 按TAB鍵繼續(xù) ======================================================================== Domino Server Installation ======================================================================== The program directory is the path where the Install program installs the Domino program files. The Install program automatically adds "lotus" to the path. ------------------------------------------------------------------------ Type h for help. Type e to exit the Install program. Press ESC to return to the previous screen. Press ENTER to edit a setting. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------ Current program directory setting : /opt/lotus 程序目錄 按TAB鍵繼續(xù) ======================================================================== Domino Server Installation ======================================================================== You will now be prompted for information on how to install one or more Domino Data Directories. Please note that the UNIX user and group names asked for will own all of the data directories specified. The system will own the program files. ------------------------------------------------------------------------ Type e to exit the Install program. Press ESC to return to the previous screen Press TAB to continue to the next screen. 按TAB鍵繼續(xù) ======================================================================== Domino Server Installation ======================================================================== You can run more than one Domino Server on a single computer at a time based on this installation. This feature is called Domino Partitioned Servers,and requires separate Data Directories for each Domino Server to be run. ------------------------------------------------------------------------ Type h for help. Type e to exit the Install program. Press ESC to return to the previous screen. Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------ >>>Do you want to run more than one server based on this installation? [No ] 按TAB鍵繼續(xù) ============================================================================== Domino Server Installation =============================================================================== The data directory is the path where the Install program installs the Domino data files. ------------------------------------------------------------------------------- Type h for help. Type e to exit the Install program. Press ESC to return to the previous screen. Press ENTER to edit a setting. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------------- Current data directory setting : /local/notesdata 數據目錄 按TAB鍵繼續(xù) =============================================================================== Domino Server Installation =============================================================================== Please enter the Domino UNIX user name. This UNIX user will own the Domino data files, and be used to run the Domino Server. NOTE for the upgrade installer: The Domino UNIX user name/account name you specify here must be the same as the owner of the existing installed data files for proper operation of Domino. ------------------------------------------------------------------------------- Type h for help. Type e to exit the Install program. Press ESC to return to the previous screen. Press ENTER to edit a setting. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------------- Current UNIX user setting : notes 按TAB鍵繼續(xù) =============================================================================== Domino Server Installation =============================================================================== Please enter the Domino UNIX group. This UNIX group will own the Domino data files. The Domino UNIX user must be a member of this group. NOTE for the upgrade installer: Domino UNIX group/account group you specify here must be the same as the owner of the existing installed data files for proper operation of Domino. ------------------------------------------------------------------------------- Type h for help. Type e to exit the Install program. Press ESC to return to the previous screen. Press ENTER to edit a setting. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------------- Current UNIX group setting : notes 按TAB鍵繼續(xù) The default value is "Manual Server Setup" which does not launch server setup or restart the server after installation. The installation will complete and you will then have to launch server setup or restart the server manually. Select "Local Server Setup" to launch server setup after a new server installation or to restart the server after a server upgrade. Select "Remote Server Setup" to launch server setup in listen mode for new server installations. You will then be able to connect to the server with the Remote Server Setup tool. ------------------------------------------------------------------------------- Type e to exit the Install program. Press ESC to return to the previous screen. Press the Spacebar to change the setting until you get the one you want. Press TAB to accept a setting and continue to the next screen. ------------------------------------------------------------------------------- >>>Select server setup method: [Manual Server Setup] 按TAB鍵繼續(xù) =============================================================================== Domino Server Installation =============================================================================== Your configuration of the Install program is complete. By continuing, the Install program will first allow you to review your configuration settings before beginning the installation. ------------------------------------------------------------------------------- Type e to exit the Install program. Press ESC to return to the previous screen Press TAB to continue to the next screen. 按TAB鍵繼續(xù) =============================================================================== Domino Server Installation =============================================================================== Installation settings: Installation type : Domino Enterprise Server Install template files : Yes Server Setup Method : Manual Server Setup Configure to ASP Server: No Program directory : /opt/lotus Data directory : /local/notesdata UNIX user : notes UNIX group : notes Press the Escape key to re-configure the settings or Press the Tab key to perform the installation... 按TAB鍵繼續(xù) =============================================================================== Domino Server Installation =============================================================================== Installation settings: Installation type : Domino Enterprise Server Install template files : Yes Server Setup Method : Manual Server Setup Configure to ASP Server: No Program directory : /opt/lotus Data directory : /local/notesdata UNIX user : notes UNIX group : notes Validating... For the latest patch DB please go to http://www./ldd/checkos This will check the Operating System level and tel l you what is missing. Note, n o patch list if all patches are present. The OS appears to have the correct patches . Installing Domino Server kits ... The Domino Server installed successfully. Please manually configure the Domino Server as follows: 1) Login as the appropriate UNIX user: ‘notes‘; 2) Change to the data directory using the command: ‘cd /local/notesdata‘; 3) Configure the server using the command: ‘/opt/lotus/bin/server‘ To configure the server remotely, the remote server setup tool is required and you can use the command: ‘/opt/lotus/bin/server -listen‘ After issuing this command, additional instructions will appear for remote server setup. For additional details, see the section ‘Using the Domino Server Setup program remotely‘ in the Lotus Domino Administrator Help documentation. 2.配置 經過18次按TAB鍵后,安裝終于結束,好累呀休息一會。接下來就要配置了,Domino Server R6.5與R5.x不同它要再GUI下才能完成配置,而我的服務起沒有顯示器,我只好想了下面的方法。 [root@rhas3 root]# ssh 172.31.0.2 root@172.31.0.2‘s password:****** Last login: Sun May 2 15:39:33 2004 from 172.31.0.101 [root@rhas2 root]# export DISPLAY=172.31.0.101:0 [root@rhas2 root]# xterm 切換用戶身份“-”表示連notes的環(huán)境變量都變過去。 #su –- notes 啟動配置進程。如果是第一次配置Dmino6.5則顯示以下配置界面,這一點和WIN安裝下是一樣的。 $/opt/lotus/bin/server


 大家也可以在安裝好了后去定制服務,LDAP如果你不用的話最好不要勾上(占資源) [Notes] Directory=/local/notesdata KitType=2 UserName= CompanyName= NotesProgram=/opt/lotus/notes/65000/linux CleanupScriptPath=/opt/lotus/bin/nsd -batch FaultRecovery_Build=Release 6.5 Timezone=-8 DST=0 DSTLAW=4,1,1,10,-1,1 SHARED_MAIL=0 DisableLDAPOnAdmin=1 Passthru_LogLevel=0 Console_LogLevel=2 DefaultMailTemplate=mail6.ntf Preferences=32 ServerTasks=Update,Replica,Router,AMgr,AdminP,CalConn,Sched,HTTP,IMAP,POP3 ServerTasksAt1=Catalog,Design ServerTasksAt2=UpdAll ServerTasksAt3=Object Info -Full ServerTasksAt5=Statlog TCPIP=TCP, 0, 15, 0 "/local/notesdata/notes.ini" [已轉換] 64L, 1419C 1,1 頂端

 對于Domino 5.08 5.09在安裝到此步驟要求輸入firt name middle last name 少一個都不行在Domino R6.x中只要有l(wèi)ast name 就行了

 主意若要在insternet順利手法郵將最好用FQDN名稱 boot-domino
 $ /opt/lotus/bin/server install 漢化過程略,其實就是吧ntf模板替換成中文的。

|